CDT  1.4.1
C++ library for constrained Delaunay triangulation
Loading...
Searching...
No Matches
Public API

Contains API for constrained and conforming Delaunay triangulations More...

Collaboration diagram for Public API:

Topics

 Helpers
 Helpers for working with CDT::Triangulation.
 
 Triangulation Class
 Class performing triangulations.
 

Classes

struct  CDT::VertexInsertionOrder
 Enum of strategies specifying order in which a range of vertices is inserted. More...
 
struct  CDT::SuperGeometryType
 Enum of what type of geometry used to embed triangulation into. More...
 
struct  CDT::IntersectingConstraintEdges
 Enum of strategies for treating intersecting constraint edges. More...
 
class  CDT::SourceLocation
 Contains source location info: file, function, line. More...
 
class  CDT::Error
 Base class for errors. More...
 
class  CDT::FinalizedError
 Error thrown when triangulation modification is attempted after it was finalized. More...
 
class  CDT::DuplicateVertexError
 Error thrown when duplicate vertex is detected during vertex insertion. More...
 
class  CDT::IntersectingConstraintsError
 Error thrown when intersecting constraint edges are detected, but triangulation is not configured to attempt to resolve them. More...
 
class  CDT::Triangulation< T, TNearPointLocator >
 Data structure representing a 2D constrained Delaunay triangulation. More...
 

Macros

#define CDT_SOURCE_LOCATION    SourceLocation(std::string(__FILE__), std::string(__func__), __LINE__)
 Macro for getting source location.
 

Typedefs

typedef unsigned short CDT::LayerDepth
 Type used for storing layer depths for triangles.
 
typedef LayerDepth CDT::BoundaryOverlapCount
 
typedef std::vector< TriIndVecCDT::VerticesTriangles
 Triangles by vertex index.
 

Detailed Description

Contains API for constrained and conforming Delaunay triangulations

Macro Definition Documentation

◆ CDT_SOURCE_LOCATION

#define CDT_SOURCE_LOCATION    SourceLocation(std::string(__FILE__), std::string(__func__), __LINE__)

Macro for getting source location.

Definition at line 131 of file Triangulation.h.

Typedef Documentation

◆ BoundaryOverlapCount

typedef LayerDepth CDT::BoundaryOverlapCount

Definition at line 41 of file CDT.h.

◆ LayerDepth

typedef unsigned short CDT::LayerDepth

Type used for storing layer depths for triangles.

Note
LayerDepth should support 60K+ layers, which could be to much or too little for some use cases. Feel free to re-define this typedef.

Definition at line 40 of file CDT.h.

◆ VerticesTriangles

typedef std::vector<TriIndVec> CDT::VerticesTriangles

Triangles by vertex index.

Definition at line 44 of file CDT.h.