Pierre Alliez
8cfd4eeeba
aabb tree:
...
- shortened unitary tests
- one warning removed
2009-07-03 07:18:35 +00:00
Pierre Alliez
5dbc82d599
aabb doc: move figs into separate folder.
2009-07-03 06:41:35 +00:00
Pierre Alliez
f22533c055
AABB tree: removed unused files.
2009-07-01 21:07:48 +00:00
Pierre Alliez
1d6e776431
AABB tree: some more cleanup.
2009-07-01 20:49:03 +00:00
Pierre Alliez
597f9459d5
aabb tree: some cleanup
2009-06-25 20:08:51 +00:00
Camille Wormser
d89e64ab28
authors list
2009-05-14 13:03:01 +00:00
Camille Wormser
cddf634d13
forgot to add this file
2009-05-14 08:49:21 +00:00
Camille Wormser
0fca80fcba
links to the models in AABBPrimitive
2009-05-14 08:27:10 +00:00
Camille Wormser
f47e9f1f67
one more primitive,
...
more consistent names
2009-05-14 08:20:50 +00:00
Camille Wormser
cb74ff6524
removed redondant typedefs
2009-05-14 07:59:09 +00:00
Camille Wormser
f6de9a1ec4
Caps in titles,
...
AXIS_X -> X_AXIS
Split_... returns void
2009-05-14 07:51:11 +00:00
Andreas Fabri
51de43bfca
capitalize words in headings
2009-05-14 07:39:17 +00:00
Camille Wormser
0bdb3f5504
a model for the concept AABBPrimitive.
...
This is just an example, we can think later about what the most useful
primitives for typical users could be.
2009-05-14 01:21:28 +00:00
Camille Wormser
765b55a41d
detailed explanation of the hint story
2009-05-14 00:44:29 +00:00
Camille Wormser
aa101e0caf
Laurent's remark: passing the traits as parameter of constructors
2009-05-13 22:47:29 +00:00
Camille Wormser
075911ec75
Laurent's remark: add the bounding box stuffs
2009-05-13 22:35:39 +00:00
Camille Wormser
380e2c76ed
uniformizes the consts. I am not sure what the policy is,
...
but I put them.
2009-05-13 21:45:20 +00:00
Camille Wormser
2ca7d70e2d
AABBGeomTraits can now accept Kernels as models,
...
IF we add Compute_closest_point.
2009-05-13 21:27:43 +00:00
Pierre Alliez
75a82ec32d
AABB tree:
...
- rebuild now returns void.
2009-05-13 07:32:41 +00:00
Laurent Rineau
df0e2ec0bc
size_type must be lowercase.
2009-05-12 14:29:36 +00:00
Camille Wormser
c733708add
while finishing to conform the code to the documentation,
...
I realized it made sense to let the traits do the sorting.
2009-05-11 23:17:01 +00:00
Camille Wormser
7184e5d681
les deux remarques d'Andreas
2009-05-11 20:16:00 +00:00
Camille Wormser
9087e9b14b
updated documentation with functors in the AABBTraits concept.
...
Should we keep the const& in the description of the functors ?
I kept them in AABBTraits, but we do not have them in AABBGeomTraits...
What should be the policy?
Note that the functors do not have the "_3" in AABBTraits,
but have it in AABBGeomTraits. This is on purpose.
2009-05-11 11:54:50 +00:00
Pierre Alliez
d24dec3727
AABB tree: fix compilation issue
2009-05-11 08:23:03 +00:00
Pierre Alliez
74dfd60a12
AABB tree:
...
- cleanup examples
- shorten a bit ref manual of tree.
2009-05-11 08:20:32 +00:00
Pierre Alliez
55dc498d00
AABB tree: one global pass on the narrative.
2009-05-09 21:52:02 +00:00
Camille Wormser
c063b0bd32
details for the requirements for the Id.
2009-05-08 15:00:13 +00:00
Camille Wormser
1c3c01951f
oops, forgot to save this file. Old changes...
2009-05-08 14:18:21 +00:00
Camille Wormser
f0d1f31f11
Since Pierre wanted this feature (providing points without primitive to the KD_tree),
...
and it does not cost much in terms of implementation, and it is useful for cases like the
Polyhedron, I put it back.
The code already supports that (as can be seen from the fact that the test suite runs).
Still, I need the Id to have a default constructor. How do you document that?
2009-05-08 14:17:38 +00:00
Camille Wormser
01d0293bc5
Code is now almost up to the specification: Primitive::Id everywhere,
...
the KD-tree uses decorated points to return the Id too.
There are just a few boost::optional to add in the traits, where we still
use the old bool intersection(..., Result&) approach, and some modernization
to do in the distance computation things.
Everything compiles.
I have removed the funtion closest_primitive from the code and documentation,
since it would not be consistent with the rest of the interface, and would not
be faster than closest_point_and_primitive.
I think we are almost done, not only for the documentation, but for the code too.
2009-05-08 12:59:22 +00:00
Camille Wormser
811f08256b
added missing types to the AABBTraits concept.
...
(I have added the missing methods for the distance queries too)
2009-05-08 11:28:10 +00:00
Camille Wormser
1f4c9a150e
cleaning of the traits. Not finished yet.
...
I've removed all references to the Sphere (it was used only internally anyway),
because we will not use it anymore: we replace its use by direct calls to is_closer.
2009-05-08 11:20:14 +00:00
Camille Wormser
fa539afc07
in the description of do_intersect and intersection, in the GeomTraits,
...
primitive --> geometric object
(some are queries, some are primitives)
2009-05-08 10:37:07 +00:00
Camille Wormser
4f329a0761
the GeomTraits does not provide the query types at all.
2009-05-08 10:34:03 +00:00
Camille Wormser
61aee20d79
typos + clearer explanation of the role of the ids
...
(used to refer to the primitives in the outputs, but need not be unique)
2009-05-08 10:16:54 +00:00
Camille Wormser
38da93cbca
text improvement and typos for distances
2009-05-08 09:55:28 +00:00
Camille Wormser
a03de6bb32
we do not need intersection for any_intersected_primitive
2009-05-08 09:46:34 +00:00
Camille Wormser
794157450f
allocation detail in the constructor
2009-05-08 09:45:46 +00:00
Camille Wormser
8358202dde
The requirement on the constructor was a bit too strong: we do not need
...
the fact that the iterator range is a container of objects of type Datum.
Quite the contrary: it can be halfedges_begin/end. Hence, we should keep
only the requirement that Primitive is constructible from it (that's
really what we use in practice).
2009-05-08 09:36:47 +00:00
Pierre Alliez
c26e8531e1
AABB tree: intersections now return CGAL::Objects.
2009-05-07 21:03:21 +00:00
Camille Wormser
bf4043be63
replaced Point_and_primitive by Point_and_primitive_id and Object_and_primitive_id
2009-05-07 13:18:02 +00:00
Camille Wormser
6316ee39fe
I revert the change, because this is, in my view, really important for having a sound design.
...
Otherwise, what do you do if the sphere has no intersection with the data?
2009-05-07 11:51:00 +00:00
Pierre Alliez
8e754e6e7c
AABB tree: (ref manual): all hints back to point types in distance queries - I believe that's little relevant to ask a primitive as hint.
2009-05-07 11:33:26 +00:00
Camille Wormser
4b720e0c06
documentation compilation issues
2009-05-07 11:30:29 +00:00
Pierre Alliez
db287f0e56
AABB tree: more on internal KD-tree used to accelerate the distance queries.
2009-05-07 10:51:01 +00:00
Pierre Alliez
fd017c5595
AABB tree: first version of boost::optional for any*
...
obscure compilation issue for now.
more on doc too
2009-05-07 06:44:59 +00:00
Pierre Alliez
e4cb94b35e
AABB tree: update doc
...
- change shark image to anchor model
- remove references to projection
2009-05-05 20:25:20 +00:00
Laurent Rineau
0aea10fb4d
- Fix a compilation error (a missing ':'),
...
- s/size_t/size_type/
2009-05-05 12:07:15 +00:00
Camille Wormser
af8b5b8c1a
Following Larent's remarks
2009-05-05 11:58:05 +00:00
Camille Wormser
202b7c95d5
Laurent's remarks
2009-05-05 11:27:29 +00:00