Public Member Functions | Protected Member Functions | Protected Attributes
triSurfPoints Class Reference
Inheritance diagram for triSurfPoints:
Inheritance graph
[legend]
Collaboration diagram for triSurfPoints:
Collaboration graph
[legend]

Public Member Functions

 triSurfPoints ()
 Null constructor. More...
 
 triSurfPoints (const pointField &points)
 Construct from vertices. More...
 
 ~triSurfPoints ()
 
label nPoints () const
 return the number of points More...
 
const pointFieldpoints () const
 access to points More...
 
void appendVertex (const point &p)
 append a vertex to the end of the list More...
 
label addPointSubset (const word &)
 point subsets More...
 
void removePointSubset (const label)
 
word pointSubsetName (const label) const
 
label pointSubsetIndex (const word &) const
 
void addPointToSubset (const label, const label)
 
void removePointFromSubset (const label, const label)
 
void pointInSubsets (const label, DynList< label > &) const
 
void pointSubsetIndices (DynList< label > &) const
 
template<class ListType >
void pointsInSubset (const label, ListType &) const
 
template<class ListType >
void updatePointSubsets (const ListType &)
 

Protected Member Functions

void operator= (const triSurfPoints &)
 
 triSurfPoints (const triSurfPoints &)
 

Protected Attributes

pointField points_
 list of vertices More...
 
Map< meshSubsetpointSubsets_
 map of point subsets More...
 

Detailed Description

Definition at line 49 of file triSurfPoints.H.

Constructor & Destructor Documentation

◆ triSurfPoints() [1/3]

triSurfPoints ( const triSurfPoints )
protected

◆ triSurfPoints() [2/3]

Null constructor.

Definition at line 35 of file triSurfPoints.C.

◆ triSurfPoints() [3/3]

triSurfPoints ( const pointField points)

Construct from vertices.

Definition at line 41 of file triSurfPoints.C.

◆ ~triSurfPoints()

Definition at line 49 of file triSurfPoints.C.

Member Function Documentation

◆ operator=()

void operator= ( const triSurfPoints )
protected

◆ nPoints()

label nPoints ( ) const
inline

return the number of points

Definition at line 39 of file triSurfPointsI.H.

References triSurfPoints::points_.

Referenced by main(), and triSurfaceCleanupDuplicates::mergeDuplicatePoints().

Here is the caller graph for this function:

◆ points()

const pointField & points ( ) const
inline

access to points

Definition at line 44 of file triSurfPointsI.H.

References triSurfPoints::points_.

Referenced by triSurfaceImportSurfaceAsSubset::addSurfaceAsSubset(), meshSurfaceMapper2D::adjustZCoordinates(), Foam::triSurfaceChecks::calculateBoundingBox(), triSurfacePartitioner::calculateCornersAndAddressing(), triSurfaceCurvatureEstimator::calculateEdgeCurvature(), triSurfaceCurvatureEstimator::calculateSurfaceCurvatures(), Foam::triSurfaceChecks::checkAngles(), Foam::triSurfaceChecks::checkCollocatedPoints(), triSurfaceClassifyEdges::checkOrientation(), Foam::triSurfaceChecks::checkOverlaps(), Foam::triSurfaceChecks::checkSelfIntersections(), triSurfaceClassifyEdges::classifyEdgesTypes(), meshOctree::createInitialOctreeBox(), triSurfaceMetaData::createMetaData(), triSurface2DCheck::createSubsets(), edgeExtractor::distributeBoundaryFacesNormalAlignment(), exportFeatureEdges(), triSurfaceExtrude2DEdges::extrudeSurface(), edgeExtractor::findCornerCandidates(), meshOctree::findEdgesInBox(), findCellsIntersectingSurface::findIntersectedCells(), triSurface2DCheck::is2DSurface(), main(), meshSurfaceMapper::mapCorners(), triSurfaceCleanupDuplicates::mergeDuplicatePoints(), mergeSurfacePatches(), surfaceMeshGeometryModification::modifyGeometry(), partTriMesh::points(), triSurfModifier::pointsAccess(), meshOctreeCreator::refineBoxesIntersectingSurfaces(), triSurfaceRemoveFacets::removeFacets(), surfaceMeshGeometryModification::revertGeometryModification(), triSurf::topologyCheck(), partTriMesh::updateBufferLayers(), triSurf::writeSurface(), and Foam::writeSurfaceToVTK().

Here is the caller graph for this function:

◆ appendVertex()

void appendVertex ( const point p)
inline

append a vertex to the end of the list

Definition at line 49 of file triSurfPointsI.H.

References p, triSurfPoints::points_, and s().

Referenced by Foam::triSurfaceChecks::checkOverlaps().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addPointSubset()

label addPointSubset ( const word subsetName)

◆ removePointSubset()

void removePointSubset ( const label  subsetID)

Definition at line 76 of file triSurfPoints.C.

References triSurfPoints::pointSubsets_.

Referenced by Foam::triSurfaceChecks::checkCollocatedPoints().

Here is the caller graph for this function:

◆ pointSubsetName()

word pointSubsetName ( const label  subsetID) const

◆ pointSubsetIndex()

label pointSubsetIndex ( const word subsetName) const

Definition at line 96 of file triSurfPoints.C.

References forAllConstIter(), Foam::name(), and triSurfPoints::pointSubsets_.

Referenced by triSurfPoints::addPointSubset(), and Foam::triSurfaceChecks::checkCollocatedPoints().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addPointToSubset()

void addPointToSubset ( const label  setI,
const label  pointI 
)
inline

◆ removePointFromSubset()

void removePointFromSubset ( const label  setI,
const label  pointI 
)
inline

Definition at line 70 of file triSurfPointsI.H.

◆ pointInSubsets()

void pointInSubsets ( const label  pointI,
DynList< label > &  pointSubsets 
) const
inline

Definition at line 83 of file triSurfPointsI.H.

References DynList< T, staticSize >::append(), DynList< T, staticSize >::clear(), and forAllConstIter().

Here is the call graph for this function:

◆ pointSubsetIndices()

void pointSubsetIndices ( DynList< label > &  indices) const
inline

◆ pointsInSubset()

void pointsInSubset ( const label  setI,
ListType &  pointLabels 
) const
inline

Definition at line 117 of file triSurfPointsI.H.

References List::clear(), and pointLabels().

Referenced by copyPointSubsets(), triSurfaceMetaData::createMetaData(), main(), surfaceMeshGeometryModification::modifyGeometry(), surfaceMeshGeometryModification::revertGeometryModification(), and triSurf::topologyCheck().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updatePointSubsets()

void updatePointSubsets ( const ListType &  newNodeLabels)
inline

Definition at line 133 of file triSurfPointsI.H.

References triSurfPoints::pointSubsets_.

Referenced by triSurfaceRemoveFacets::removeFacets().

Here is the caller graph for this function:

Field Documentation

◆ points_

pointField points_
protected

◆ pointSubsets_

Map<meshSubset> pointSubsets_
protected

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