Andreas Fabri
e64884da90
Also add support for Regular_triangulation_2
2017-03-31 12:38:17 +02:00
Sébastien Loriot
1e4bba379b
using type from the base class
2017-03-06 12:11:09 +01:00
Andreas Fabri
9dd7b63e2a
make it work for the triangulation hierarchy with regular
2017-03-03 16:25:09 +01:00
Andreas Fabri
f6cf296d5f
Do in 2D what we did in 3D
2017-03-03 15:32:24 +01:00
Sébastien Loriot
50510c05ea
add include directive for license of all GPL header files
...
done using:
ack-grep "^GPL" */package_info/*/license.txt -l | awk -F "/" '{print $1}' > /tmp/gpl_packages
for i in `cat /tmp/gpl_packages | \
grep -v Operations_on_polyhedra | \
grep -v Algebraic_kernel_for_circles | \
grep -v Algebraic_kernel_for_spheres | \
grep -v Polyhedron_IO`;
do
echo $i
python Scripts/developer_scripts/add_license_in_pkg_header.py $i
done
python Scripts/developer_scripts/add_license_in_pkg_header.py Operations_on_polyhedra Polygon_mesh_processing
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_circles Circular_kernel_2
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_spheres Circular_kernel_3
python Scripts/developer_scripts/add_license_in_pkg_header.py Polyhedron_IO Polyhedron
2017-01-19 15:20:25 +01:00
Andreas Fabri
d624271315
Remove usage of Regular_triangulation_euclidean_traits_3
2016-11-21 16:43:40 +01:00
Laurent Rineau
2835e361c8
Fix the constructors of RT euclidian traits class
...
@janetournois @afabri
That commit will fix both runtime errors in Interpolation and
compilation errors in KDS:
- in Interpolation, the traits class carries a normal vector: it needs
to be passed to the RT traits class as well,
- Same in KDS: the compilation error was saying that the constructor
of RT_euclidian_traits_3 must initialize it base class.
2016-11-18 17:55:05 +01:00
Andreas Fabri
490949efa7
fix Interpolation package
2016-11-16 09:58:23 +01:00
Jane Tournois
0f569a8fd6
introduce Has_nested_type_Bare_point to keep backward compatible
...
it is needed when Regular_triangulation_euclidean_traits is used the first
template parameter for Regular_triangulation (both 2d and 3d)
2016-11-03 14:57:10 +01:00
Jane Tournois
2c9a580c96
all CGAL kernels are now models of `RegularTriangulationTraits_2`
...
wrapper Weighted_point_mapper_2 is not necessary anymore
2016-11-03 14:55:39 +01:00
Andreas Fabri
ad9d2c369c
Rename tests following Olivier's recommendations
2016-11-03 14:53:54 +01:00
Andreas Fabri
0ec908b981
Why does g++ need the this-> here ???
2016-11-03 13:10:00 +01:00
Andreas Fabri
9dde08c414
WIP
2016-11-03 13:07:50 +01:00
Andreas Fabri
76d751be01
Use CGAL_FALLTHROUGH
2016-10-17 13:45:42 +02:00
Laurent Rineau
51f5697d3d
Add missing #include
2016-09-30 15:23:14 +02:00
Sébastien Loriot
7f3772a50b
replace the usage of raw pointer as property map
...
It was deprecated in boost 1.55
http://www.boost.org/users/history/version_1_55_0.html
2016-07-13 13:53:00 +02:00
Andreas Fabri
2740aa9c05
use size_type instead of int
2013-02-07 15:16:03 +01:00
Sébastien Loriot
59f9e8a778
add constructor from range for 2D Delaunay and Regular triangulation
2012-12-19 17:10:57 +01:00
Sébastien Loriot
498c0a6e1e
Make the insert-by-range function more permissive
...
The condition is now to be convertible to the point type, pair<point,info>,...
This was the behavior before the insert-by-range-with-info methods were
introduced.
2012-01-24 17:25:20 +00:00
Laurent Rineau
8f59fd9592
Turn QPL into LGPLv3+
2012-01-13 16:33:35 +00:00
Sébastien Loriot
98ddbf9c7e
merge packages Spatial_sorting, Triangulation_2 and Triangulation_3 from branch spatial_sorting-add_info-sloriot
2011-05-24 15:48:31 +00:00
Sébastien Loriot
6340a510c5
merge the code for Triangulation_2 to insert range of points with info
...
protected by macro CGAL_TRIANGULATION_2_DONT_INSERT_RANGE_OF_POINTS_WITH_INFO
2011-01-11 07:40:47 +00:00
Andreas Fabri
4d5300f583
Finally use ptrdiff_t as return type for insert(beg, end)
2010-06-23 13:29:04 +00:00
Andreas Fabri
3bdbbd1404
As the insertion of points in a regular triangulation can reduce the number of vertices we have to replace size_t with ptrdiff_t (Thank you Sylvain for pointing this out)
2010-06-21 16:12:59 +00:00
Andreas Fabri
8e75125383
int -> size_type/std::size_t
2010-06-21 13:19:03 +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
75cc6f6057
Better C++ compliance (errors detected by Intel Compiler strict-ansi mode)
2010-05-08 10:07:13 +00:00
Sébastien Loriot
ec840a9cbf
add missing Using detected by intel compiler
2010-04-26 08:20:17 +00:00
Andreas Fabri
e3bc2bbf10
We used a functor not required by the traits class
2010-03-01 11:03:06 +00:00
Andreas Fabri
2ae72afd4d
Use a symbolic perturbation so that in the grid case all diagonals have the same orientation
2010-02-25 15:29:19 +00:00
Andreas Fabri
be700acaba
Change rng; Remove random_shuffle
2010-01-27 15:22:31 +00:00
Sylvain Pion
24699dda52
Add missing header <CGAL/utility.h>
2008-07-27 11:32:19 +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
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
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
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
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
Sylvain Pion
f11efea26a
Slight optimization
2007-06-11 16:18:58 +00:00
Sylvain Pion
6ad01b8bc6
Use CGAL_make_vector
2007-04-02 20:40:18 +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
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
Mariette Yvinec
8cd852c447
CGAL:: qualification of filter_iterator to protect against ADL.
2006-06-16 07:28:02 +00:00
Sylvain Pion
930150c7ee
- Remove some warnings, and some useless point copies.
2006-03-25 11:16:13 +00:00
Laurent Saboret
db6a8f948c
Change CVS keywords to SVN style
2006-02-16 14:30:13 +00:00
Laurent Saboret
1aad55d4cb
Change CVS keywords to SVN style
2006-02-14 10:08:15 +00:00
Laurent Saboret
3ad3429283
Move packages to trunk root
2006-02-14 08:58:20 +00:00