Pedro Machado Manhaes de Castro
e76dfad626
Fixing a bug (homegenous version of Construct_radical_line_2)
2008-10-21 13:31:56 +00:00
Pedro Machado Manhaes de Castro
a65aceddf2
radical line as well
2008-10-20 14:44:37 +00:00
Sylvain Pion
4aa1cb057a
Remove my email adress from header files.
2008-10-11 20:21:08 +00:00
Sylvain Pion
4c79d1d5cf
Rename Bool_type to Boolean.
2008-08-26 13:40:26 +00:00
Sylvain Pion
53f5c9679b
Add a using directive "using std::array" in namespace CGAL to import either:
...
- C++0x's std:array from <array>
- TR1's std::tr1::array from <tr1/array>
- boost::array from <boost/array.hpp>
Motivation : GCC's std::array is faster than boost::array.
Move CGALi:make_array to namespace CGAL.
Document CGAL::array.
2008-08-26 13:08:16 +00:00
Sylvain Pion
39e7a3537e
Remove unused file (Homogeneous uses Cartesian's Ray_2 since quite some time).
2008-08-26 12:40:44 +00:00
Sylvain Pion
af2bb2adaf
Remove now useless <CGAL/utility.h> includes.
2008-07-25 15:06:44 +00:00
Sylvain Pion
0e682daf9a
Replace CGAL::Triple by boost::tuple
2008-07-25 14:40:53 +00:00
Sylvain Pion
b02bc7921b
Use boost::array instead of Twotuple
2008-07-25 11:19:03 +00:00
Sylvain Pion
dc3bf72707
Remove changes.txt files.
2008-07-24 17:47:16 +00:00
Sylvain Pion
79864c0c8e
Remove Arity_tag.
2008-07-22 12:29:01 +00:00
Sylvain Pion
6ee113f820
Document the kernel typedefs specifying the return types of the predicates:
...
Bool_type, Sign, Comparison_result, Orientation, Oriented_side, Bounded_side and Angle.
2008-07-16 13:59:26 +00:00
Pedro Machado Manhaes de Castro
3897f61b55
fixing the converter (and the issues with Kernel_23)
2008-06-05 08:48:58 +00:00
Pedro Machado Manhaes de Castro
c63a8519f5
fixing the 03/06/2008 red mosaic
2008-06-04 07:52:42 +00:00
Pedro Machado Manhaes de Castro
fc45f43179
Adding Circle_3 object to the Kernel.
2008-06-03 12:17:16 +00:00
Andreas Fabri
0b371caf7e
Added Compare_squared_radius_3
2008-05-29 09:35:50 +00:00
Sylvain Pion
55d538b335
"Ambient" is not spelled "Ambiant" in English...
2008-04-17 10:13:31 +00:00
Sylvain Pion
bbd100121b
Add barycenter computation.
2008-04-15 15:13:17 +00:00
Sylvain Pion
2389cdcc1e
Dimension detecting stuff rewrite.
...
There is now Ambiant_dimension and Feature_dimension.
The handling of the dynamic dimension case is now done by having
the di,ension tag as the first thing provided, with the integral
constant value available only when it makes sense (INT_MAX no longer needed).
2008-04-13 12:38:48 +00:00
Sylvain Pion
92257a66a2
Add constructors of Vector_? taking mixed types (e.g. int, double).
...
Spotted by the Min_ellipse_2 test-suite. Regression due to my latest changes
to store Vectors in Points.
2008-04-12 10:03:45 +00:00
Sylvain Pion
02e543a294
Add Dimension<T, K> whose nested "value" is the dimension of the ambiant
...
space. A special constant CGAL::Dynamic_dimension (equal to INT_MAX)
indicates the case where the dimension is only known at run time.
2008-04-11 21:03:22 +00:00
Sylvain Pion
7ace759d8e
Remove the reference-counting inside Point_2 and Point_3, as they now store
...
only a Vector_2 and Vector_3 which is responsible for the reference-counting.
2008-04-10 14:41:35 +00:00
Sylvain Pion
fbd6c53000
Make Point_2/Point_3 store a Vector_2/Vector_3.
...
This factorizes code and goes in the direction of having
a linear algebra layer.
2008-04-10 14:02:38 +00:00
Sylvain Pion
11bbf3e2de
Vector_2 and Vector_3 now also provide a Cartesian_const_iterator.
2008-04-09 17:58:57 +00:00
Sylvain Pion
853437f640
Replace Cartesian_coordinate_iterator_[23] by Cartesian_const_iterator_d,
...
as it does not depend on the Point type, and I want to use it next for Vectors.
(I can't remove the old one yet as it's still used by Lazy_kernel)
2008-04-09 16:53:35 +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
cab843595b
Replace {Two|Three|Four}tuple<FT> or <RT> by boost::array.
...
It makes more code parameterized by the dimension as template argument.
It provides iterators and a few basic functions already such as operator==...
I added CGALi::make_array() to easily and efficiently construct them.
2008-04-09 11:44:28 +00:00
Sylvain Pion
57d48d8d83
Replace useless forwarding function orientationH2() by sign_of_determinant3x3().
2008-03-21 08:45:04 +00:00
Sylvain Pion
c825d8c774
Remove some useless enum_cast<>.
...
Optimize some sign(a*b) to sign(a)*sign(b).
2008-03-20 16:28:35 +00:00
Sylvain Pion
9f5bad92a1
Remove my name from maintainer files where it does not resonnably make any sense anymore.
2008-01-19 14:29:27 +00:00
Sylvain Pion
7f6f380b11
Final step at the removal of CGAL_REP_CLASS_DEFINED.
2008-01-03 19:26:12 +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
Sylvain Pion
a3def1c3eb
Remove obsolete config flag CGAL_CFG_USING_BASE_MEMBER_BUG.
2007-08-09 09:55:09 +00:00
Andreas Fabri
0290ab619d
removed unused parameters
2007-03-17 09:50:18 +00:00
Andreas Fabri
bd5835aeb0
Use boost::mpl instead of the preprocessor
2007-03-17 08:31:51 +00:00
Sylvain Pion
75766b0470
remove warning
2007-03-03 08:59:11 +00:00
Sylvain Pion
de87319cf1
remove warning
2007-03-03 08:58:28 +00:00
Sylvain Pion
eae1175147
forgot to remove one .bbox() function in last revision
2006-12-27 23:28:15 +00:00
Sylvain Pion
370e6a1695
Move 3D .bbox() to the functors to make Lazy_kernel pass, and enhance the test-suite to test .bbox()
2006-12-27 23:25:54 +00:00
Sylvain Pion
fbe285ca94
New predicates :
...
compare_squared_distance(Point_[23], Point_[23], FT), with
CompareSquaredDistance_[23] functors.
2006-10-24 05:24:31 +00:00
Andreas Fabri
f5c431bedb
fix for min/max problem
2006-08-20 21:18:19 +00:00
Sylvain Pion
63e78107de
New compiler bug in g++ 3.3 : CGAL_CFG_BOOL_IN_TEMPLATE_BUG
2006-08-18 21:30:12 +00:00
Sylvain Pion
c206dcd8e1
Fix ambiguities in constructors of PointH?,
...
as convertibility between RT<->FT<->int was a problem.
Use enable_if<> and is_convertible<> for this.
2006-08-17 11:05:53 +00:00
Sylvain Pion
ed36e763c7
Second part of Return_base_tag changes.
2006-08-16 16:38:49 +00:00
Sylvain Pion
2eb12d7441
- First part of introduction of Return_base_tag workaround for lack
...
of "forwarding constructors".
Quoting some comment in the code:
"
This is a simple tag which is used as additional (first) argument in
some kernel functors, to tell them to return the base (rep) class,
instead of the main type (e.g. Kernel_base::Point_2 instead
of Kernel::Point_2). This is a minor optimization which prevents
useless copies of the "reps".
Those functors are only those used in the constructors of the kernel
types like Point_2, so it's limited.
The real solution will be to use "forwarding constructors", when they
will be available in C++.
In the mean time, this should be a mostly/hopefully internal hack.
"
2006-08-16 14:56:11 +00:00
Andreas Fabri
12dbb148a9
fixed min/max problem
2006-08-16 14:43:19 +00:00
Sylvain Pion
c50783f08f
Bad luck: "equi-distant" -> "equidistant" (thanks Andreas).
2006-08-07 16:11:40 +00:00
Sylvain Pion
38853d1b10
- Optimize equi_distant_line() by merging the calls to
...
circumcenter() and cross_product().
- Add ctors to Point_[23] and Vector_[23] that take
int, double, and FT coordinates, instead of only RT.
2006-08-07 15:57:40 +00:00