-
a property map associating points to the elements of the range
points
-
Type: a model of
ReadablePropertyMap
whose value type is a point type convertible to the point type -
Default:
CGAL::Identity_property_map
CGAL 6.1 - 3D Constrained Triangulations
|
Functions | |
template<typename Triangulation = CGAL::Default, typename PolygonMesh , typename NamedParameters = CGAL::parameters::Default_named_parameters> | |
auto | CGAL::make_conforming_constrained_Delaunay_triangulation_3 (const PolygonMesh &mesh, const NamedParameters &np=parameters::default_values()) |
creates a 3D constrained Delaunay triangulation conforming to the faces of a polygon mesh. | |
template<typename Triangulation = CGAL::Default, typename PointRange , typename PolygonRange , typename NamedParameters = parameters::Default_named_parameters> | |
auto | CGAL::make_conforming_constrained_Delaunay_triangulation_3 (const PointRange &points, const PolygonRange &polygons, const NamedParameters &np=parameters::default_values()) |
creates a 3D constrained Delaunay triangulation conforming to the faces of a polygon soup. | |
auto CGAL::make_conforming_constrained_Delaunay_triangulation_3 | ( | const PointRange & | points, |
const PolygonRange & | polygons, | ||
const NamedParameters & | np = parameters::default_values() |
||
) |
#include <CGAL/make_conforming_constrained_Delaunay_triangulation_3.h>
creates a 3D constrained Delaunay triangulation conforming to the faces of a polygon soup.
The polygon soup represents the polygonal constraints that will be enforced during the triangulation process.
By default, each face of the polygon soup is considered as a polygonal constraint for the triangulation. The named parameter face_patch_map
can be used to describe bigger polygonal constraints, possibly with holes. If used, the argument of that parameter must be a property map that maps each face of the polygon soup to a patch identifier. Faces with the same patch identifier are considered as part of the same surface patch. Each of those surface patches (defined as the union of the faces with a given patch id) is supposed to be a polygon or a polygon with holes, with coplanar vertices (or almost coplanar up to the precision of the number type used).
The generated triangulation will be constrained to conform to the faces of the polygon soup, or to the surface patches described by the face_patch_map
property map if provided.
Triangulation | An instance of the CGAL::Conforming_constrained_Delaunay_triangulation_3 class template (or CGAL::Default ).
|
PointRange | a model of the concept RandomAccessContainer whose value type is the point type |
PolygonRange | a model of the concept RandomAccessContainer whose value type is a model of the concept RandomAccessContainer whose value type is std::size_t |
NamedParameters | a sequence of Named Parameters |
If Triangulation
is CGAL::Default
, the geometric traits Traits
is deduced from the point type in PointRange
and the named parameters NamedParameters
. And then the default conforming constrained Delaunay triangulation is CGAL::Conforming_constrained_Delaunay_triangulation_3<Traits>
.
points | a range of points representing the vertices of the polygon soup |
polygons | a range of ranges of indices representing the faces of the polygon soup |
np | an optional sequence of Named Parameters among the ones listed below |
| |
| |
|
auto CGAL::make_conforming_constrained_Delaunay_triangulation_3 | ( | const PolygonMesh & | mesh, |
const NamedParameters & | np = parameters::default_values() |
||
) |
#include <CGAL/make_conforming_constrained_Delaunay_triangulation_3.h>
creates a 3D constrained Delaunay triangulation conforming to the faces of a polygon mesh.
The polygon mesh represents the polygonal constraints that will be enforced during the triangulation process.
By default, each face of the polygon mesh is considered as a polygonal constraint for the triangulation. The named parameter face_patch_map
can be used to describe bigger polygonal constraints, possibly with holes. If used, the argument of that parameter must be a property map that maps each face of the polygon mesh to a patch identifier. Faces with the same patch identifier are considered as part of the same surface patch. Each of those surface patches (defined as the union of the mesh faces with a given patch id) is supposed to be a polygon or a polygon with holes, with coplanar vertices (or almost coplanar up to the precision of the number type used).
The generated triangulation will be constrained to conform to the faces of the polygon mesh, or to the surface patches described by the face_patch_map
property map if provided.
Triangulation | An instance of the CGAL::Conforming_constrained_Delaunay_triangulation_3 class template (or CGAL::Default ).
|
PolygonMesh | a model of FaceListGraph |
NamedParameters | a sequence of Named Parameters |
If Triangulation
is CGAL::Default
, the geometric traits Traits
is deduced from the polygon mesh type PolygonMesh
and the named parameters NamedParameters
. And then the default conforming constrained Delaunay triangulation is CGAL::Conforming_constrained_Delaunay_triangulation_3<Traits>
.
mesh | The polygon mesh representing the constraints. |
np | an optional sequence of Named Parameters among the ones listed below |
| |
| |
|
mesh
must not have self-intersections: CGAL::Polygon_mesh_processing::does_self_intersect(mesh, np) == false