Open CASCADE Technology  7.4.1.dev
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. More...
 
virtual ~BRepMesh_DelaunayNodeInsertionMeshAlgo ()
 Destructor. More...
 
Standard_Boolean IsPreProcessSurfaceNodes () const
 Returns PreProcessSurfaceNodes flag. More...
 
void SetPreProcessSurfaceNodes (const Standard_Boolean isPreProcessSurfaceNodes)
 Sets PreProcessSurfaceNodes flag. If TRUE, registers surface nodes before generation of base mesh. If FALSE, inserts surface nodes after generation of base mesh. More...
 
- Public Member Functions inherited from BRepMesh_NodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >
 BRepMesh_NodeInsertionMeshAlgo ()
 Constructor. More...
 
virtual ~BRepMesh_NodeInsertionMeshAlgo ()
 Destructor. More...
 
virtual void Perform (const IMeshData::IFaceHandle &theDFace, const IMeshTools_Parameters &theParameters) override
 Performs processing of the given face. More...
 

Protected Member Functions

virtual Standard_Boolean initDataStructure () override
 Performs initialization of data structure using existing model data. More...
 
virtual std::pair< Standard_Integer, Standard_IntegergetCellsCount (const Standard_Integer theVerticesNb) override
 Returns size of cell to be used by acceleration circles grid structure. More...
 
virtual void postProcessMesh (BRepMesh_Delaun &theMesher) override
 Perfroms processing of generated mesh. Generates surface nodes and inserts them into structure. More...
 
Standard_Boolean insertNodes (const Handle< IMeshData::ListOfPnt2d > &theNodes, BRepMesh_Delaun &theMesher)
 Inserts nodes into mesh. More...
 
- Protected Member Functions inherited from BRepMesh_NodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >
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...
 

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()

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

Constructor.

◆ ~BRepMesh_DelaunayNodeInsertionMeshAlgo()

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

Destructor.

Member Function Documentation

◆ getCellsCount()

template<class RangeSplitter , class BaseAlgo >
virtual std::pair<Standard_Integer, Standard_Integer> BRepMesh_DelaunayNodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >::getCellsCount ( const Standard_Integer  theVerticesNb)
inlineoverrideprotectedvirtual

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

◆ initDataStructure()

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

Performs initialization of data structure using existing model data.

Reimplemented from BRepMesh_NodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >.

◆ insertNodes()

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

Inserts nodes into mesh.

◆ IsPreProcessSurfaceNodes()

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

Returns PreProcessSurfaceNodes flag.

◆ postProcessMesh()

template<class RangeSplitter , class BaseAlgo >
virtual void BRepMesh_DelaunayNodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >::postProcessMesh ( BRepMesh_Delaun theMesher)
inlineoverrideprotectedvirtual

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

Reimplemented in BRepMesh_DelaunayDeflectionControlMeshAlgo< RangeSplitter, BaseAlgo >.

◆ SetPreProcessSurfaceNodes()

template<class RangeSplitter , class BaseAlgo >
void BRepMesh_DelaunayNodeInsertionMeshAlgo< RangeSplitter, BaseAlgo >::SetPreProcessSurfaceNodes ( const Standard_Boolean  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: