Open CASCADE Technology
7.1.0.beta
|
Compute the Delaunay's triangulation with the algorithm of Watson. More...
#include <BRepMesh_Delaun.hxx>
Public Member Functions | |
BRepMesh_Delaun (BRepMesh::Array1OfVertexOfDelaun &theVertices) | |
Creates the triangulation with an empty Mesh data structure. More... | |
BRepMesh_Delaun (const Handle< BRepMesh_DataStructureOfDelaun > &theOldMesh, BRepMesh::Array1OfVertexOfDelaun &theVertices) | |
Creates the triangulation with an existent Mesh data structure. More... | |
BRepMesh_Delaun (const Handle< BRepMesh_DataStructureOfDelaun > &theOldMesh, BRepMesh::Array1OfInteger &theVertexIndices) | |
Creates the triangulation with an existant Mesh data structure. More... | |
void | Init (BRepMesh::Array1OfVertexOfDelaun &theVertices) |
Initializes the triangulation with an array of vertices. More... | |
void | RemoveVertex (const BRepMesh_Vertex &theVertex) |
Removes a vertex from the triangulation. More... | |
void | AddVertices (BRepMesh::Array1OfVertexOfDelaun &theVertices) |
Adds some vertices into the triangulation. More... | |
Standard_Boolean | UseEdge (const Standard_Integer theEdge) |
Modify mesh to use the edge. More... | |
const Handle< BRepMesh_DataStructureOfDelaun > & | Result () const |
Gives the Mesh data structure. More... | |
BRepMesh::HMapOfInteger | Frontier () const |
Gives the list of frontier edges. More... | |
BRepMesh::HMapOfInteger | InternalEdges () const |
Gives the list of internal edges. More... | |
BRepMesh::HMapOfInteger | FreeEdges () const |
Gives the list of free edges used only one time. More... | |
const BRepMesh_Vertex & | GetVertex (const Standard_Integer theIndex) const |
Gives vertex with the given index. More... | |
const BRepMesh_Edge & | GetEdge (const Standard_Integer theIndex) const |
Gives edge with the given index. More... | |
const BRepMesh_Triangle & | GetTriangle (const Standard_Integer theIndex) const |
Gives triangle with the given index. More... | |
const BRepMesh_CircleTool & | Circles () const |
Returns tool used to build mesh consistent to Delaunay criteria. More... | |
Standard_Boolean | Contains (const Standard_Integer theTriangleId, const BRepMesh_Vertex &theVertex, const Standard_Real theSqTolerance, Standard_Integer &theEdgeOn) const |
Test is the given triangle contains the given vertex. More... | |
Compute the Delaunay's triangulation with the algorithm of Watson.
BRepMesh_Delaun::BRepMesh_Delaun | ( | BRepMesh::Array1OfVertexOfDelaun & | theVertices | ) |
Creates the triangulation with an empty Mesh data structure.
BRepMesh_Delaun::BRepMesh_Delaun | ( | const Handle< BRepMesh_DataStructureOfDelaun > & | theOldMesh, |
BRepMesh::Array1OfVertexOfDelaun & | theVertices | ||
) |
Creates the triangulation with an existent Mesh data structure.
BRepMesh_Delaun::BRepMesh_Delaun | ( | const Handle< BRepMesh_DataStructureOfDelaun > & | theOldMesh, |
BRepMesh::Array1OfInteger & | theVertexIndices | ||
) |
Creates the triangulation with an existant Mesh data structure.
void BRepMesh_Delaun::AddVertices | ( | BRepMesh::Array1OfVertexOfDelaun & | theVertices | ) |
Adds some vertices into the triangulation.
|
inline |
Returns tool used to build mesh consistent to Delaunay criteria.
Standard_Boolean BRepMesh_Delaun::Contains | ( | const Standard_Integer | theTriangleId, |
const BRepMesh_Vertex & | theVertex, | ||
const Standard_Real | theSqTolerance, | ||
Standard_Integer & | theEdgeOn | ||
) | const |
Test is the given triangle contains the given vertex.
theSqTolerance | square tolerance to check closeness to some edge |
theEdgeOn | If it is != 0 the vertex lies onto the edge index returned through this parameter. |
|
inline |
Gives the list of free edges used only one time.
|
inline |
Gives the list of frontier edges.
|
inline |
Gives edge with the given index.
|
inline |
Gives triangle with the given index.
|
inline |
Gives vertex with the given index.
void BRepMesh_Delaun::Init | ( | BRepMesh::Array1OfVertexOfDelaun & | theVertices | ) |
Initializes the triangulation with an array of vertices.
|
inline |
Gives the list of internal edges.
void BRepMesh_Delaun::RemoveVertex | ( | const BRepMesh_Vertex & | theVertex | ) |
Removes a vertex from the triangulation.
|
inline |
Gives the Mesh data structure.
Standard_Boolean BRepMesh_Delaun::UseEdge | ( | const Standard_Integer | theEdge | ) |
Modify mesh to use the edge.