Open CASCADE Technology 7.8.2.dev
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 >:

Public Member Functions

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

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.
 
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.
 
virtual gp_Pnt2d getNodePoint2d (const BRepMesh_Vertex &theVertex) const override
 Returns 2d point associated to the given vertex.
 
const RangeSplitter & getRangeSplitter () const
 Returns range splitter.
 
const Handle< BRepMesh_Classifier > & getClassifier () const
 Returns classifier.
 

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 >
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: