Open CASCADE Technology 6.6.0
Public Member Functions
StlMesh_MeshExplorer Class Reference

Provides facilities to explore the triangles of
each mesh domain.

#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.

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.

Standard_Boolean MoreTriangle () const
void NextTriangle ()
 Raised if there is no more triangle in the current
domain.

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.

void TriangleOrientation (Standard_Real &Xn, Standard_Real &Yn, Standard_Real &Zn) const
 Raised if there is no more triangle in the current
domain.


Constructor & Destructor Documentation

StlMesh_MeshExplorer::StlMesh_MeshExplorer ( const Handle< StlMesh_Mesh > &  M)

Member Function Documentation

Standard_Real StlMesh_MeshExplorer::Deflection ( ) const
void StlMesh_MeshExplorer::InitTriangle ( const Standard_Integer  DomainIndex = 1)
Standard_Boolean StlMesh_MeshExplorer::MoreTriangle ( ) const
void StlMesh_MeshExplorer::NextTriangle ( )
void StlMesh_MeshExplorer::TriangleOrientation ( Standard_Real Xn,
Standard_Real Yn,
Standard_Real Zn 
) const
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

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines