|
SFCGAL
2.3.0
|
2DZ constraint Delaunay triangulation More...
#include <ConstraintDelaunayTriangulation.h>
Classes | |
| struct | FaceInfo |
| face information (depth) More... | |
| struct | VertexInfo |
| vertex info in triangulation More... | |
Public Types | |
| typedef CGAL::Triangulation_vertex_base_with_info_2< VertexInfo, Kernel > | Triangulation_vertex_base |
| CGAL vertex base type with info. More... | |
| typedef CGAL::Triangulation_face_base_with_info_2< FaceInfo, Kernel > | Triangulation_face_base |
| CGAL face base type with info. More... | |
| typedef CGAL::Constrained_triangulation_face_base_2< Kernel, Triangulation_face_base > | Constrained_triangulation_face_base |
| CGAL constrained triangulation face base. More... | |
| typedef CGAL::Triangulation_data_structure_2< Triangulation_vertex_base, Constrained_triangulation_face_base > | Triangulation_data_structure |
| CGAL triangulation data structure type. More... | |
| typedef CGAL::Constrained_Delaunay_triangulation_2< Kernel, Triangulation_data_structure, CGAL::Exact_predicates_tag > | CDT |
| CGAL constrained Delaunay triangulation type. More... | |
| typedef CDT::Vertex_handle | Vertex_handle |
| Handle to vertex in triangulation. More... | |
| using | Face_handle = CDT::Face_handle |
| Handle to face in triangulation. More... | |
| typedef CDT::All_faces_iterator | All_faces_iterator |
| Iterator over all faces. More... | |
| typedef CDT::Finite_faces_iterator | Finite_faces_iterator |
| Iterator over finite faces. More... | |
Public Member Functions | |
| ConstraintDelaunayTriangulation () | |
| default constructor More... | |
| auto | addVertex (const Coordinate &position) -> Vertex_handle |
| Add a vertex to the triangulation. More... | |
| auto | addConstraint (Vertex_handle source, Vertex_handle target) -> void |
| Add a constraint edge to the triangulation. More... | |
| auto | clear () -> void |
| clear the triangulation More... | |
| auto | numVertices () const -> size_t |
| Returns the number of finite vertices. More... | |
| auto | numTriangles () const -> size_t |
| Returns the number of finite faces. More... | |
| auto | hasProjectionPlane () const -> bool |
| test if a projection plane is defined More... | |
| auto | setProjectionPlane (const Kernel::Plane_3 &projectionPlane) -> void |
| define projection plane More... | |
| auto | projectionPlane () const -> Kernel::Plane_3 |
| get the projection plane (OXY if not defined) More... | |
| auto | isInfinite (Vertex_handle vertex) const -> bool |
| test if the vertex is infinite More... | |
| auto | isInfinite (Face_handle face) const -> bool |
| test if the face has infinite vertex More... | |
| auto | getTriangles (TriangulatedSurface &triangulatedSurface, bool filterExteriorParts=false) const -> void |
| Append Triangles to a TriangulatedSurface. More... | |
| auto | getTriangulatedSurface () const -> std::unique_ptr< TriangulatedSurface > |
| get the resulting TriangulatedSurface More... | |
| auto | finite_faces_begin () const -> Finite_faces_iterator |
| get finite face iterator More... | |
| auto | finite_faces_end () const -> Finite_faces_iterator |
| get finite face iterator More... | |
| auto | all_faces_begin () const -> All_faces_iterator |
| get all face iterator More... | |
| auto | all_faces_end () const -> All_faces_iterator |
| get all face iterator More... | |
| auto | markDomains () -> void |
| fill nesting_level info in face info More... | |
| auto | cdt () -> CDT & |
| [advanced]get the CGAL object More... | |
| auto | cdt () const -> const CDT & |
| [advanced]get the CGAL object More... | |
2DZ constraint Delaunay triangulation
| typedef CDT::All_faces_iterator SFCGAL::triangulate::ConstraintDelaunayTriangulation::All_faces_iterator |
Iterator over all faces.
| typedef CGAL::Constrained_Delaunay_triangulation_2< Kernel, Triangulation_data_structure, CGAL::Exact_predicates_tag> SFCGAL::triangulate::ConstraintDelaunayTriangulation::CDT |
CGAL constrained Delaunay triangulation type.
| typedef CGAL::Constrained_triangulation_face_base_2<Kernel, Triangulation_face_base> SFCGAL::triangulate::ConstraintDelaunayTriangulation::Constrained_triangulation_face_base |
CGAL constrained triangulation face base.
| using SFCGAL::triangulate::ConstraintDelaunayTriangulation::Face_handle = CDT::Face_handle |
Handle to face in triangulation.
| typedef CDT::Finite_faces_iterator SFCGAL::triangulate::ConstraintDelaunayTriangulation::Finite_faces_iterator |
Iterator over finite faces.
| typedef CGAL::Triangulation_data_structure_2< Triangulation_vertex_base, Constrained_triangulation_face_base> SFCGAL::triangulate::ConstraintDelaunayTriangulation::Triangulation_data_structure |
CGAL triangulation data structure type.
| typedef CGAL::Triangulation_face_base_with_info_2<FaceInfo, Kernel> SFCGAL::triangulate::ConstraintDelaunayTriangulation::Triangulation_face_base |
CGAL face base type with info.
| typedef CGAL::Triangulation_vertex_base_with_info_2<VertexInfo, Kernel> SFCGAL::triangulate::ConstraintDelaunayTriangulation::Triangulation_vertex_base |
CGAL vertex base type with info.
| typedef CDT::Vertex_handle SFCGAL::triangulate::ConstraintDelaunayTriangulation::Vertex_handle |
Handle to vertex in triangulation.
|
default |
default constructor
| void SFCGAL::triangulate::ConstraintDelaunayTriangulation::addConstraint | ( | Vertex_handle | source, |
| Vertex_handle | target | ||
| ) | -> void |
Add a constraint edge to the triangulation.
| source | The source vertex handle |
| target | The target vertex handle |
| auto SFCGAL::triangulate::ConstraintDelaunayTriangulation::addVertex | ( | const Coordinate & | position | ) | -> Vertex_handle |
Add a vertex to the triangulation.
| position | The coordinate position of the vertex |
|
inline |
get all face iterator
|
inline |
get all face iterator
|
inline |
[advanced]get the CGAL object
|
inline |
[advanced]get the CGAL object
| void SFCGAL::triangulate::ConstraintDelaunayTriangulation::clear | ( | ) | -> void |
clear the triangulation
|
inline |
get finite face iterator
|
inline |
get finite face iterator
| void SFCGAL::triangulate::ConstraintDelaunayTriangulation::getTriangles | ( | TriangulatedSurface & | triangulatedSurface, |
| bool | filterExteriorParts = false |
||
| ) | const -> void |
Append Triangles to a TriangulatedSurface.
| triangulatedSurface | The surface to append triangles to |
| filterExteriorParts | If true, exclude exterior triangles |
| auto SFCGAL::triangulate::ConstraintDelaunayTriangulation::getTriangulatedSurface | ( | ) | const -> std::unique_ptr<TriangulatedSurface> |
get the resulting TriangulatedSurface
|
inline |
test if a projection plane is defined
|
inline |
test if the vertex is infinite
| vertex | The vertex handle to test |
|
inline |
test if the face has infinite vertex
| face | The face handle to test |
| void SFCGAL::triangulate::ConstraintDelaunayTriangulation::markDomains | ( | ) | -> void |
fill nesting_level info in face info
adapted from CGAL example
| auto SFCGAL::triangulate::ConstraintDelaunayTriangulation::numTriangles | ( | ) | const -> size_t |
Returns the number of finite faces.
| auto SFCGAL::triangulate::ConstraintDelaunayTriangulation::numVertices | ( | ) | const -> size_t |
Returns the number of finite vertices.
| auto SFCGAL::triangulate::ConstraintDelaunayTriangulation::projectionPlane | ( | ) | const -> Kernel::Plane_3 |
get the projection plane (OXY if not defined)
| void SFCGAL::triangulate::ConstraintDelaunayTriangulation::setProjectionPlane | ( | const Kernel::Plane_3 & | projectionPlane | ) | -> void |
define projection plane
| projectionPlane | The 3D plane to use for projection |
1.8.10