Commit Graph

276 Commits

Author SHA1 Message Date
Pedro Machado Manhaes de Castro 606f62f2e4 Optimizing move() 2008-03-10 11:06:44 +00:00
Pedro Machado Manhaes de Castro 5924c97751 well_oriented() feets better in Triangulation_2.h 2008-03-06 12:05:36 +00:00
Fernando Cacciola b704509dcf Examples/Demos/Test CMake scripts updated 2008-03-05 21:14:02 +00:00
Pedro Machado Manhaes de Castro 927812ecad (not yet) 2008-03-05 15:38:33 +00:00
Pedro Machado Manhaes de Castro 1f8b9028ab trfixing 2008-03-05 15:20:46 +00:00
Pedro Machado Manhaes de Castro 879235ee1c Optimization on move() (that works only for Triangulation_2) 2008-02-28 16:00:38 +00:00
Pedro Machado Manhaes de Castro 8e40af475e Flexibility 2008-02-26 15:38:19 +00:00
Pedro Machado Manhaes de Castro a02fa7d3b5 flexibility 2008-02-26 15:37:55 +00:00
Pedro Machado Manhaes de Castro a79f32b497 fixing move(It, It) 2008-02-22 14:05:30 +00:00
Pedro Machado Manhaes de Castro 418185aa44 fixing move(It, It) 2008-02-22 14:05:01 +00:00
Pedro Machado Manhaes de Castro a2d2170c3d Option of hiding the move() tests (because of triangulation_hierarchy) 2008-02-21 09:41:53 +00:00
Pedro Machado Manhaes de Castro 6080832b6e move() is not yet implemented for hierarchy, so we have to hide those tests from it. 2008-02-21 09:41:08 +00:00
Pedro Machado Manhaes de Castro 253bbdc2f6 Adding a testsuite for the method move(). 2008-02-20 13:13:48 +00:00
Pedro Machado Manhaes de Castro 38e5b4ad0f Adding a testsuite for the move() method. 2008-02-20 13:12:32 +00:00
Pedro Machado Manhaes de Castro 8c07487188 Adding a method that moves a vertex from its coordinate to another one given by an arg. point. Also including a method that moves a set of points by giving a list of pairs (Vertex, Point). 2008-02-20 13:10:05 +00:00
Pedro Machado Manhaes de Castro 2cc11539f5 Adding a method that moves a vertex from its place to another one located at the arg. point coordinate. Also including a version that moves a set of points, giving a list of (vertex_handle, point). 2008-02-20 13:05:56 +00:00
Pedro Machado Manhaes de Castro 55c65d6efc Adding a method that changes the dimension of the data structure from 2D to 1D. 2008-02-20 13:03:58 +00:00
Fernando Cacciola a659cd852a Added project() and conditional test for CGAL_DIR 2008-02-14 15:42:36 +00:00
Fernando Cacciola 14043c43a0 Replaced CGALROOT by CGAL_DIR (the latters is used by CMake automatically) 2008-02-08 17:47:21 +00:00
Trung Nguyen ef6370cf40 Retrivied from version 42050 and fixed the bug 2008-02-08 10:20:17 +00:00
Trung Nguyen fcbf9fb2ff Bug fix: overload the finite_vertex function 2008-02-08 09:23:00 +00:00
Fernando Cacciola afddfc4fca CMake scripts for demos/examples/test added 2008-02-06 19:06:24 +00:00
Sylvain Pion 6a9740d043 Remove obsolete workarounds for __sgi. 2008-01-20 23:09:58 +00:00
Sylvain Pion d437e38edf Remove comment about Borland, it's nice to have the Rebind here anyway. 2008-01-20 22:47:22 +00:00
Sylvain Pion 7f21002a5a Remove comment about Borland. It's nice to have the Rebind here anyway. 2008-01-20 22:46:28 +00:00
Sylvain Pion eb945bae48 SUNPRO workaround not needed anymore 2008-01-20 20:47:32 +00:00
Sylvain Pion 838dab23ab Add missing #include <cassert> . 2008-01-20 19:13:05 +00:00
Sylvain Pion ccdaaa84bc Add missing headers. 2008-01-20 19:03:14 +00:00
Sylvain Pion 9d1a94c894 Remove unused/bitrotten sweep algorithm
(was only used by the obsolete leda-window demo which I just removed).
2008-01-12 16:07:55 +00:00
Sylvain Pion 687b1a97f1 Add preconditions in set_neighbor() that a face is not the neighbor of itself. 2008-01-10 22:39:55 +00:00
Sylvain Pion b10d06a9f3 Get rid of obsolete Window_stream (LEDA window) code. 2008-01-10 17:47:25 +00:00
Sylvain Pion 484dd113ce Fix bug in split_vertex() reported by Richard Maierhofer. 2008-01-08 20:47:51 +00:00
Sylvain Pion c2651f99e7 Get rid of CGAL_REP_CLASS_DEFINED 2008-01-03 18:49:18 +00:00
Sylvain Pion 27813862b8 Remove obsolete makefile "VC". 2008-01-03 18:42:11 +00:00
Sylvain Pion fa74321235 Merge all 3 test directories into a single one, for ease of use and homogeneity
with the rest of the world.
2008-01-03 18:40:19 +00:00
Sylvain Pion 88ed563f44 Remove some workarounds for SunPRO + RW's STL:
CGAL_CFG_MISSING_TEMPLATE_VECTOR_CONSTRUCTORS_BUG
CGAL_CFG_RWSTD_NO_MEMBER_TEMPLATES  (partially so far)
CGAL_make_vector
CGAL_make_list
2008-01-03 14:50:13 +00:00
Sylvain Pion ea0b9ea02b Disable short name macros for T2 and T3 to see if they are
still really needed.
2007-12-30 23:54:19 +00:00
Sylvain Pion a6eb8bc07a Forgotten changes in the .C -> .h renaming patches. 2007-12-30 15:39:36 +00:00
Sylvain Pion 7ba0f34891 Rename *.C to *.h . 2007-12-28 20:28:57 +00:00
Sylvain Pion 0199317670 Remove OLD_demo directory (was using LEDA window stuff). 2007-12-28 16:11:21 +00:00
Sylvain Pion 360d29f72a Rename CGAL_CIRC_NULL to CGAL_NULL. 2007-12-28 15:40:36 +00:00
Sylvain Pion d49e006c53 Remove default argument "0" to calls to assertion_fail() et al,
as the default is now the empty string "".
It should fix the problem that we have lost the assertion messages
(seeing "what():  basic_string::_S_construct NULL not valid" instead),
for packages that use package-specific assertion macros.
2007-12-21 21:58:27 +00:00
Mariette Yvinec cccd5229ab fixed the include statement. 2007-12-07 13:14:48 +00:00
Sylvain Pion a46b55bf71 The files "changes.txt", "description.txt", "long_description.txt" and "maintainer"
are now under /trunk/$Package/package_info/$Package/ .
2007-12-02 15:06:42 +00:00
Andreas Fabri c1692c50bf Let's see what happens when VC++ uses iterators as handles 2007-11-08 10:25:52 +00:00
Andreas Meyer fdeedcf8b0 some low level code cleanup. renamed
* CGAL_error to CGAL_error_msg
* introduced a macro CGAL_error()
* added some words about CGAL_error to the developers manual
* renamed most of assert(x) into CGAL_assertion(x)
* renamed exit(x) with x != 0 , CGAL_assertion(false) and assert(false) into CGAL_error
* CORE left untouched, OpenNL changed
2007-11-07 16:51:18 +00:00
Sylvain Pion d3c7269dba Replace abort() by assertion (in commented code). 2007-11-05 10:09:02 +00:00
Sylvain Pion ef264999b3 Renaming of Compact_container's construct_insert() to emplace() to match C++0x.
It breaks backward compat, but I doubt many people use Compact_container directly.
Make it use variadic templates, while at it.
2007-10-20 20:51:59 +00:00
Laurent Rineau 784f9cf0f2 More typo fixes (suggested by Andreas). 2007-10-03 15:43:55 +00:00
Sylvain Pion a25c35c992 Add declaration of Regular_triangulation_filtered_traits_2 to prevent problems
due to cyclic dependency.
2007-10-03 14:13:50 +00:00
Laurent Rineau 97644a7263 minor typo: add a space. 2007-10-02 15:01:42 +00:00
Sylvain Pion cfa52e21ed Update following renaming EK -> Exact_kernel and FK -> Approximate_kernel. 2007-09-07 09:47:42 +00:00
Christophe Delage 3feac5dc4c Faster insert for iterator ranges in Triangulation_hierarchy_2. 2007-09-05 13:57:52 +00:00
Andreas Fabri 448ce230e0 Fixed typo 2007-09-05 07:39:27 +00:00
Mariette Yvinec 69a2cb4903 fixed preconditions in documentation of line_walk 2007-08-30 09:34:20 +00:00
Sylvain Pion 76408cc24f Remove obsolete config flag CGAL_CFG_USING_BASE_MEMBER_BUG_3. 2007-08-09 09:48:44 +00:00
Sylvain Pion 4da7713aa8 Remove obsolete config flag CGAL_CFG_NO_STDC_NAMESPACE and rename
its dependant macro CGAL_CLIB_STD to "std".
2007-08-08 15:59:25 +00:00
Sylvain Pion 4f24f131d7 Remove obsolete CGAL_CFG_CONVERSION_OPERATOR_BUG config flag. 2007-08-08 14:59:33 +00:00
Camille Wormser 90028cb645 Filtering out the insertion of repeated weighted points, allowing
is_valid to return true...
2007-07-04 12:08:20 +00:00
Andreas Fabri b46bcf6f39 To add IO for the _with_info vertex and face class systematically seems to be a bad idea and needs more discussion 2007-06-28 17:41:51 +00:00
Andreas Fabri a9417e9825 Removed duplicate ccInheritsFrom 2007-06-28 10:01:24 +00:00
Andreas Fabri df83159918 operator << must not write whitespace in case of binary IO 2007-06-28 09:57:45 +00:00
Andreas Fabri 5b284c2695 Added IO operators for _with_info vertex and face class 2007-06-28 08:12:23 +00:00
Camille Wormser c3c1207995 Correcting the bug reported by Bernhard Kornberger where
the Regular_triangulation_2 crashes with the exact_contructions
kernel (removing access to uninitialized data).
2007-06-27 13:19:56 +00:00
Andreas Fabri 705c85365f Moved ccInclude 2007-06-19 14:16:47 +00:00
Sylvain Pion f11efea26a Slight optimization 2007-06-11 16:18:58 +00:00
Andreas Fabri 5d0697ee02 Add timing 2007-06-08 07:52:03 +00:00
Andreas Fabri 66fdf4ed5f fixed typo 2007-06-08 06:17:59 +00:00
Andreas Fabri 061aa6eeca switch to exact kernel and add input of points to Delaunay 2007-06-07 21:39:37 +00:00
Fernando Cacciola 88111fcf70 VS project files merged back 2007-06-06 15:35:17 +00:00
Andreas Fabri 01e763217b 3.3 branch -> trunk 2007-06-04 14:27:09 +00:00
Andreas Meyer 7ed1a00c04 merge manual fixed from 3.3 branch back intro trunk:
svn merge -r 38751:38754 ~/projects/CGAL/branches/CGAL-3.3-branch
svn merge -r 38773:38775 ~/projects/CGAL/branches/CGAL-3.3-branch
svn merge -r 38783:38784 ~/projects/CGAL/branches/CGAL-3.3-branch
svn merge -r 38795:38796 ~/projects/CGAL/branches/CGAL-3.3-branch
svn merge -r 38815:38816 ~/projects/CGAL/branches/CGAL-3.3-branch
svn merge -r 38827:38829 ~/projects/CGAL/branches/CGAL-3.3-branch
svn merge -r 38834:38836 ~/projects/CGAL/branches/CGAL-3.3-branch
2007-05-28 23:05:00 +00:00
Andreas Fabri dafcdd6e50 add demo 2007-05-04 14:29:07 +00:00
Andreas Fabri ec6b56d51c bg color, and initial input 2007-05-01 20:06:41 +00:00
Andreas Fabri e7086fe023 remove doc of deprecated constructor with a list of constraints 2007-04-19 15:26:05 +00:00
Andreas Fabri 3f294db199 remove doc of deprecated constructor with a list of constraints 2007-04-19 15:21:36 +00:00
Andreas Fabri ffd0dc72fd Constrained -> Constraint 2007-04-18 14:59:40 +00:00
Andreas Meyer c1e9765ff4 manual fix: moved labels inside sectioning command 2007-04-18 14:20:12 +00:00
Sylvain Pion 9c1dafa587 Remove more semi-colons inside \ccNestedType (for the manual index). 2007-04-17 09:50:09 +00:00
Sylvain Pion baff80a374 Remove semi-colons inside \ccNestedType as this pollutes the manual index. 2007-04-17 09:44:29 +00:00
Andreas Fabri f4d3f41786 .C ->.cpp and autolinking 2007-04-11 20:17:58 +00:00
Andreas Fabri ea71b8eaa1 .C ->.cpp and autolinking 2007-04-11 13:59:20 +00:00
Sylvain Pion 6ad01b8bc6 Use CGAL_make_vector 2007-04-02 20:40:18 +00:00
Andreas Meyer 41169fc270 * updated howtocite bibkeys for upcoming 3.3 release
* typo fixes/cosmetic changes
2007-03-29 17:40:13 +00:00
Sylvain Pion a7b00b863f Add \ccc{} around vb too. 2007-03-29 15:13:50 +00:00
Sylvain Pion a8d8f3c168 Run aspell. 2007-03-29 14:28:19 +00:00
Christophe Delage 57b145ec32 Fix bug in T2::locate() when the triangulation is a Regular_triangulation_2,
and dimension() is 0, and there are hidden vertices.
2007-03-26 08:59:11 +00:00
Christophe Delage c3450d9161 Added spatial_sort support in iterator range insert() & ctors.
This adds requirements to TriangulationTraits2 concept :
Less_x_2 and Less_y_2 predicates.

Also fixes a few bugs in RT2 (hidden points were sometimes forgotten
in degenerate dimensions.)
2007-03-21 15:29:30 +00:00
Andreas Fabri 9b7f9d9745 fixed path for illustration 2007-03-20 09:55:53 +00:00
Andreas Fabri 444a3ea1f0 removed unused parameters 2007-03-20 08:34:05 +00:00
Andreas Fabri 51d349c466 Added illustration 2007-03-19 16:11:49 +00:00
Sylvain Pion b3f15e4ae0 Fix "uninitialized base class" warning. 2007-03-19 09:13:48 +00:00
Andreas Fabri a7bf2b4523 remove unused parameter 2007-03-19 08:21:00 +00:00
Andreas Fabri 58a21dbe89 bugfix and code simplification 2007-03-15 18:08:18 +00:00
Andreas Fabri d9f901560e bugfix and get rid of warning 2007-03-15 15:35:47 +00:00
Joachim Reichel 704933f79a replace obsolete variable CGAL_WINDOW_LDFLAGS by CGAL_LDFLAGS 2007-03-11 09:57:31 +00:00
Joachim Reichel d08f6bea45 replace obsolete variable CGAL_QT_LDFLAGS by CGAL_LDFLAGS 2007-03-11 09:54:17 +00:00
Sylvain Pion b2630cd7e1 Apply trailing whites-spaces and leadgin+trailing empty-lines cleanups
to demo/**/*.h and .cpp.
2007-03-10 16:55:12 +00:00
Sylvain Pion 847c23a15e Removing leading and trailing empty lines from all example files.
Using the following Perl script:
-----------------------------------------------------
#!/usr/bin/perl

local($/) = undef;
my $text = <>;

$text =~ s/\A\n+//mg;
$text =~ s/\n+\Z/\n/mg;

print "$text";
-----------------------------------------------------
2007-03-10 16:17:17 +00:00
Sylvain Pion e46d4d9f99 Remove more "// file :" lines forgotten. 2007-03-10 15:11:24 +00:00
Sylvain Pion 6fb5cb906b Remove trailing white spaces and end of lines.
(using : perl -pi.bak -e 's/\s+$/\n/' */examples/*/*.cpp )
2007-03-10 14:59:41 +00:00
Sylvain Pion b8b87ab5a5 Actually, the "// file: example_bla.cpp" lines are not needed anymore,
since the manual tools know it.  So let's just remove them (many were
not uptodate with the filemane anyway).
2007-03-10 14:48:00 +00:00
Sylvain Pion 23edc11d3b Fix all first lines of examples "// file : example_file.C" to .cpp suffix.
Using :

for i in * ; do  cd $i ; for f in examples/*/*.cpp ; do ( head -1 $f | grep file | grep -v '\.cpp' ) && echo $f && perl -pi.bak -e 's/\.C$/.cpp/' $f ; done ; cd .. ; done
2007-03-10 14:34:05 +00:00
Sylvain Pion 5d3bbb5829 Fix some optimized test-suite warnings (variables can be used uninitialized),
by restructuring a bit :

  -  bool      get_contexts(T va, T vb, H_context_list*&) const;
  +  H_context_list * get_contexts(T va, T vb) const;

And updated callers (now NULL encodes the old false return value).
2007-03-08 13:32:45 +00:00
Sylvain Pion 28d1410e73 warnings-=2 2007-03-08 09:53:59 +00:00
Andreas Fabri 6f0cda39a7 fix for bug #1533 2007-03-07 10:13:23 +00:00
Sylvain Pion aaf30f7604 Constify 2007-03-05 16:52:40 +00:00
Sylvain Pion e5a64b0088 remove warning 2007-03-03 08:21:10 +00:00
Sylvain Pion 069bcbde7f Remove references to "see the Support Library Manual", since
we have the big integrated thing now.
2007-02-09 13:31:16 +00:00
Sylvain Pion 8877a94bc7 Rename .C to .cpp 2007-01-27 20:44:08 +00:00
Sylvain Pion f0e5d26517 Rename .C to .cpp. 2007-01-27 20:43:03 +00:00
Sylvain Pion 46caa3f082 rename .C to .cpp 2007-01-27 20:38:36 +00:00
Sylvain Pion 40d0fb8d35 Fix all "align=center" in <img> by "align=middle". 2007-01-13 21:49:03 +00:00
Andreas Fabri b238d22d5b fixed typo 2006-12-20 08:57:02 +00:00
Laurent Rineau 6d17b42a6a change titles of the "How to" help page of the regular triangulation 2d demo 2006-12-13 16:13:08 +00:00
Laurent Rineau 49cbf113ec - add mirror_vertex and mirror_index in the ref page of Triangulation_2.
- reorganize the documentation of mirror_index, mirror_vertex and
mirror_facet in the ref pages of Triangulation_3 and the concept TDS_3.
2006-11-29 19:11:16 +00:00
Laurent Rineau b998664234 Fix a typo: s/correspoding/corresponding/ 2006-11-29 17:25:47 +00:00
Andreas Fabri 42dac6c89d A fix so that test/Interpolation/test_regular_neighbors_2.C passes 2006-11-13 10:41:11 +00:00
Andreas Meyer b454b3febd manual cleanup:
* .C ---> .cpp
* removed ../examples from paths
* moved some demo/example files out of doc_tex into their respective place
* now it should build properly, again
2006-08-07 16:43:09 +00:00
Sylvain Pion b694e24056 Fix typo in last change.
Specialize Regular_traits for Filtered_kernel<> instead of only EPICK,
to cover EPECK as well.
2006-08-03 22:10:19 +00:00
Sylvain Pion 1afa951839 - Add a "Kernel" typedef in the Regular_*_traits_* to be able to
fetch its template parameter.
2006-08-03 16:21:32 +00:00
Mariette Yvinec a902e532ff rename global function power_test into power_test_2
to avoid clash with Triangulation_3
2006-08-02 11:43:20 +00:00
Andreas Fabri 8ec19079fb Fixed min max problem 2006-07-31 23:06:16 +00:00
Andreas Fabri 293a1ebeae Honor the hint 2006-07-12 14:26:47 +00:00
Sylvain Pion 5b665e0a72 - Filtered_exact removal. 2006-07-12 12:10:02 +00:00
Sylvain Pion 45bfd07a83 Remove some #include <CGAL/Arithmetic_filter/...> (Filtered_exact stuff). 2006-07-12 12:03:52 +00:00
Laurent Rineau 9f51a01372 fix i/o operators of Weighted_point, in binary mode. 2006-07-12 01:02:20 +00:00
Laurent Rineau e9e3bf6deb - fix i/o operators of Weighted_point, in binary mode. 2006-07-12 01:01:59 +00:00
Andreas Fabri fcc03fd223 changed .C to .cpp in examples 2006-07-09 19:49:42 +00:00
Mariette Yvinec 467e037ae2 fixed image 2006-06-28 16:31:19 +00:00
Andreas Meyer 788f1109bb fixed typo 2006-06-20 13:14:53 +00:00
Andreas Fabri 1b0a9b2055 fix of \ccPkgIntroducedInCGAL 2006-06-20 12:00:36 +00:00
Andreas Fabri 5203ac127d fix of \ccPkgIntroducedInCGAL 2006-06-20 11:53:53 +00:00
Mariette Yvinec 4232aba36a fixed a typo 2006-06-19 14:31:10 +00:00
Sylvain Pion e8cbc79348 - Typos "Triagulation".
- Fix \ccPkgIntroducedInCGAL for d-d convex hull.
2006-06-19 12:12:49 +00:00
Mariette Yvinec 0e4f91fb15 CGAL:: qualification of filter_iterator to protect against ADL. 2006-06-16 07:29:47 +00:00
Mariette Yvinec 8cd852c447 CGAL:: qualification of filter_iterator to protect against ADL. 2006-06-16 07:28:02 +00:00
Mariette Yvinec 8f4a3090c1 added some text in usermanual for Regular_triangulation_filtered_traits_2
and fixed regular example to use it
2006-06-12 08:53:58 +00:00
Sylvain Pion 4074cb0e8b \cgal -> \cgal\ . 2006-05-19 14:29:54 +00:00
Sylvain Pion dcf38121b8 There is no Rt typedef in Weighted_point<>. 2006-05-16 21:58:19 +00:00
Andreas Meyer bb7295405c enable operator= to be simplified 2006-05-12 15:56:04 +00:00
Andreas Meyer c782945c85 improved html output (\item[--] --> \item) 2006-05-12 14:44:48 +00:00
Andreas Meyer c0dd39cd33 typo 2006-05-12 12:22:37 +00:00
Andreas Meyer cda8f7ae89 typo 2006-05-12 12:13:08 +00:00
Andreas Meyer f8a9ade17a moved some \labels inside \section and \subsection,
to improve html referencing
2006-05-08 09:34:01 +00:00
Andreas Meyer 0e3d6b8143 manual bugfix (ccHowToCiteCgal) 2006-05-04 12:28:44 +00:00
Andreas Meyer dc3ce8747e \ccHowToCite --> \ccHowToCiteCgal 2006-05-03 11:24:03 +00:00
Andreas Fabri 2121e66cda Added ccHowTocite 2006-05-02 19:31:35 +00:00
Andreas Fabri 31a6a28baf Added ccHowTocite 2006-05-02 19:31:09 +00:00
Mariette Yvinec 683cf4c67f fixes on Andrea request 2006-05-02 08:23:48 +00:00