Open CASCADE Technology  7.5.0
Public Member Functions | Protected Types | Protected Member Functions
BRepMesh_NodeInsertionMeshAlgo< RangeSplitter, BaseAlgo > Class Template Reference

Extends base meshing algo in order to enable possibility of addition of free vertices into the mesh. More...

#include <BRepMesh_NodeInsertionMeshAlgo.hxx>

Inheritance diagram for BRepMesh_NodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >:
Inheritance graph
[legend]

Public Member Functions

 BRepMesh_NodeInsertionMeshAlgo ()
 Constructor. More...
 
virtual ~BRepMesh_NodeInsertionMeshAlgo ()
 Destructor. More...
 
virtual void Perform (const IMeshData::IFaceHandle &theDFace, const IMeshTools_Parameters &theParameters, const Message_ProgressRange &theRange) override
 Performs processing of the given face. More...
 

Protected Types

typedef NCollection_Shared< NCollection_Sequence< const gp_Pnt2d * > > SequenceOfPnt2d
 

Protected Member Functions

virtual Standard_Boolean initDataStructure () override
 Performs initialization of data structure using existing model data. More...
 
virtual Standard_Integer addNodeToStructure (const gp_Pnt2d &thePoint, const Standard_Integer theLocation3d, const BRepMesh_DegreeOfFreedom theMovability, const Standard_Boolean isForceAdd) override
 Adds the given 2d point to mesh data structure. Returns index of node in the structure. More...
 
virtual gp_Pnt2d getNodePoint2d (const BRepMesh_Vertex &theVertex) const override
 Returns 2d point associated to the given vertex. More...
 
const RangeSplitter & getRangeSplitter () const
 Returns range splitter. More...
 
const Handle< BRepMesh_Classifier > & getClassifier () const
 Returns classifier. More...
 

Detailed Description

template<class RangeSplitter, class BaseAlgo>
class BRepMesh_NodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >

Extends base meshing algo in order to enable possibility of addition of free vertices into the mesh.

Member Typedef Documentation

◆ SequenceOfPnt2d

template<class RangeSplitter , class BaseAlgo >
typedef NCollection_Shared<NCollection_Sequence<const gp_Pnt2d*> > BRepMesh_NodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >::SequenceOfPnt2d
protected

Constructor & Destructor Documentation

◆ BRepMesh_NodeInsertionMeshAlgo()

template<class RangeSplitter , class BaseAlgo >
BRepMesh_NodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >::BRepMesh_NodeInsertionMeshAlgo ( )
inline

Constructor.

◆ ~BRepMesh_NodeInsertionMeshAlgo()

template<class RangeSplitter , class BaseAlgo >
virtual BRepMesh_NodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >::~BRepMesh_NodeInsertionMeshAlgo ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ addNodeToStructure()

template<class RangeSplitter , class BaseAlgo >
virtual Standard_Integer BRepMesh_NodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >::addNodeToStructure ( const gp_Pnt2d thePoint,
const Standard_Integer  theLocation3d,
const BRepMesh_DegreeOfFreedom  theMovability,
const Standard_Boolean  isForceAdd 
)
inlineoverrideprotectedvirtual

Adds the given 2d point to mesh data structure. Returns index of node in the structure.

◆ getClassifier()

template<class RangeSplitter , class BaseAlgo >
const Handle< BRepMesh_Classifier >& BRepMesh_NodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >::getClassifier ( ) const
inlineprotected

Returns classifier.

◆ getNodePoint2d()

template<class RangeSplitter , class BaseAlgo >
virtual gp_Pnt2d BRepMesh_NodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >::getNodePoint2d ( const BRepMesh_Vertex theVertex) const
inlineoverrideprotectedvirtual

Returns 2d point associated to the given vertex.

◆ getRangeSplitter()

template<class RangeSplitter , class BaseAlgo >
const RangeSplitter& BRepMesh_NodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >::getRangeSplitter ( ) const
inlineprotected

Returns range splitter.

◆ initDataStructure()

template<class RangeSplitter , class BaseAlgo >
virtual Standard_Boolean BRepMesh_NodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >::initDataStructure ( )
inlineoverrideprotectedvirtual

Performs initialization of data structure using existing model data.

Reimplemented in BRepMesh_DelaunayNodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >.

◆ Perform()

template<class RangeSplitter , class BaseAlgo >
virtual void BRepMesh_NodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >::Perform ( const IMeshData::IFaceHandle theDFace,
const IMeshTools_Parameters theParameters,
const Message_ProgressRange theRange 
)
inlineoverridevirtual

Performs processing of the given face.


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