Open CASCADE Technology 6.6.0
Public Member Functions | Static Public Member Functions | Protected Member Functions
BRepMesh_FastDiscretFace Class Reference

Algorithm to mesh a face with respect of the
frontier the deflection and by option the shared
components.

#include <BRepMesh_FastDiscretFace.hxx>

Inheritance diagram for BRepMesh_FastDiscretFace:
Inheritance graph
[legend]

Public Member Functions

 BRepMesh_FastDiscretFace (const Standard_Real theAngle, const Standard_Boolean theWithShare=Standard_True)
void Add (const TopoDS_Face &theFace, const Handle< BRepMesh_FaceAttribute > &theAttrib, const TopTools_DataMapOfShapeReal &theMapDefle, const TopTools_MutexForShapeProvider &theMutexProvider)
Standard_Real Control (const Handle< BRepAdaptor_HSurface > &theCaro, const Standard_Real theDefFace, BRepMesh_ListOfVertex &theInternalV, TColStd_ListOfInteger &theBadTriangles, TColStd_ListOfInteger &theNulTriangles, BRepMesh_Delaun &theTrigu, const Standard_Boolean theIsFirst)
const BRepMesh_TriangleTriangle (const Standard_Integer theIndex) const
 Gives the triangle of <Index>.

const BRepMesh_EdgeEdge (const Standard_Integer theIndex) const
 Gives the edge of index <Index>.

const BRepMesh_VertexVertex (const Standard_Integer theIndex) const
 Gives the vertex of <Index>.

const gp_PntPnt (const Standard_Integer theIndex) const
 Gives the location3d of the vertex of <Index>.

Static Public Member Functions

static gp_XY FindUV (const TopoDS_Vertex &theV, const gp_Pnt2d &theXY, const Standard_Integer theIp, const Handle< BRepAdaptor_HSurface > &theSFace, const Standard_Real theMinDist, const Handle< BRepMesh_FaceAttribute > &theFaceAttribute, BRepMesh_DataMapOfIntegerListOfXY &theLocation2dMap)

Protected Member Functions

Standard_Boolean RestoreStructureFromTriangulation (const TopoDS_Edge &theEdge, const TopoDS_Face &theFace, const Handle< BRepAdaptor_HSurface > &theSurf, const Handle< Poly_Triangulation > &theTrigu, const Standard_Real theDefEdge, const TopLoc_Location &theLoc, const TopTools_MutexForShapeProvider &theMutexProvider)

Constructor & Destructor Documentation

BRepMesh_FastDiscretFace::BRepMesh_FastDiscretFace ( const Standard_Real  theAngle,
const Standard_Boolean  theWithShare = Standard_True 
)

Member Function Documentation

void BRepMesh_FastDiscretFace::Add ( const TopoDS_Face theFace,
const Handle< BRepMesh_FaceAttribute > &  theAttrib,
const TopTools_DataMapOfShapeReal theMapDefle,
const TopTools_MutexForShapeProvider theMutexProvider 
)
Standard_Real BRepMesh_FastDiscretFace::Control ( const Handle< BRepAdaptor_HSurface > &  theCaro,
const Standard_Real  theDefFace,
BRepMesh_ListOfVertex theInternalV,
TColStd_ListOfInteger theBadTriangles,
TColStd_ListOfInteger theNulTriangles,
BRepMesh_Delaun theTrigu,
const Standard_Boolean  theIsFirst 
)
const BRepMesh_Edge& BRepMesh_FastDiscretFace::Edge ( const Standard_Integer  theIndex) const
static gp_XY BRepMesh_FastDiscretFace::FindUV ( const TopoDS_Vertex theV,
const gp_Pnt2d theXY,
const Standard_Integer  theIp,
const Handle< BRepAdaptor_HSurface > &  theSFace,
const Standard_Real  theMinDist,
const Handle< BRepMesh_FaceAttribute > &  theFaceAttribute,
BRepMesh_DataMapOfIntegerListOfXY theLocation2dMap 
) [static]
const gp_Pnt& BRepMesh_FastDiscretFace::Pnt ( const Standard_Integer  theIndex) const
Standard_Boolean BRepMesh_FastDiscretFace::RestoreStructureFromTriangulation ( const TopoDS_Edge theEdge,
const TopoDS_Face theFace,
const Handle< BRepAdaptor_HSurface > &  theSurf,
const Handle< Poly_Triangulation > &  theTrigu,
const Standard_Real  theDefEdge,
const TopLoc_Location theLoc,
const TopTools_MutexForShapeProvider theMutexProvider 
) [protected]
const BRepMesh_Triangle& BRepMesh_FastDiscretFace::Triangle ( const Standard_Integer  theIndex) const
const BRepMesh_Vertex& BRepMesh_FastDiscretFace::Vertex ( const Standard_Integer  theIndex) const

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