Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions
BRepMesh_DelaunayNodeInsertionMeshAlgo< RangeSplitter, BaseAlgo > Class Template Reference

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

#include <BRepMesh_DelaunayNodeInsertionMeshAlgo.hxx>

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

Public Member Functions

 BRepMesh_DelaunayNodeInsertionMeshAlgo ()
 Constructor.
 
 ~BRepMesh_DelaunayNodeInsertionMeshAlgo () override=default
 Destructor.
 
bool IsPreProcessSurfaceNodes () const
 Returns PreProcessSurfaceNodes flag.
 
void SetPreProcessSurfaceNodes (const bool isPreProcessSurfaceNodes)
 Sets PreProcessSurfaceNodes flag. If TRUE, registers surface nodes before generation of base mesh. If FALSE, inserts surface nodes after generation of base mesh.
 
- Public Member Functions inherited from BRepMesh_NodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >
 BRepMesh_NodeInsertionMeshAlgo ()=default
 Constructor.
 
 ~BRepMesh_NodeInsertionMeshAlgo () override=default
 Destructor.
 
void Perform (const IMeshData::IFaceHandle &theDFace, const IMeshTools_Parameters &theParameters, const Message_ProgressRange &theRange) override
 Performs processing of the given face.
 

Protected Member Functions

bool initDataStructure () override
 Performs initialization of data structure using existing model data.
 
std::pair< int, intgetCellsCount (const int theVerticesNb) override
 Returns size of cell to be used by acceleration circles grid structure.
 
void postProcessMesh (BRepMesh_Delaun &theMesher, const Message_ProgressRange &theRange) override
 Performs processing of generated mesh. Generates surface nodes and inserts them into structure.
 
bool insertNodes (const Handle< IMeshData::ListOfPnt2d > &theNodes, BRepMesh_Delaun &theMesher, const Message_ProgressRange &theRange)
 Inserts nodes into mesh.
 
- Protected Member Functions inherited from BRepMesh_NodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >
bool initDataStructure () override
 Performs initialization of data structure using existing model data.
 
int addNodeToStructure (const gp_Pnt2d &thePoint, const int theLocation3d, const BRepMesh_DegreeOfFreedom theMovability, const bool isForceAdd) override
 Adds the given 2d point to mesh data structure. Returns index of node in the structure.
 
gp_Pnt2d getNodePoint2d (const BRepMesh_Vertex &theVertex) const override
 Returns 2d point associated to the given vertex.
 
const RangeSplittergetRangeSplitter () const
 Returns range splitter.
 
const occ::handle< BRepMesh_Classifier > & getClassifier () const
 Returns classifier.
 

Additional Inherited Members

- Protected Types inherited from BRepMesh_NodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >
typedef NCollection_Shared< NCollection_Sequence< const gp_Pnt2d * > > SequenceOfPnt2d
 

Detailed Description

template<class RangeSplitter, class BaseAlgo>
class BRepMesh_DelaunayNodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >

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

Constructor & Destructor Documentation

◆ BRepMesh_DelaunayNodeInsertionMeshAlgo()

Constructor.

◆ ~BRepMesh_DelaunayNodeInsertionMeshAlgo()

Destructor.

Member Function Documentation

◆ getCellsCount()

template<class RangeSplitter , class BaseAlgo >
std::pair< int, int > BRepMesh_DelaunayNodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >::getCellsCount ( const int theVerticesNb)
inlineoverrideprotected

Returns size of cell to be used by acceleration circles grid structure.

◆ initDataStructure()

template<class RangeSplitter , class BaseAlgo >
bool BRepMesh_DelaunayNodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >::initDataStructure ( )
inlineoverrideprotected

Performs initialization of data structure using existing model data.

◆ insertNodes()

template<class RangeSplitter , class BaseAlgo >
bool BRepMesh_DelaunayNodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >::insertNodes ( const Handle< IMeshData::ListOfPnt2d > & theNodes,
BRepMesh_Delaun & theMesher,
const Message_ProgressRange & theRange )
inlineprotected

Inserts nodes into mesh.

◆ IsPreProcessSurfaceNodes()

template<class RangeSplitter , class BaseAlgo >
bool BRepMesh_DelaunayNodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >::IsPreProcessSurfaceNodes ( ) const
inline

Returns PreProcessSurfaceNodes flag.

◆ postProcessMesh()

template<class RangeSplitter , class BaseAlgo >
void BRepMesh_DelaunayNodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >::postProcessMesh ( BRepMesh_Delaun & theMesher,
const Message_ProgressRange & theRange )
inlineoverrideprotected

Performs processing of generated mesh. Generates surface nodes and inserts them into structure.

◆ SetPreProcessSurfaceNodes()

template<class RangeSplitter , class BaseAlgo >
void BRepMesh_DelaunayNodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >::SetPreProcessSurfaceNodes ( const bool isPreProcessSurfaceNodes)
inline

Sets PreProcessSurfaceNodes flag. If TRUE, registers surface nodes before generation of base mesh. If FALSE, inserts surface nodes after generation of base mesh.


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