Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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.
More...

#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>.
More...
 
const BRepMesh_EdgeEdge (const Standard_Integer theIndex) const
 Gives the edge of index <Index>.
More...
 
const BRepMesh_VertexVertex (const Standard_Integer theIndex) const
 Gives the vertex of <Index>.
More...
 
const gp_PntPnt (const Standard_Integer theIndex) const
 Gives the location3d of the vertex of <Index>.
More...
 
- Public Member Functions inherited from MMgt_TShared
virtual void Delete () const
 Memory deallocator for transient classes. More...
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor. More...
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing. More...
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter. More...
 
virtual ~Standard_Transient ()
 Destructor must be virtual. More...
 
virtual void ShallowDump (Standard_OStream &) const
 
virtual const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object. More...
 
Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type. More...
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName. More...
 
Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
 Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_Boolean IsKind (const Standard_CString theTypeName) const
 Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
virtual Handle_Standard_Transient This () const
 Returns a Handle which references this object. Must never be called to objects created in stack. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 

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)
 

Detailed Description

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

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

Gives the edge of index <Index>.

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

Gives the location3d of the vertex of <Index>.

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

Gives the triangle of <Index>.

const BRepMesh_Vertex& BRepMesh_FastDiscretFace::Vertex ( const Standard_Integer  theIndex) const

Gives the vertex of <Index>.


The documentation for this class was generated from the following file: