Philipp Möller
17797b7271
Merge next into this branch. There have been conflicts in the
...
AABB_tree documentation, Intersections_3 and Arrangement_on_surface_2.
The merge also introduced a regression for a bug fixed in R68387 which
fixed a bug in Triangle_3 Segment_3 intersections. The relevant
testcase is in triangle_other_intersection_test.cpp.
2012-04-24 15:06:19 +00:00
Laurent Rineau
6c962ecf31
Remove warnings: do use variables
2012-01-23 12:11:13 +00:00
Philipp Möller
407c3a1fec
The example now uses the new API
2011-11-18 14:19:38 +00:00
Philipp Möller
60b309246a
Reworked the examples to fit the new API
2011-11-16 17:08:00 +00:00
Sébastien Loriot
dad46fe794
remove not need CMakeLists.txt's
2011-09-27 08:51:49 +00:00
Sébastien Loriot
cec38470a7
remove exe property
2011-09-06 09:52:23 +00:00
Andreas Fabri
f38a57003a
Add an example that takes arrays of doubles and indices to store points and triangles
2011-08-17 11:00:16 +00:00
Sébastien Loriot
578d41a962
deprecate AABB_polyhedron_*_primitive
...
add triangle and segment property_map from polyhedron simplices
update examples to use these property maps with modified primitive classes.
2011-07-25 06:22:05 +00:00
Sébastien Loriot
cb2aa6f75b
DOC BUGFIX: remove last occurences of the fact that
...
the traits must be included before the kernel.
Update testsuite accordingly.
2011-06-23 07:56:17 +00:00
Laurent Rineau
3c02e07b23
Try to fix my last revision about cmake_policy, with CMake-2.6.x
...
CMake gives an error if one tries to use cmake_policy(VERSION x.y.z) if
x.y.z is greater than the current CMake version.
2011-04-28 17:45:22 +00:00
Laurent Rineau
c97205f085
Global handling of CMake policies (second part)
...
We declare
cmake_minimum_required(VERSION 2.6.2)
but we also use
cmake_policy(VERSION 2.8.4)
to declare that our CMake scripts are OK with all the defaults of CMake policies
as of CMake-2.8.4. That shuts down the warnings of CMake-2.8.4.
That way, we no longer need any declaration of specific policies.
Those two lines must be present and maintained in all our CMakeLists.txt
files (the one for the libraries, and also the one for examples and demos,
and maybe tests).
2011-04-28 10:55:56 +00:00
Laurent Rineau
0631943153
Uniform capitalization in our CMake script: use lowercase for commands
2011-04-28 10:36:18 +00:00
Laurent Rineau
ca5c92e034
Global maintenance of CMakeLists.txt: CMake minimal version is -2.6.2
...
The documentation of CGAL says that the minimal version of CMake must be
CMake-2.6.2.
- change cmake_minimum_required to VERSION 2.6.2
- no longer any need for the policy CMP0003 (was for 2.4.x)
- no longer any need for CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS (was for 2.4)
2011-04-27 17:58:27 +00:00
Sébastien Loriot
12e8540bbe
merge from candidate branch.
2011-01-10 10:46:16 +00:00
Laurent Rineau
77a2bead80
Add missing svn properties (keywords and eol-style).
2010-09-20 12:12:46 +00:00
Pierre Alliez
cea16e2180
AABB tree: add comments about how to order the includes so that the compiler parses the intersection functions.
2009-07-09 13:36:33 +00:00
Pierre Alliez
4c4a7f1f7b
AABB tree: my last pass on the doc (few quibbles, and re-indent examples)
2009-07-09 08:57:55 +00:00
Pierre Alliez
bdd40ee5dc
aabb tree: rename three custom-primitive examples and update example section of user manual.
2009-07-05 07:17:42 +00:00
Camille Wormser
9b052fbe27
Another more involved example, where the triangles are stored as a flat vector of indices,
...
referring to a vector of points.
2009-07-04 13:38:34 +00:00
Camille Wormser
e591eb6bc5
An more involved example where the triangles are stored in a flat vector of points
...
(quite common in graphics)
2009-07-04 13:18:33 +00:00
Camille Wormser
6f741e7ed1
a new example, where a primitive is defined from scratch.
2009-07-03 16:25:16 +00:00
Pierre Alliez
3edf2601c3
aabb tree: enrich one example with intersection of facets with plane query (intersections are generically segments)
2009-06-28 20:57:55 +00:00
Pierre Alliez
4c19729e16
aabb tree: a bit of code cleanup
2009-06-27 06:44:31 +00:00
Pierre Alliez
0a0ebfa501
aabb tree: split facet examples into distance and intersection
2009-06-26 11:17:08 +00:00
Pierre Alliez
a87b5cef3d
aabb tree: one more example
2009-06-25 19:52:35 +00:00
Pierre Alliez
e2f3435d32
aabb tree: one more example
2009-06-25 19:21:40 +00:00
Pierre Alliez
88c549f6b1
aabb tree: more on tests
2009-06-23 20:26:45 +00:00
Camille Wormser
ea1d578227
forgot to save this one before
2009-05-14 08:23:12 +00:00
Pierre Alliez
74dfd60a12
AABB tree:
...
- cleanup examples
- shorten a bit ref manual of tree.
2009-05-11 08:20:32 +00:00
Camille Wormser
614f220eb1
One last warning was missing: it appears only in the examples and not in the test suite.
...
It means we should add the Plane query case to the test suite.
2009-05-10 16:15:24 +00:00
Pierre Alliez
0d2880a413
AABB tree:
...
- more on examples
- description
- removed leftover traces of projection after grep (two found)
2009-05-09 22:24:39 +00:00
Pierre Alliez
988c746c29
AABB tree:
...
- first pass on examples to simplify a bit
- TODO: better show variety of queries offered instead of just #intersections
2009-05-09 22:04:33 +00:00
Pierre Alliez
154ff8cfa0
AABB tree: more on distance queries
...
it remains to fix the Distance_traits
2009-05-07 21:22:24 +00:00
Pierre Alliez
db918ecafe
AABB tree: undo folder restructuring
2009-05-05 11:51:48 +00:00
Pierre Alliez
a6cf326154
AABB tree:
...
- examples primitive files in a separate folder
- more on doc from second review.
2009-05-04 20:08:00 +00:00
Camille Wormser
6f050ab6ca
tentative API for dealing correctly with the degenerate cases:
...
it changes NOTHING to the existing code, except that
number_of_intersections is renamed into number_of_intersected_primitives.
2009-05-02 18:02:11 +00:00
Pierre Alliez
7c56be7711
AABB tree: more on tests
2009-04-29 13:43:38 +00:00
Stéphane Tayeb
836f48cd9c
Fix compilation errors (linux x64).
2009-04-27 12:42:04 +00:00
Laurent Saboret
9c77d89703
Fixed compilation errors (Linux/g++)
2009-04-27 10:40:34 +00:00
Pierre Alliez
2421c82abe
AABB tree: added (commented) example of projection against a set of segments.
...
does not compile for now
2009-04-26 20:59:43 +00:00
Pierre Alliez
abaeb0ef5c
AABB tree: rename Polyhedron_tree to Tree in examples and test
2009-04-26 14:15:27 +00:00
Pierre Alliez
24e3bc0c22
AABB tree: added two primitive types for triangle and segment to make two examples simpler.
...
rename Object type to Datum type within primitive as it was conflicting with CGAL Object type
2009-04-26 13:46:48 +00:00
Pierre Alliez
cde6fb8ad0
AABB tree: added fourth examples with (segment) edges of a polyhedron
2009-04-26 09:27:42 +00:00
Pierre Alliez
3316b50890
AABB tree: more comments on examples - added one projection
2009-04-24 22:09:40 +00:00
Pierre Alliez
aea8cce7ad
AABB tree: one more example with segment
2009-04-24 21:47:52 +00:00
Pierre Alliez
e5696fa009
AABB tree: reuse existing file AABB_polyhedron_triangle_primitive.h for the example
2009-04-24 14:38:08 +00:00
Pierre Alliez
ce4a6039f5
AABB tree: added two examples (one compiles fine)
2009-04-24 14:11:17 +00:00
Pierre Alliez
aeb4889551
AABB tree: move files up
2009-04-24 13:35:41 +00:00
Pierre Alliez
19503da319
AABB tree: add CMake files for examples and tests
2009-04-24 13:20:18 +00:00
Pierre Alliez
3e25916b51
AABB tree: added two examples and alter doc where the data type is now the Object type.
2009-04-24 11:29:00 +00:00