Open CASCADE Technology
7.1.0.beta
|
Provides facilities to explore the triangles of each mesh domain. More...
#include <StlMesh_MeshExplorer.hxx>
Public Member Functions | |
StlMesh_MeshExplorer (const Handle< StlMesh_Mesh > &M) | |
Standard_Real | Deflection () const |
Returns the mesh deflection of the current domain. More... | |
void | InitTriangle (const Standard_Integer DomainIndex=1) |
Initializes the exploration of the triangles of the mesh domain of range <DomainIndex>. Raised if <DomainIndex> is lower than 1 or greater than the number of domains. More... | |
Standard_Boolean | MoreTriangle () const |
void | NextTriangle () |
Raised if there is no more triangle in the current domain. More... | |
void | TriangleVertices (Standard_Real &X1, Standard_Real &Y1, Standard_Real &Z1, Standard_Real &X2, Standard_Real &Y2, Standard_Real &Z2, Standard_Real &X3, Standard_Real &Y3, Standard_Real &Z3) const |
Raised if there is no more triangle in the current domain. More... | |
void | TriangleOrientation (Standard_Real &Xn, Standard_Real &Yn, Standard_Real &Zn) const |
Raised if there is no more triangle in the current domain. More... | |
Provides facilities to explore the triangles of each mesh domain.
StlMesh_MeshExplorer::StlMesh_MeshExplorer | ( | const Handle< StlMesh_Mesh > & | M | ) |
Standard_Real StlMesh_MeshExplorer::Deflection | ( | ) | const |
Returns the mesh deflection of the current domain.
void StlMesh_MeshExplorer::InitTriangle | ( | const Standard_Integer | DomainIndex = 1 | ) |
Initializes the exploration of the triangles of the mesh domain of range <DomainIndex>. Raised if <DomainIndex> is lower than 1 or greater than the number of domains.
Standard_Boolean StlMesh_MeshExplorer::MoreTriangle | ( | ) | const |
void StlMesh_MeshExplorer::NextTriangle | ( | ) |
Raised if there is no more triangle in the current domain.
void StlMesh_MeshExplorer::TriangleOrientation | ( | Standard_Real & | Xn, |
Standard_Real & | Yn, | ||
Standard_Real & | Zn | ||
) | const |
Raised if there is no more triangle in the current domain.
void StlMesh_MeshExplorer::TriangleVertices | ( | Standard_Real & | X1, |
Standard_Real & | Y1, | ||
Standard_Real & | Z1, | ||
Standard_Real & | X2, | ||
Standard_Real & | Y2, | ||
Standard_Real & | Z2, | ||
Standard_Real & | X3, | ||
Standard_Real & | Y3, | ||
Standard_Real & | Z3 | ||
) | const |
Raised if there is no more triangle in the current domain.