Commit Graph

123 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé cdb447a22f Use Kernel_traits<Traits::Pt> to deduce the kernel rather than Traits::Kernel 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 4e4f1ed4c0 Avoided a default traits construction 2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé 871cce116e Removed Regular_triangulation_euclidean_traits_3 usage in Lazy_alpha_nt_3
Regular_triangulation_euclidean_traits are deprecated (and do not do anything).
2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé 3e25674957 Weighted alpha shape traits are not based on RT_euclidean_traits anymore
Similarly to Regular_triangulation_euclidean_traits, the Kernel concept has now
absorbed all the functors that are needed by the alpha shape traits concept and
the weighted alpha shape traits can thus simply be empty shells.
2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé 7a7ac15f42 Fixed weighted Alpha_shapes_3 TDS construction
When weighted, Alpha_cell_base_3 must use Regular_triangulation_cell_base_3
as base
2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé 9cd0f31d71 Temporarily silenced weighted alpha shape traits depreciation warnings 2017-05-16 10:28:09 +02:00
Mael Rouxel-Labbé cd2a562ffa Fixed improper guards against the inclusion of deprecated headers 2017-05-16 10:17:41 +02: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
Laurent Rineau bbf430b0b1 Merge pull request #585 from afabri/Kernel-Weighted_point-GF
Introduce Kernel::Weighted_point_3 together with functors
2016-12-20 19:52:02 +01:00
Sébastien Loriot 632d1f368d initialize pointers 2016-11-29 11:57:32 +01:00
Sébastien Loriot 4c5270752b rename template parameter 2016-11-29 11:52:52 +01:00
Sébastien Loriot c8117a76f4 replace static_vector by a small struct 2016-11-24 15:42:47 +01:00
Sébastien Loriot 810fbd323f Use a static_vector instead of a shared_ptr<vector> 2016-11-24 11:50:42 +01:00
Sébastien Loriot 10dd2175ac remove non-needed unsigned 2016-11-24 11:37:08 +01:00
Sébastien Loriot bc85850104 use an optional for exact_nt 2016-11-24 09:51:04 +01:00
Sébastien Loriot a46dfa29d0 avoid throwing an assertion 2016-11-24 09:45:45 +01:00
Sébastien Loriot cf71b05937 add an overload of CGAL::to_double for Lazy_alpha_nt_3 2016-11-24 09:41:41 +01:00
Andreas Fabri e5e0cdd5f9 fix a typedef 2016-11-22 17:48:53 +01:00
Andreas Fabri ecf44b08d7 Take the Point type from the underlying vertex type 2016-11-22 16:09:08 +01:00
Andreas Fabri 9f96b59bb9 Take the type Point from the underlyinng triangulation 2016-11-22 16:08:19 +01:00
Andreas Fabri e5219a1725 Take the type Point from the underlyinng triangulation 2016-11-22 16:07:51 +01:00
Andreas Fabri d35c6c913d Use Weighted_point_mapper_3 2016-11-21 15:33:27 +01:00
Laurent Rineau 57f0b33eb6 Fix Alpha_shapes_3
Alpha_shapes_3 needs to know a lot about its template parameter `Dt`. To
simplify the code, I have chosen to make the typedef `Tr_Base` public in
3D Delaunay and Regular triangulations.
2016-11-18 17:36:50 +01:00
Andreas Fabri 92406379e7 Add typename (Who removed them???) 2016-11-03 13:10:00 +01:00
Andreas Fabri 54ec8f9d92 the VC++ testsuite should pass now 2016-11-03 13:06:02 +01:00
Andreas Fabri 1e2ff1131e assert -> CGAL_assertion 2015-08-27 16:51:55 +02:00
Sébastien Loriot e665f1ca58 do not init alpha_min in REGULARIZED mode. 2013-10-30 17:45:51 +01:00
Sébastien Loriot cc05e7b827 always init alpha_min to alpha_mid for convenience 2013-10-20 19:33:49 -07:00
Sébastien Loriot 8ecc668b4f add another filtration function that also reports the alpha value of each face 2013-10-18 14:30:57 -07:00
Sébastien Loriot 313dff5fc2 add accessors for alpha status of facets and edges 2013-10-18 13:57:55 -07:00
Marc Glisse 571f370e28 Rename Exact_type_selector to Exact_field_selector. 2012-12-24 12:20:13 +01:00
Sébastien Loriot 7f6b7c9ff1 remove warnings on windows 2012-01-17 10:59:01 +00:00
Sébastien Loriot 27218c61e9 QPL -> GPL3 2012-01-16 15:56:52 +00:00
Sébastien Loriot a7456a2736 merge from next 2012-01-16 15:28:51 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Sébastien Loriot 83cd1ef2d2 add _3 suffix 2011-12-30 15:22:11 +00:00
Sébastien Loriot 74aeaf24ac add comparison operators as member functions of Lazy_alpha_nt_3
(to avoid look-up pb). 
Remove the version with double as an implicitu constructor from double
is available.
2011-12-30 11:20:05 +00:00
Sébastien Loriot 6014d39844 Lazy_alpha_nt -> Lazy_alpha_nt_3 2011-12-29 15:31:15 +00:00
Sébastien Loriot 7577fa9a75 missing typedef 2011-12-28 07:58:06 +00:00
Sébastien Loriot 52321a8cff update copyright and add an example using ExactAlphaComparisonTag 2011-12-27 16:15:09 +00:00
Sébastien Loriot 485237caf5 use ExactComparisonTag only if FT is a floating point NT 2011-12-27 15:33:13 +00:00
Sébastien Loriot e14fc08b34 use Default for base of Vertex and Cell 2011-12-27 14:36:29 +00:00
Sébastien Loriot d95c59bd29 add static assertions to check tags are correctly set 2011-12-27 14:19:42 +00:00
Sébastien Loriot 0d4cd34a0a use a tag to indicate whether exact comparison of alpha value should be done 2011-12-27 13:33:28 +00:00
Sébastien Loriot 579ff19113 fix in non-weighted case 2011-05-27 07:00:43 +00:00
Sébastien Loriot b39dc96716 merge from experimental-packages into the trunk 2011-04-13 11:25:23 +00:00
Sébastien Loriot 6d1fe79d6e documentation bug-fix
No support for geomview
Alpha_shape_3 -> Fixed_alpha_shape_3 in operator<<
2011-03-29 17:55:19 +00:00
Sébastien Loriot 0ebdccfa4e update URL and Id tag 2011-03-02 14:59:51 +00:00
Sébastien Loriot d1ab01a9b0 merge candidate package into trunk 2010-12-08 17:39:30 +00:00
Laurent Rineau 2186c1f5b5 Fix a parsing error: when CGAL_NO_DEPRECATED_CODE is define, the namespace
CGAL was not closed... then the compiler complains about namespaces
CGAL::std::, CGAL::CGAL:: and so on.
2010-11-18 09:57:36 +00:00
Andreas Fabri 869c6d8ce5 Added missing typedef 2010-06-24 07:04:43 +00:00
Andreas Fabri 2fa4ebaf7c int -> size_type 2010-06-23 13:58:41 +00:00
Andreas Fabri c4dd539d38 int -> size_type/std::size_t 2010-06-21 14:58:41 +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
Andreas Fabri fd8aa4ff57 Add using for ansi compliance 2010-05-11 07:02:21 +00:00
Andreas Fabri babe3c6000 Add 'using' statements for ansi-compliance 2010-05-10 08:53:05 +00:00
Manuel Caroli c47f020d5f establish compatibility to periodic triangulations 2009-12-04 12:16:03 +00:00
Sébastien Loriot 2b3fb983cd public interface for edgemap 2009-10-22 16:54:32 +00:00
Sébastien Loriot 6caed3812c deprecate class Weighted_alpha_shape_euclidean_traits_3, should use Regular_triangulation_euclidean_traits_3 instead. 2009-10-20 17:56:12 +00:00
Sébastien Loriot 31ca77072a -add const ref to construction in Weighted traits
-use triangulation geom traits instead of building a new one for squared_radius function
-modif function computing status of vertices: avoid two non-necessary comparison per vertex
-modif function computing status of edges: use incident cells instead of incident facets to init alpha_mid and alpha_max to avoid comparison of identical values
2009-10-08 08:34:33 +00:00
Andreas Fabri 0556076679 Remove Alpha_shape_euclidean_traits_3 class as compute_squared_radius is now part of the Kernel concept; Remove cmake generated Makefile 2009-07-06 20:26:44 +00:00
Mariette Yvinec 07961c96ac fixed the pb appeared when removing implicit conversion Point_3 ---> Sphere_3
I had to reactivate Alpha_shape_euclidean_traits_3 to get
a Compute_squared_radius_3  with an operator() for a single point. 

----------------------------------------
M    include/CGAL/Alpha_shape_euclidean_traits_3.h
M    examples/Alpha_shapes_3/ex_alpha_shapes_3.cpp
M    examples/Alpha_shapes_3/makefile
2009-05-28 12:36:24 +00:00
Andreas Fabri 898eb45ead Add a typedef to be in sync with the manual 2008-11-25 13:20:21 +00:00
Sylvain Pion 5829c41f2c Remove useless <CGAL/utility.h> includes 2008-07-25 15:10:02 +00:00
Sylvain Pion 3a368d6dc0 warning-- 2007-03-09 08:24:31 +00:00
Sylvain Pion e614678a18 remove warnings 2007-03-03 08:24:29 +00:00
Sylvain Pion 90154e1dcf Add missing CGAL:: (spotted by g++ 4.3) 2007-03-01 10:39:28 +00:00
Sylvain Pion 63bb39d027 remove obsolete commented code 2006-11-17 18:32:28 +00:00
Sylvain Pion bf92e3226a CGAL:: qualification of filter_iterator to protect against ADL. 2006-06-15 08:53:37 +00:00
Sylvain Pion 73ba6f9eef Add missing include file 2006-04-17 11:02:08 +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 f95e742de3 Move packages to trunk root 2006-02-14 08:58:13 +00:00