SFCGAL  2.2.0
Namespaces | Classes | Typedefs | Functions
SFCGAL::triangulate Namespace Reference

Triangulate dedicated namespace. More...

Namespaces

 detail
 Triangulate detail namespace.
 

Classes

class  ConstraintDelaunayTriangulation
 2DZ constraint Delaunay triangulation More...
 
struct  VertexInfo2
 vertex information with original coordinates More...
 

Typedefs

using triangulation_vertex_base = CGAL::Triangulation_vertex_base_with_info_2< VertexInfo2, Kernel >
 
using triangulation_data_structure = CGAL::Triangulation_data_structure_2< triangulation_vertex_base >
 
using Triangulation = CGAL::Delaunay_triangulation_2< Kernel, triangulation_data_structure >
 
using Vertex_handle = ConstraintDelaunayTriangulation::Vertex_handle
 

Functions

void triangulate (const MarkedPolyhedron &polyhedron, GeometrySet< 3 > &geometry)
 input polyhedron must have its planes computed More...
 
void triangulate (const CGAL::Polygon_with_holes_2< Kernel > &polygon, detail::GeometrySet< 2 > &geometry)
 Populate the GeometrySet<2> geometry with the triangulation (list of polygons) of a polygon. More...
 
void triangulateCollection2DZ (const Geometry &g, ConstraintDelaunayTriangulation &triangulation)
 
void triangulate2DZ (const Geometry &g, ConstraintDelaunayTriangulation &triangulate)
 Constraint 2DZ Delaunay Triangulation (keep Z if defined, a projectionPlane may be provided) More...
 
auto triangulate2DZ (const Geometry &g)
 Constraint 2DZ Delaunay Triangulation (keep Z if defined, project points in OXY plane) More...
 
void triangulatePolygon3D (const Geometry &g, TriangulatedSurface &triangulatedSurface)
 Triangulate 3D polygons in a Geometry. More...
 
void triangulatePolygon3D (const Triangle &g, TriangulatedSurface &triangulatedSurface)
 Triangulate a 3D Triangle (copy triangle) More...
 
void triangulatePolygon3D (const TriangulatedSurface &g, TriangulatedSurface &triangulatedSurface)
 Triangulate a 3D TriangulatedSurface (copy triangles) More...
 
void triangulatePolygon3D (const GeometryCollection &g, TriangulatedSurface &triangulatedSurface)
 
void triangulatePolygon3D (const Polygon &g, TriangulatedSurface &triangulatedSurface)
 Triangulate a 3D Polygon. More...
 
void triangulatePolygon3D (const PolyhedralSurface &polyhedralSurface, TriangulatedSurface &triangulatedSurface)
 Triangulate 3D polygons in a PolyhedralSurface. More...
 
void triangulatePolygon3D (const Solid &g, TriangulatedSurface &triangulatedSurface)
 Triangulate a Solid. More...
 
SFCGAL_API void opentriangulatePolygon3D (const GeometryCollection &g, TriangulatedSurface &triangulatedSurface)
 Triangulate a 3D MultiPolygon. More...
 

Detailed Description

Triangulate dedicated namespace.

Todo:
should be moved into algorithm namespace/folder

Typedef Documentation

using SFCGAL::triangulate::Triangulation = typedef CGAL::Delaunay_triangulation_2<Kernel, triangulation_data_structure>
using SFCGAL::triangulate::triangulation_data_structure = typedef CGAL::Triangulation_data_structure_2<triangulation_vertex_base>
using SFCGAL::triangulate::triangulation_vertex_base = typedef CGAL::Triangulation_vertex_base_with_info_2<VertexInfo2, Kernel>

Function Documentation

SFCGAL_API void SFCGAL::triangulate::triangulate ( const MarkedPolyhedron polyhedron,
GeometrySet< 3 > &  geometry 
)

input polyhedron must have its planes computed

Populate the GeometrySet<3> geometry with the triangulation (list of triangles) of a polyhedron.

SFCGAL_API void SFCGAL::triangulate::triangulate ( const CGAL::Polygon_with_holes_2< Kernel > &  polygon,
GeometrySet< 2 > &  output 
)

Populate the GeometrySet<2> geometry with the triangulation (list of polygons) of a polygon.

SFCGAL_API void SFCGAL::triangulate::triangulate2DZ ( const Geometry &  g,
ConstraintDelaunayTriangulation triangulation 
)

Constraint 2DZ Delaunay Triangulation (keep Z if defined, a projectionPlane may be provided)

SFCGAL_API ConstraintDelaunayTriangulation SFCGAL::triangulate::triangulate2DZ ( const Geometry &  g) -> ConstraintDelaunayTriangulation

Constraint 2DZ Delaunay Triangulation (keep Z if defined, project points in OXY plane)

void SFCGAL::triangulate::triangulateCollection2DZ ( const Geometry &  g,
ConstraintDelaunayTriangulation triangulation 
)
SFCGAL_API void SFCGAL::triangulate::triangulatePolygon3D ( const Geometry &  g,
TriangulatedSurface triangulatedSurface 
)

Triangulate 3D polygons in a Geometry.

Parameters
ginput geometry
triangulatedSurfaceresulting TriangulatedSurface
usePolygonPlanesuse polygon plane or Triangulate in OXY plane
void SFCGAL::triangulate::triangulatePolygon3D ( const GeometryCollection g,
TriangulatedSurface triangulatedSurface 
)