Skip to content

Namespace SFCGAL::triangulate#

Namespace List > triangulate

Triangulate dedicated namespace. More...

Namespaces#

Type Name
namespace detail
Triangulate detail namespace.

Classes#

Type Name
class ConstraintDelaunayTriangulation
2DZ constraint Delaunay triangulation
struct VertexInfo2

Public Types#

Type Name
typedef CGAL::Delaunay_triangulation_2< Kernel, triangulation_data_structure > Triangulation
typedef ConstraintDelaunayTriangulation::Vertex_handle Vertex_handle
typedef CGAL::Triangulation_data_structure_2< triangulation_vertex_base > triangulation_data_structure
typedef CGAL::Triangulation_vertex_base_with_info_2< VertexInfo2, Kernel > triangulation_vertex_base

Public Functions#

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

Detailed Description#

Todo

should be moved into algorithm namespace/folder

Public Types Documentation#

typedef Triangulation#

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

typedef Vertex_handle#

typedef ConstraintDelaunayTriangulation::Vertex_handle SFCGAL::triangulate::Vertex_handle;

typedef triangulation_data_structure#

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

typedef triangulation_vertex_base#

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

Public Functions Documentation#

function opentriangulatePolygon3D#

Triangulate a 3D MultiPolygon .

SFCGAL_API void triangulate::opentriangulatePolygon3D (
    const GeometryCollection & g,
    TriangulatedSurface & triangulatedSurface
) 

Todo

unittest


function triangulate#

input polyhedron must have its planes computed

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

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


function triangulate#

void triangulate::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


function triangulate2DZ#

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

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

function triangulate2DZ#

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

auto triangulate::triangulate2DZ (
    const Geometry & g
) 

function triangulateCollection2DZ#

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

function triangulatePolygon3D#

Triangulate 3D polygons in a Geometry.

void triangulate::triangulatePolygon3D (
    const Geometry & g,
    TriangulatedSurface & triangulatedSurface
) 

Parameters:

  • g input geometry
  • triangulatedSurface resulting TriangulatedSurface
  • usePolygonPlanes use polygon plane or Triangulate in OXY plane

function triangulatePolygon3D#

Triangulate a 3D Triangle (copy triangle)

void triangulate::triangulatePolygon3D (
    const Triangle & g,
    TriangulatedSurface & triangulatedSurface
) 

Todo

unittest


function triangulatePolygon3D#

Triangulate a 3D TriangulatedSurface (copy triangles)

void triangulate::triangulatePolygon3D (
    const TriangulatedSurface & g,
    TriangulatedSurface & triangulatedSurface
) 

Todo

unittest


function triangulatePolygon3D#

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

function triangulatePolygon3D#

Triangulate a 3D Polygon .

void triangulate::triangulatePolygon3D (
    const Polygon & g,
    TriangulatedSurface & triangulatedSurface
) 

Todo

unittest


function triangulatePolygon3D#

Triangulate 3D polygons in a PolyhedralSurface .

void triangulate::triangulatePolygon3D (
    const PolyhedralSurface & polyhedralSurface,
    TriangulatedSurface & triangulatedSurface
) 

function triangulatePolygon3D#

Triangulate a Solid .

void triangulate::triangulatePolygon3D (
    const Solid & g,
    TriangulatedSurface & triangulatedSurface
) 

Todo

unittest



The documentation for this class was generated from the following file /builds/sfcgal/SFCGAL/src/detail/triangulate/ConstraintDelaunayTriangulation.cpp