Commit Graph

73346 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé cc7a826efb Added default offset parameter to construct_periodic_3_segment() 2017-05-30 10:05:44 +02:00
Mael Rouxel-Labbé 91a771acbe Added some comments 2017-05-30 10:05:27 +02:00
Mael Rouxel-Labbé bf1853aabd Reworked the point() functions of periodic triangulations
Commit f554c062e39978fd8c0f15ba6a6d90597b36d768 fixed a lot of stuff
but point() functions were still a bit messy.

Now, ALL `point()` functions return a canonical point. If one wants to
get the "real" point in the complete space, one should use v->point()

point() must be the canonical point and not the real point since we
will pass P3T3 to other packages (Mesh_3/Alpha_shapes_3) that will
use tr.point(v) and expect the canonical point.

Might be worth to introduce a function "real_point()" to return v->point()
2017-05-30 09:59:09 +02:00
Mael Rouxel-Labbé 2c298448b6 Removed useless variables 2017-05-30 09:56:18 +02:00
Mael Rouxel-Labbé a88f72fe4e Moved a function
to be with similar traits functions
2017-05-30 09:43:43 +02:00
Mael Rouxel-Labbé b5006fda88 Revert "Changed some v->point() to tr.point(v)"
This reverts commit c373227616bed00f97115d5cab14ede38f3b5223.

tr.point() will now be a canonical point (a point in the base domain)
while here we do not want to have a canonical point
2017-05-29 16:20:10 +02:00
Mael Rouxel-Labbé d50022813b Clarified comment 2017-05-29 16:06:50 +02:00
Mael Rouxel-Labbé 9b5f5be821 Fixed bad merge and removed the last include of Reg_tr_euclidean_traits_2 2017-05-24 14:08:23 +02:00
Mael Rouxel-Labbé 1059dcb78f Fixed bad merge 2017-05-24 14:08:00 +02:00
Mael Rouxel-Labbé aab9c237e7 Removed duplicate "using function()" 2017-05-24 12:24:50 +02:00
Mael Rouxel-Labbé 06fb6b2b15 Construct_point_2 should not copy the domain 2017-05-24 12:24:18 +02:00
Mael Rouxel-Labbé c554a16695 Fixed bad copy paste 2017-05-24 12:23:10 +02:00
Mael Rouxel-Labbé 5354134469 Merge branch 'Periodic_3_Regular_triangulation_3-APelle-old' into Periodic_3_Regular_triangulation_3-APelle 2017-05-24 12:18:49 +02:00
Mael Rouxel-Labbé 1ee7526d19 Improved changes.html 2017-05-24 11:12:50 +02:00
Mael Rouxel-Labbé 598244b1a5 Fixed point / weighted_point usage 2017-05-22 14:15:58 +02:00
Mael Rouxel-Labbé f0fc367b45 Fixed missing dependency in T3's documentation 2017-05-22 11:53:47 +02:00
Mael Rouxel-Labbé ce37aff4ea Updated changes.html 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 7b1041a3d8 Minor doc improvements to T2 documentation 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé b0162b7ac0 Fixed Point / Point_3 issues in T3 and improved the documentation
-- Do not use concept names as template names in the doc
-- Fixed point / point_3 issues and other problems of coherence between concept
and model
-- Fixed some wrong refinement relationships
2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 971d916f5d MeshVertexBase_3 must refine RegularTriangulationVertexBase_3
and not TriangulationVertexBase_3
2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 8b6a91e6bb Cosmetic changes to MeshCellBase_3 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé dac5daddbb Cleaned off Weighted_alpha_shape_euclidean_traits_2 from the ipelet demo 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 8a1fac230e Fixed the concept MeshCellBase_3
The surface center is not of type Tr::Point, but Tr::Bare_point.
Added to changes.html
2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé b65bfb3a4e Fixed minor mistakes from a rebase 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé f53e376ec2 Fixed Point typedef in Triangulation_3 doc 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 404e8b81ec Fixed documentation of Regular cell bases
-- Regular_triangulation_cell_base_3 must document hidden_points handling
functions

-- Regular cell bases must document their Point type
2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 09e319219d Cleaned Weighted_point_mappers from the documentation 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 6b637e0574 Removed obsolete class Creator_weighted_point_3.h 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 7185d8fec0 Fixed boost/core/is_same.hpp > boost/type_traits/is_same.hpp 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 757c18868b Forgot compact_mesh_cell_base in f2a308d
That is, making cell_bases models of the concept RegularTriangulationCellBase_3
2017-05-22 11:27:02 +02:00
Jane Tournois 61aa1716af really use the GT given as a parameter
When the geom_traits given as parameter of `circumcenter` and/or
`weighted_circumcenter` was deriving from the cell base GT
(first template parameter), the gt was up-casted to the
cell base GT, and the function construct_circumcenter_3_object()
(or construct_weighted_circumcenter_3_object()) not
called on the right geom traits type --> possibly missing
the actual input of the function (the robust_circumcenter_traits in Mesh_3)

we add a static assert to check at compile time that point types are the same
2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 8ab41b37db Fixed using default templated class functions 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé bc54384c8b Fixed abusive class member initialization 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 9debfdfd78 Fixed wrong template type (which induced taking references of references) 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 4e9fd5e89e Added result_types to triangulation 2 test traits 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé e05211c0cd Fixed missing include 2017-05-22 11:27:02 +02:00
Jane Tournois c37857bd9e really use the GT given as a parameter
When the geom_traits given as parameter of `circumcenter` and/or
`weighted_circumcenter` was deriving from the cell base GT
(first template parameter), the gt was up-casted to the
cell base GT, and the function construct_circumcenter_3_object()
(or construct_weighted_circumcenter_3_object()) not
called on the right geom traits type --> possibly missing
the actual input of the function (the robust_circumcenter_traits in Mesh_3)

we add a static assert to check at compile time that both geom traits
are compatible
2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé ecd7bbdc3e Changed boost/core/enable_if.hpp to boost/utility/enable_if.hpp 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 8018a6277c Fixed starting template parameters with <:: 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 550920dc80 Trimmed Construct_point_23's note in TriangulationTraits_23 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 512f96f9ef Modified changes.html 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 768b3f5b02 Fixed regular cell bases so they actually model the concept
Also, they should not use Bare_point / Weighted_point types, which are defined
in the triangulation (much later during compilation).
2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 63281390f8 Aligned the concept RegularTriangulationCellBase_3 with other similar concepts
That is, it should define the type `Point` (instead of `Weighted_point`), like
in TriangulationVertexBase_3 and RegularTriangulationVertexBase_3.
2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 29b6f370a3 Clarified some documentation about the usage of Construct_point_23 in TTraits_23 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 7392999820 Modified changes.txt 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 4f3beae7e0 EMST based on regular uses edges weighted with the power distance
Assuming an EMST based on a regular triangulation makes sense, it should be
coherent in its distance: in the Delaunay version, we use the Euclidean
distance, so the power distance should be used for the regular triangulation
version.
2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 60c161ace1 Regular_triangulations are built using weighted points 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 70e1ac97f6 Fixed Has_nested_type_Bare_point includes 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 31ca9ee565 Fixed bare_point / weighted_point issue 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 55010319fb Generated random weights for random regular triangulations
building regular triangulations with non-uniform weights is slightly more
interesting
2017-05-22 11:27:02 +02:00