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

Namespaces

namespace  detail
 

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 triangulate2DZ (const Point &g, ConstraintDelaunayTriangulation &triangulation)
 
void triangulate2DZ (const LineString &g, ConstraintDelaunayTriangulation &triangulation)
 
void triangulate2DZ (const Polygon &g, ConstraintDelaunayTriangulation &triangulation)
 
void triangulate2DZ (const Triangle &g, ConstraintDelaunayTriangulation &triangulation)
 
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...
 

Typedef Documentation

◆ Triangulation

using SFCGAL::triangulate::Triangulation = typedef CGAL::Delaunay_triangulation_2<Kernel, triangulation_data_structure>

◆ triangulation_data_structure

using SFCGAL::triangulate::triangulation_data_structure = typedef CGAL::Triangulation_data_structure_2<triangulation_vertex_base>

◆ triangulation_vertex_base

using SFCGAL::triangulate::triangulation_vertex_base = typedef CGAL::Triangulation_vertex_base_with_info_2<VertexInfo2, Kernel>

◆ Vertex_handle

Function Documentation

◆ triangulate() [1/2]

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.

◆ triangulate() [2/2]

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.

◆ triangulate2DZ() [1/6]

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

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

◆ triangulate2DZ() [2/6]

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

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

◆ triangulate2DZ() [3/6]

void SFCGAL::triangulate::triangulate2DZ ( const LineString g,
ConstraintDelaunayTriangulation triangulation 
)

◆ triangulate2DZ() [4/6]

void SFCGAL::triangulate::triangulate2DZ ( const Point g,
ConstraintDelaunayTriangulation triangulation 
)

◆ triangulate2DZ() [5/6]

void SFCGAL::triangulate::triangulate2DZ ( const Polygon g,
ConstraintDelaunayTriangulation triangulation 
)

◆ triangulate2DZ() [6/6]

void SFCGAL::triangulate::triangulate2DZ ( const Triangle g,
ConstraintDelaunayTriangulation triangulation 
)

◆ triangulateCollection2DZ()

void SFCGAL::triangulate::triangulateCollection2DZ ( const Geometry g,
ConstraintDelaunayTriangulation triangulation 
)

◆ triangulatePolygon3D()

void SFCGAL::triangulate::triangulatePolygon3D ( const GeometryCollection g,
TriangulatedSurface triangulatedSurface 
)