Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
featurePointConformer Class Reference

The Delaunay vertices required to conform to a feature point can be determined upon initialisation because the feature points are fixed and do not change throughout the meshing process. More...

Collaboration diagram for featurePointConformer:
Collaboration graph
[legend]

Public Member Functions

 ClassName ("featurePointConformer")
 Runtime type information. More...
 
 featurePointConformer (const conformalVoronoiMesh &foamyHexMesh)
 Construct from components. More...
 
 ~featurePointConformer ()
 Destructor. More...
 
const List< Vb > & featurePointVertices () const
 Return the feature point vertices for insertion into the. More...
 
const pointPairs< Delaunay > & featurePointPairs () const
 Return the feature point pair table. More...
 
void distribute (const backgroundMeshDecomposition &decomposition)
 Distribute the feature point vertices according to the. More...
 
void reIndexPointPairs (const Map< label > &oldToNewIndices)
 Reindex the feature point pairs using the map. More...
 

Private Member Functions

vector sharedFaceNormal (const extendedFeatureEdgeMesh &feMesh, const label edgeI, const label nextEdgeI) const
 Calculate the shared face normal between two edges geometrically. More...
 
label getSign (const extendedFeatureEdgeMesh::edgeStatus eStatus) const
 
bool createSpecialisedFeaturePoint (const extendedFeatureEdgeMesh &feMesh, const labelList &pEds, const pointFeatureEdgesTypes &pFEdgesTypes, const List< extendedFeatureEdgeMesh::edgeStatus > &allEdStat, const label ptI, DynamicList< Vb > &pts) const
 
void addMasterAndSlavePoints (const DynamicList< point > &masterPoints, const DynamicList< indexedVertexEnum::vertexType > &masterPointsTypes, const Map< DynamicList< autoPtr< plane > > > &masterPointReflections, DynamicList< Vb > &pts, const label ptI) const
 
void createMasterAndSlavePoints (const extendedFeatureEdgeMesh &feMesh, const label ptI, DynamicList< Vb > &pts) const
 Helper function for conforming to feature points. More...
 
void createMixedFeaturePoints (DynamicList< Vb > &pts) const
 
void createFeaturePoints (DynamicList< Vb > &pts)
 Create the points that will conform to the feature. More...
 
 featurePointConformer (const featurePointConformer &)
 Disallow default bitwise copy construct. More...
 
void operator= (const featurePointConformer &)
 Disallow default bitwise assignment. More...
 

Private Attributes

const conformalVoronoiMeshfoamyHexMesh_
 Reference to the mesher. More...
 
const cvControlsfoamyHexMeshControls_
 Reference to the mesher controls. More...
 
const conformationSurfacesgeometryToConformTo_
 Reference to the conformation surfaces. More...
 
List< VbfeaturePointVertices_
 Store the feature constraining points, to be reinserted after a. More...
 
pointPairs< DelaunayftPtPairs_
 

Static Private Attributes

static const scalar tolParallel
 Tolerance within which two lines are said to be parallel. More...
 

Detailed Description

The Delaunay vertices required to conform to a feature point can be determined upon initialisation because the feature points are fixed and do not change throughout the meshing process.

Source files

Definition at line 65 of file featurePointConformer.H.

Constructor & Destructor Documentation

◆ featurePointConformer() [1/2]

Disallow default bitwise copy construct.

◆ featurePointConformer() [2/2]

featurePointConformer ( const conformalVoronoiMesh foamyHexMesh)
explicit

Construct from components.

◆ ~featurePointConformer()

Destructor.

Member Function Documentation

◆ sharedFaceNormal()

vector sharedFaceNormal ( const extendedFeatureEdgeMesh feMesh,
const label  edgeI,
const label  nextEdgeI 
) const
private

Calculate the shared face normal between two edges geometrically.

◆ getSign()

label getSign ( const extendedFeatureEdgeMesh::edgeStatus  eStatus) const
private

◆ createSpecialisedFeaturePoint()

bool createSpecialisedFeaturePoint ( const extendedFeatureEdgeMesh feMesh,
const labelList pEds,
const pointFeatureEdgesTypes pFEdgesTypes,
const List< extendedFeatureEdgeMesh::edgeStatus > &  allEdStat,
const label  ptI,
DynamicList< Vb > &  pts 
) const
private

◆ addMasterAndSlavePoints()

void addMasterAndSlavePoints ( const DynamicList< point > &  masterPoints,
const DynamicList< indexedVertexEnum::vertexType > &  masterPointsTypes,
const Map< DynamicList< autoPtr< plane > > > &  masterPointReflections,
DynamicList< Vb > &  pts,
const label  ptI 
) const
private

◆ createMasterAndSlavePoints()

void createMasterAndSlavePoints ( const extendedFeatureEdgeMesh feMesh,
const label  ptI,
DynamicList< Vb > &  pts 
) const
private

Helper function for conforming to feature points.

◆ createMixedFeaturePoints()

void createMixedFeaturePoints ( DynamicList< Vb > &  pts) const
private

◆ createFeaturePoints()

void createFeaturePoints ( DynamicList< Vb > &  pts)
private

Create the points that will conform to the feature.

◆ operator=()

void operator= ( const featurePointConformer )
private

Disallow default bitwise assignment.

◆ ClassName()

ClassName ( "featurePointConformer"  )

Runtime type information.

◆ featurePointVertices()

const Foam::List< Vb > & featurePointVertices ( ) const
inline

Return the feature point vertices for insertion into the.

triangulation.

Definition at line 26 of file featurePointConformerI.H.

References featurePointConformer::featurePointVertices_.

◆ featurePointPairs()

const Foam::pointPairs< Delaunay > & featurePointPairs ( ) const
inline

Return the feature point pair table.

Definition at line 32 of file featurePointConformerI.H.

◆ distribute()

void distribute ( const backgroundMeshDecomposition decomposition)

Distribute the feature point vertices according to the.

supplied background mesh

◆ reIndexPointPairs()

void reIndexPointPairs ( const Map< label > &  oldToNewIndices)

Reindex the feature point pairs using the map.

Field Documentation

◆ tolParallel

const scalar tolParallel
staticprivate

Tolerance within which two lines are said to be parallel.

Definition at line 70 of file featurePointConformer.H.

◆ foamyHexMesh_

const conformalVoronoiMesh& foamyHexMesh_
private

Reference to the mesher.

Definition at line 76 of file featurePointConformer.H.

◆ foamyHexMeshControls_

const cvControls& foamyHexMeshControls_
private

Reference to the mesher controls.

Definition at line 79 of file featurePointConformer.H.

◆ geometryToConformTo_

const conformationSurfaces& geometryToConformTo_
private

Reference to the conformation surfaces.

Definition at line 82 of file featurePointConformer.H.

◆ featurePointVertices_

List<Vb> featurePointVertices_
private

Store the feature constraining points, to be reinserted after a.

triangulation clear.

Definition at line 86 of file featurePointConformer.H.

Referenced by featurePointConformer::featurePointVertices().

◆ ftPtPairs_

pointPairs<Delaunay> ftPtPairs_
mutableprivate

Definition at line 89 of file featurePointConformer.H.


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