Sylvain Pion
79864c0c8e
Remove Arity_tag.
2008-07-22 12:29:01 +00:00
Sylvain Pion
5ee8c389fb
Use Kernel_traits.
2008-07-17 08:34:39 +00:00
Sylvain Pion
bf1614bfa1
Use the new kernel typedefs K::Comparison_result and co.
2008-07-17 08:10:22 +00:00
Sylvain Pion
2eb0d8f9e9
certainly() -> possibly().
2008-07-14 11:16:41 +00:00
Sylvain Pion
eff6efd3af
CGAL_NULL and CGAL_NULL_TYPE are now constant macros, so replace them by:
...
- CGAL_NULL -> NULL
- CGAL_NULL_TYPE -> CGAL::Nullptr_t (typedef to const void *)
2008-07-12 21:58:52 +00:00
Sylvain Pion
9d7a609ff2
Make assertions trigger an error only for *certain* conditions (using CGAL::certainly()).
...
This is useful for interval arithmetic code.
(replay of r44002 with the header order hopefully fixed)
2008-07-10 21:49:17 +00:00
Sylvain Pion
2b4ebf01f7
Undo r44002 as it's buggy
2008-07-06 20:47:29 +00:00
Sylvain Pion
514a17ad4f
Improve the interaction of assertions and interval computations.
...
Things like "CGAL_assertion(denominator != 0)" produced assertion failures for no gain.
So now, the assertion is triggered only if the condition is certain, using CGAL::certainly().
That is, change the following in all assertion files :
((EX)?(static_cast<void>(0)): ::CGAL::assertion_fail( # EX , __FILE__, __LINE__))
to :
(CGAL::certainly(EX)?(static_cast<void>(0)): ::CGAL::assertion_fail( # EX , __FILE__, __LINE__))
2008-07-06 17:05:47 +00:00
Laurent Rineau
488775954d
In Constrained_triangulation_plus_2, rename the method "copy" into
...
"copy_triangulation", so that the operator= of
Triangulation_hierarchy_2<Constrained_triangulation_plus_2<...>> can do the
right job.
2008-06-27 15:51:48 +00:00
Sylvain Pion
1d8779b171
Rename the following functions:
...
det2x2_by_formula
det3x3_by_formula
det4x4_by_formula
det5x5_by_formula
det6x6_by_formula
to:
determinant
How cute... a name independent of the dimension, and even readable !
2008-04-09 13:35:34 +00:00
Sylvain Pion
b0f2c77fdc
Remove casts to Oriented_side.
...
They are useless since we merged the various enum types.
2008-04-09 12:35:10 +00:00
Sylvain Pion
b740e90de0
Rename the following functions:
...
sign_of_determinant2x2
sign_of_determinant3x3
sign_of_determinant4x4
sign_of_determinant5x5
sign_of_determinant6x6
to:
sign_of_determinant
So that we have less dimension-dependent namings, at least internally...
2008-04-09 12:20:25 +00:00
Sylvain Pion
c3ee0c0087
Remove CGAL_T2_USE_ITERATOR_AS_HANDLE and CGAL_T3_USE_ITERATOR_AS_HANDLE
...
as they are now always defined and things work.
2008-04-03 12:14:58 +00:00
Pedro Machado Manhaes de Castro
44f0158408
A small precondition
2008-03-31 17:33:48 +00:00
Pedro Machado Manhaes de Castro
64ae70e699
convex hull do not matter (even in this case) + little optimization
2008-03-21 15:32:54 +00:00
Sylvain Pion
1d47b96e3c
Remove more useless enum_cast<>.
2008-03-20 16:46:25 +00:00
Pedro Machado Manhaes de Castro
55b1c90e6b
little optimization
2008-03-14 12:46:43 +00:00
Pedro Machado Manhaes de Castro
c50c75af92
little optimization for vertices of degree 3
2008-03-13 12:31:52 +00:00
Pedro Machado Manhaes de Castro
960f122b28
Optimizing move()
2008-03-10 11:07:15 +00:00
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
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
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
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
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
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
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
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
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