Jackson Campolattaro
1e06093411
Add width accessor
2020-08-04 16:20:45 -04:00
Jackson Campolattaro
154a436537
Typedef Cell as Node
2020-08-04 16:17:16 -04:00
Jackson Campolattaro
3cb182548e
Replace call to Index with dereferencing iterator
2020-08-04 16:16:45 -04:00
Jackson Campolattaro
c3ca8f0bbf
Add index map to both octrees
2020-08-04 15:13:27 -04:00
Jackson Campolattaro
bc5832d861
Octrees use vectors of sizes rather than Input_range as Point_range
2020-08-04 15:09:57 -04:00
Jackson Campolattaro
83f416e50c
Use for each loop over point indices contained by a node
2020-08-04 15:01:13 -04:00
Jackson Campolattaro
739bf9874e
Replace code block with method for finding the leaf containing a point
2020-08-04 14:56:29 -04:00
Jackson Campolattaro
73ddea7fc1
Use octree to find barycenter positions
2020-08-04 14:52:08 -04:00
Jackson Campolattaro
d96a4fd9a2
Typedef Cell as Node
2020-08-04 14:47:55 -04:00
Jackson Campolattaro
e54f753312
Add Indexed_octree constructor
2020-08-04 14:47:11 -04:00
Jackson Campolattaro
cdb25b8712
Add createTree function
2020-08-04 14:41:03 -04:00
Jackson Campolattaro
392fb5f30c
Add Direct_octree constructor
2020-08-04 14:39:00 -04:00
Jackson Campolattaro
19b0c80b4c
Add offset accessor
2020-08-04 14:20:46 -04:00
Jackson Campolattaro
ef943b6d3b
Add boundingBox method
2020-08-04 14:15:34 -04:00
Jackson Campolattaro
5afb9cf6aa
Add size method
2020-08-04 14:13:34 -04:00
Jackson Campolattaro
e2d1fdb4b6
Make both octrees extend the new octree
2020-08-04 14:07:23 -04:00
Jackson Campolattaro
6b4785a87d
Remove Octree declaration and typedef from Shape_base
2020-08-04 14:05:31 -04:00
Jackson Campolattaro
5f641c4594
Add new octree class declarations
2020-08-04 14:02:06 -04:00
Jackson Campolattaro
b7a4f50ac3
Remove all RANSAC octree code
2020-08-04 14:01:45 -04:00
Jackson Campolattaro
1f53a46e0f
Mark code using Cell in ways incompatible with Node
2020-08-04 12:36:12 -04:00
Jackson Campolattaro
9405fd18be
Make Cell center private, add barycenter accessor
2020-08-03 13:53:22 -04:00
Jackson Campolattaro
baf7327021
Make Cell level private, add depth accessor
2020-08-03 13:45:29 -04:00
Jackson Campolattaro
5561dcb24f
Rename isLeaf to is_leaf
2020-08-03 13:40:59 -04:00
Jackson Campolattaro
cef9fad58c
Move Cell class definition outside octrees
2020-08-03 13:36:40 -04:00
Jackson Campolattaro
0270ed6167
Remove beyond from Indexed_octree
2020-08-03 11:38:25 -04:00
Jackson Campolattaro
d9649db9ff
Remove first from Indexed_octree
2020-08-03 11:36:48 -04:00
Jackson Campolattaro
0c1fbe07af
Remove beyond from Direct_octree
2020-08-03 11:32:58 -04:00
Jackson Campolattaro
55dd09407c
Remove first from Direct_octree
2020-08-03 11:31:16 -04:00
Jackson Campolattaro
df38189e63
Remove setData from Indexed_octree
2020-08-03 11:18:23 -04:00
Jackson Campolattaro
86354fa637
Remove setData from DirectOctree
2020-08-03 11:16:07 -04:00
Jackson Campolattaro
9a1581e513
Remove namespace Node
2020-08-03 09:51:58 -04:00
Jackson Campolattaro
74d6aa3014
Incorporate IndexedPointAccessor into Indexed_octree
2020-07-31 16:45:19 -04:00
Jackson Campolattaro
7a733cf44d
Incorporate DirectPointAccessor into Direct_octree
2020-07-31 16:30:23 -04:00
Jackson Campolattaro
c5d52350c2
Make externalized octree functions take a const pointer
2020-07-30 22:06:30 -04:00
Jackson Campolattaro
13fa41a3d4
Make accessor index() methods const
2020-07-30 22:06:05 -04:00
Jackson Campolattaro
2dd0b0d2e8
Split templated octree into pair of separately implemented versions
2020-07-30 21:32:26 -04:00
Jackson Campolattaro
47d141cb65
Begin implementing DirectOctree constructor
2020-07-30 13:46:55 -04:00
Jackson Campolattaro
066dc037bd
Begin defining a DirectOctree class containing a CGAL::Octree
2020-07-30 11:38:14 -04:00
Jackson Campolattaro
ed06a8bcb6
Remove extern int scoreTime
2020-07-29 18:41:44 -04:00
Jackson Campolattaro
cbb8f6f338
Remove Efficient_RANSAC forward declaration
2020-07-29 18:24:37 -04:00
Jackson Campolattaro
bc40cfa763
Move maxLevel argument from constructor to createTree
2020-07-29 18:20:04 -04:00
Jackson Campolattaro
707ba2536b
Move bucketSize argument from constructor to createTree
2020-07-29 17:15:48 -04:00
Jackson Campolattaro
700f345b0e
Remove normal map from octree
2020-07-29 16:51:40 -04:00
Jackson Campolattaro
a81cef079a
Make member variables private, with only const access
2020-07-29 14:59:29 -04:00
Jackson Campolattaro
587766f3e3
Add const width accessor
2020-07-29 14:57:45 -04:00
Jackson Campolattaro
32541f0074
Use const accessor everywhere root is used
2020-07-29 14:56:30 -04:00
Jackson Campolattaro
eec45bc2b0
Add const root accessor
2020-07-29 14:51:17 -04:00
Jackson Campolattaro
db16d02975
Remove drawSamplesFromCellContainingPoint from octree
2020-07-29 14:42:08 -04:00
Jackson Campolattaro
21f28d5134
Add drawSamplesFromCellContainingPoint outside octree
2020-07-29 14:40:31 -04:00
Jackson Campolattaro
161df54f00
Remove transl()
2020-07-29 13:12:31 -04:00
Jackson Campolattaro
f515c4ee49
Eliminate use of transl()
2020-07-29 13:10:35 -04:00
Jackson Campolattaro
9a9e5d2e10
Replace translation function with a sum
2020-07-29 13:06:52 -04:00
Jackson Campolattaro
8ee9c468a9
Remove constr_vec()
2020-07-29 13:02:54 -04:00
Jackson Campolattaro
02ec67c2af
Remove constr_pt()
2020-07-29 12:37:37 -04:00
Jackson Campolattaro
fbc89d08e9
Eliminate use of constr_pt()
2020-07-29 12:36:28 -04:00
Jackson Campolattaro
7fa85e08ca
Remove get_coord
2020-07-29 12:13:11 -04:00
Jackson Campolattaro
00c06e3fe5
Remove get_x, get_y, get_z
2020-07-29 12:12:10 -04:00
Jackson Campolattaro
a5fe24c966
Eliminate use of get_coord
2020-07-29 12:10:10 -04:00
Jackson Campolattaro
824743df3f
Eliminate use of get_x, get_y, get_z
2020-07-29 12:01:05 -04:00
Jackson Campolattaro
67a82563b3
Make split() private
2020-07-29 11:22:36 -04:00
Jackson Campolattaro
7ea5b1bc23
Make buildBoundingCube private
2020-07-29 11:21:03 -04:00
Jackson Campolattaro
6793b50d23
Remove ability to change bucket size after construction
2020-07-29 11:16:38 -04:00
Jackson Campolattaro
76b9ac3d1f
Remove Shape typedef
2020-07-29 10:42:08 -04:00
Jackson Campolattaro
e0e8aef745
Remove Efficient_RANSAC as friend class of octree
2020-07-29 10:11:47 -04:00
Jackson Campolattaro
e410c514f3
Remove Efficient_RANSAC::fullScore()
2020-07-23 11:53:27 -04:00
Jackson Campolattaro
1add423e04
Remove Octree::fullScore(); it was never used!
2020-07-23 11:50:49 -04:00
Jackson Campolattaro
d2d45d6ea5
Remove Octree::score()
2020-07-23 11:48:55 -04:00
Jackson Campolattaro
308255be4f
Eliminate usage of Octree::score()
2020-07-23 11:46:48 -04:00
Jackson Campolattaro
1ef6ee1cd7
score and fullScore now take octree arg by pointer
2020-07-23 11:42:29 -04:00
Jackson Campolattaro
a8abee4456
Define score method outside octree
2020-07-23 11:30:33 -04:00
Jackson Campolattaro
369cb69e08
Make Cell struct public
2020-07-23 11:13:27 -04:00
Jackson Campolattaro
0baee2d8fb
Define fullScore method outside octree
2020-07-23 11:09:55 -04:00
Jackson Campolattaro
0e305fc8a9
Reinstate original RANSAC tree code
2020-07-23 10:42:08 -04:00
Jackson Campolattaro
41cc40ab13
Define extension of package Octree
2020-07-22 12:45:55 -04:00
Jackson Campolattaro
013cafd43b
Remove RANSAC octree entirely
2020-07-22 12:35:17 -04:00
Jackson Campolattaro
12e82ce60c
Add Internal_octree typedef
2020-07-22 12:12:14 -04:00
Jackson Campolattaro
a0c3dbe39f
Remove all RANSAC octree implementation details
2020-07-22 11:12:02 -04:00
Mael Rouxel-Labbé
d8789f07c3
Remove tautological preconditions that spawn warnings on some platforms
2020-04-15 09:06:36 +02:00
Mael Rouxel-Labbé
9a8b48c8ea
Remove trailing whitespace
2020-04-10 17:13:26 +02:00
Maxime Gimeno
553d3c2f2c
Fix new warnings about precondition size_t >=0
2020-04-10 13:03:50 +02:00
Sébastien Loriot
fdb17cb3f1
extra run of the script to remove tabs and trailing whitespaces
2020-03-26 19:26:10 +01:00
Sébastien Loriot
38789af55d
Update branch from master after trailing whitespaces and tabs removal
2020-03-26 19:25:47 +01:00
Sébastien Loriot
8bb22d5b2c
extra run of the script to remove tabs and trailing whitespaces
...
right after the merge of the 5.0 release branch
+ manual fix of the files (indentation was changed in the meantime):
* Spatial_sorting/include/CGAL/Multiscale_sort.h
* Spatial_sorting/test/Spatial_sorting/test_multiscale.cpp
2020-03-26 14:26:59 +01:00
Sébastien Loriot
8b153fb495
Merge branch 'cgal/releases/CGAL-5.0-branch'
...
whitespace+tab removal, merged with option -Xignore-space-change
2020-03-26 14:22:32 +01:00
Sébastien Loriot
0779373835
extra run of the script to remove tabs and trailing whitespaces
...
right after the merge of 4.14 release branch
+ manual fix on one line in:
* Arrangement_on_surface_2/include/CGAL/IO/Arr_text_formatter.h
* .travis/generate_travis.sh
2020-03-26 14:16:06 +01:00
Sébastien Loriot
ef6949419f
Merge remote-tracking branch 'cgal/releases/CGAL-5.0-branch'
2020-03-17 18:16:39 +01:00
Dmitry Anisimov
4134b89fd5
doc fix from the PR #4564
2020-03-11 14:44:28 +01:00
Dmitry Anisimov
4ace3cdf96
fixed PRs: #3864 ; #4563 ; #4570 ; added test with the degenerated mesh; fixed docs; cleanup
2020-03-11 14:44:27 +01:00
Mael Rouxel-Labbé
8d8dbb1c0b
Fix warnings about checking that an unsigned int is positive
2020-02-10 18:17:40 +01:00
Laurent Rineau
65cde3ce79
Merge branch 'master' into Faster_dd_spatial_searching-cjamin
2019-12-03 19:18:15 +01:00
Simon Giraudot
c43c6ac2fa
Merge remote-tracking branch 'clement/Faster_dd_spatial_searching-cjamin' into Faster_dd_spatial_searching-cjamin
2019-10-22 13:21:53 +02:00
Sébastien Loriot
254d60f642
First pass on removing license notice in header for GPL files
2019-10-19 15:23:19 +02:00
Sébastien Loriot
7356421d80
introduce Commercial license SPDX tag
2019-10-19 12:15:19 +02:00
Sébastien Loriot
9bd9c68b83
update LGPL[23]+ and GPL[23]+ SPDX tags
...
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Lingjie Zhu
5ce268f7d5
minor fix: add const specifier
2019-07-30 10:10:03 +08:00
Simon Giraudot
91dc961b18
Use cache optimisation for KD Tree on indices for classification + shape detection
2019-07-04 13:18:52 +02:00
Laurent Rineau
be0d07d150
Merge pull request #3979 from afabri/CGAL-null_ptr-GF
...
Replace NULL and Nullptr_t with nullptr and nullptr_t
2019-06-17 14:10:35 +02:00
Dmitry Anisimov
feb0bf88d8
cgal max fix
2019-06-12 10:57:20 +02:00
Andreas Fabri
f7b7b9957f
Merge remote-tracking branch 'cgal/master' into CGAL-null_ptr-GF
2019-06-05 14:47:11 +02:00
Dmitry Anisimov
bdc46b293d
class name clash fix
2019-05-26 11:44:33 +02:00
Dmitry Anisimov
57cbe098fc
added deprecated code for back compatability
2019-05-24 18:57:15 +02:00
Dmitry Anisimov
b2d64c796c
time to unsigned int conversion warnings fix
2019-05-20 10:05:48 +02:00
Dmitry Anisimov
c82199c012
improved demo + warnings fix
2019-05-13 19:08:07 +02:00
Dmitry Anisimov
ec147f2cc8
demo fixes
2019-05-10 11:23:49 +02:00
Dmitry Anisimov
0ebebab1b8
shape detection dependent packages are fixed
2019-04-25 13:27:41 +02:00
Dmitry Anisimov
019a6a7954
cpp11 and boost foreach fixes
2019-04-24 11:41:05 +02:00
Dmitry Anisimov
44380db707
shape detection with region growing, benchmarks, examples, and tests - version 1.0
2019-04-18 17:34:57 +02:00