Laurent Rineau
a37c74d534
Add license files, per package
2012-01-16 15:54:22 +00:00
Laurent Rineau
5b5dd33848
merge changes from next
2012-01-09 12:33:39 +00:00
Philipp Möller
b8a96e9114
Merged next to this branch.
2011-12-06 17:11:01 +00:00
Laurent Rineau
befa7c8e08
Add missing #include to <CGAL/Cartesian/Plane_3.h>.
...
The added #include is not really useful but to help a reader of the code to
understand where do functions come from.
2011-12-06 11:49:21 +00:00
Philipp Möller
0e0a200646
* Using result_of instead of Qualified_result_of
...
* limited refactoring in the lazy kernel
* still bugs in circular_3
* still specialization problem with iso_rectangle
2011-11-23 17:52:38 +00:00
Philipp Möller
94affd589d
Moved the Intersection_result concept into the functors and adapted code in the lazy kernel to that change.
2011-11-15 15:40:22 +00:00
Philipp Möller
9051768cea
Introduced Intersection_results as a Kernel concept for use in public APIs in favor over Intersection_traits.
2011-11-15 13:41:14 +00:00
Sébastien Loriot
91a5327fa8
change LGPLv2 -> LGPLv3
2011-10-10 13:48:25 +00:00
Sébastien Loriot
554f62d411
remove executable property from copyright files
2011-10-03 08:18:16 +00:00
Andreas Fabri
d10a333947
Add a file with the copyright holder(s) to the package_info
2011-09-29 20:45:16 +00:00
Sébastien Loriot
dff6dda8b3
Remove from copyright holder
...
Freie Universitaet Berlin (Germany), Martin-Luther-University Halle-Wittenberg
(Germany) and RISC Linz (Austria) as they transfer the copyright to other
sites.
2011-09-21 19:46:31 +00:00
Philipp Möller
cf39a595b3
Modified cartesian converter to support optionals and variants
2011-08-25 10:11:55 +00:00
Sébastien Loriot
0c092b2da3
static_cast<const XXX &> to avoid copy
2011-06-29 07:02:20 +00:00
Sébastien Loriot
cfd2c9fa94
Andreas' fix for handling vectors of points in CGAL::Object
...
when intersecting with Lazy_kernel. Add a testfile.
2011-06-21 13:36:00 +00:00
Marc Glisse
99cb4322df
Let Construct_point_* call the constructor of Point_* as an intermediate step before Construct_point_*(Return_base_tag...) to have less copying.
2011-04-14 09:48:15 +00:00
Sébastien Loriot
e5a96255ba
*remove warnings.
...
In particular remove UNTESTED_XXXXXXXXXXX unused variable that possibly hide true warnings.
In those cases, the string printed while executed now starts with "NOTE: ".
*CGAL internal code no longer rely on depecrated features
2011-02-28 15:28:28 +00:00
Sébastien Loriot
78a8e36522
small features to add additional operator() to Angle_2.
...
This is a merge from the branch /branches/experimental-packages/More_robust_Triangulation_2-branch
2011-01-07 10:45:13 +00:00
Sébastien Loriot
ace9c87934
revert dirty commit 60628
2011-01-07 10:37:54 +00:00
Sébastien Loriot
99dda59784
add operator() to Angle_2 functor (code,global function,doc,test).
...
That was submitted as small feature.
2011-01-07 10:04:06 +00:00
Laurent Rineau
212ea5a473
Merge in trunk the code of https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Kernel::Has_filtered_predicates_tag
2010-12-16 16:09:23 +00:00
Marc Glisse
32b87fbc17
uglify private typedef for clang
2010-11-10 21:17:45 +00:00
Marc Glisse
6501cf181a
Rename private typedef for clang.
2010-10-28 06:56:55 +00:00
Marc Glisse
601d187c06
Rename private typedef for clang
2010-10-27 09:27:32 +00:00
Laurent Rineau
5b22e449e0
Kernel::Compare_distance_[23] with three objects, similar to
...
compare_distance_to_point, but with any object types
2010-10-11 11:10:32 +00:00
Laurent Rineau
531884edfb
Add a fwd-declaration of orientationC2 (for clang)
2010-09-22 16:05:43 +00:00
Laurent Rineau
351c3233be
- Deprecate operator()(T1, T2, T3, T4) of Kernel::CompareSquaredDistance_[23]
...
and move it to Kernel::CompareDistance_[23].
- Add CGAL::compare_distance(T1, T2, T3, T4).
(Test suite OK.)
2010-08-03 14:22:25 +00:00
Laurent Rineau
a97730f073
Move Compare_squared_distance_[23] from Cartesian and Homogeneous to
...
Kernel_23: their implementation were identical.
2010-06-30 10:04:49 +00:00
Laurent Rineau
7106e69e7a
Fix keyword $URL$ and $Id$: "$URL: " and "$Id: " are not correct Subversion keywords
2010-06-29 12:47:18 +00:00
Andreas Fabri
0d46b11509
For VC-10 we have to change FT* to cpp0x<>::const_iterator
2010-06-14 07:11:59 +00:00
Sébastien Loriot
52317dd49f
add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
...
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Laurent Rineau
546cd0a38b
Missing #include
2010-05-21 17:12:50 +00:00
Laurent Rineau
67928706cf
C++ conformance: calls to member templates of dependent names must be
...
qualified with the "template" keyword.
Example:
template <typenam T>
void f(T foobar) {
foobar.get<0>().foobar(); // error
}
must be written:
foobar.template get<0>().foobar();
2010-05-16 16:50:24 +00:00
Andreas Fabri
3af7501d6d
Another 'using' for strict ansi
2010-05-06 16:09:23 +00:00
Sébastien Loriot
b18ab2c555
add missing using detected by intel strict-ansi
2010-04-27 06:43:43 +00:00
Sylvain Pion
d2a078803b
Add a new Boolean constant in the kernel, Has_filtered_predicates.
2009-10-16 12:07:18 +00:00
Sébastien Loriot
48909a6a24
add operator() for one point to Compare_squared_radius
2009-10-13 08:35:40 +00:00
Andreas Fabri
c13fede7aa
sorry about breaking the testsuite
2009-08-25 07:14:39 +00:00
Sylvain Pion
8573fe26ce
Rename CGALi to internal.
2009-08-24 17:10:04 +00:00
Andreas Fabri
18084a7fbd
Add operator to Compare_squared_distance_3
2009-08-24 14:59:57 +00:00
Laurent Rineau
d12cfb478c
Fix indentation that was altered by the following revision:
...
| ------------------------------------------------------------------------
| r42811 | spion | 2008-04-09 15:35:34 +0200 (Wed, 09 Apr 2008) | 11 lines
|
| 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 !
|
| ------------------------------------------------------------------------
2009-08-20 10:30:44 +00:00
Sylvain Pion
927b432b39
typo : mecanism -> mechanism.
2009-08-10 15:57:03 +00:00
Sébastien Loriot
ee8f225830
object_cast -> assign : remove warning uninitialized variables (approved by RM)
2009-07-09 08:38:56 +00:00
Sébastien Loriot
5b876a34f5
Remove a warning conversion from float to sign (approved by RM)
2009-07-09 08:17:11 +00:00
Andreas Fabri
3b2dedad68
Add squared radius for a point to make kernels model of the alpha shape traits class
2009-07-06 11:36:33 +00:00
Sébastien Loriot
0e76f6c8b4
correct has_on pb
2009-06-26 14:15:56 +00:00
Sébastien Loriot
88f5116094
remove duplicated operator() in Has_on_3
2009-06-25 05:54:18 +00:00
Sébastien Loriot
1d383069db
add documented has_on for point and circle on a sphere
2009-06-24 16:26:51 +00:00
Sylvain Pion
3e3725bccd
Paranoia is always good : make the constructors of the internal *C[23] classes also explicit.
2009-05-26 07:54:52 +00:00
Sylvain Pion
979e397b26
The compiler is getting lost with all those solve() functions,
...
so qualify this one by CGAL::.
2009-05-25 08:53:20 +00:00
Sylvain Pion
f529155cef
Missing #include in last change.
2009-05-20 10:43:29 +00:00
Sylvain Pion
685acc37d5
Move CGAL::solve to CGAL::Cartesian_internal::solver to protect bad lookups (AK_for_sphere is confused).
2009-05-20 09:58:52 +00:00
Sylvain Pion
f0ed774e37
Move CGAL::array to namespace CGAL::cpp0x, like tuple.
2009-04-30 14:03:52 +00:00
Laurent Rineau
16ab0cd242
Add a *useful* comment.
2009-02-02 13:09:25 +00:00
Andreas Fabri
89b1fa46fa
AND Uncertain with & in order to prevent assertion being triggered by interval arithmetic
2008-11-21 08:01:45 +00:00
Pedro Machado Manhaes de Castro
7236659148
o->p
2008-11-12 11:51:47 +00:00
Pedro Machado Manhaes de Castro
4caabbbed9
back
2008-11-12 11:40:52 +00:00
Pedro Machado Manhaes de Castro
d806a089ee
small fix a.rep().orientation() -> a.orientation()
2008-11-10 12:05:49 +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
Pedro Machado Manhaes de Castro
8960a3dd58
Some forgotten operators on functors for Circle_3
2008-10-02 16:31:35 +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
c1389c006d
Add a couple of handy functions:
...
bool are_sorted(const T & a, const T & b, const T & c)
bool are_strictly_sorted(const T & a, const T & b, const T & c)
bool are_ordered(const T & a, const T & b, const T & c)
bool are_strictly_ordered(const T & a, const T & b, const T & c)
2008-08-12 12:43:20 +00:00
Sylvain Pion
5c5f891fa5
Make some use of CGAL_AND.
2008-08-12 11:55:24 +00:00
Sylvain Pion
869f4ceae1
Use & instead of && (in assertions, using && does not make much sense).
2008-08-12 11:54:48 +00:00
Sylvain Pion
69e7b4f7c6
Remove buggy typedef for Orientation.
2008-07-27 18:58:04 +00:00
Sylvain Pion
623a9d5319
Add missing template keyword
2008-07-27 11:51:23 +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
edaa883845
Use boost::array instead of Threetuple
2008-07-25 11:01:57 +00:00
Sylvain Pion
a6092e4dc5
Use boost::array instead of Fourtuple
2008-07-25 10:53:56 +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
Pedro Machado Manhaes de Castro
e8663963f2
Constructing a Circle_3 passing through three points p, q, r
2008-07-17 14:08:50 +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
Sylvain Pion
173ef7c590
Allow propagation of Uncertain-ty in more places, to reduce the number of exceptions.
...
- Use K::Bool_type, K::Orientation... instead of bool, CGAL::Orientation...
- More functions around Uncertain<> : make_certain(), extract_singleton(),
possible conversions tightenning.
Many conversions still remain, e.g. for switch and if statements, &&, ||...
2008-07-16 13:45:13 +00:00
Pedro Machado Manhaes de Castro
cdb365613b
Fixing Lazy for Circle_3
2008-06-26 14:25:54 +00:00
Sylvain Pion
26ec89566c
Progress towards Circle_3 and Lazy_kernel.
2008-06-19 15:38:07 +00:00
Sylvain Pion
3c37473d47
Qualify get() with CGAL:: and add missing header <CGAL/Handle_for.h>.
2008-06-17 08:13:11 +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
11f84afb3f
Compatibility with Homogeneous
2008-06-04 10:17:58 +00:00
Pedro Machado Manhaes de Castro
b2c09cd21c
fix place
2008-06-04 09:03:30 +00:00
Pedro Machado Manhaes de Castro
1da7b344f3
Fix place (radical_plane)
2008-06-04 08:56:14 +00:00
Pedro Machado Manhaes de Castro
2428cc644f
fix place
2008-06-04 08:55:44 +00:00
Pedro Machado Manhaes de Castro
e38ddac49c
radical_plane on the right file
2008-06-04 08:47:47 +00:00
Pedro Machado Manhaes de Castro
19d5ec8173
to -> constructions/
2008-06-04 08:46:51 +00:00
Pedro Machado Manhaes de Castro
a6724b4e74
radical_plane, thanks Sylvain
2008-06-04 08:39:22 +00:00
Pedro Machado Manhaes de Castro
9b698c6039
fixing the 03/06/2008 red mosaic
2008-06-04 07:51:25 +00:00
Pedro Machado Manhaes de Castro
f5ffaf5f5c
adding Circle_3 to the Kernel
2008-06-03 12:20:12 +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
029d9416cc
Added Compare_squared_radius_3
2008-05-29 09:30:10 +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
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
ccff0db36d
Use new style with make_array(), more compact and efficient
2008-04-09 14:25:17 +00:00