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

Public Member Functions

 triSurfFeatureEdges ()
 Null constructor. More...
 
 triSurfFeatureEdges (const edgeLongList &triangles)
 Construct from feature edges. More...
 
 ~triSurfFeatureEdges ()
 
label nFeatureEdges () const
 return the number of feature edges More...
 
const edgeLongListfeatureEdges () const
 access to feature edges More...
 
void appendFeatureEdge (const edge &e)
 append an edge to the end of the list More...
 
label addEdgeSubset (const word &)
 point subsets More...
 
void removeEdgeSubset (const label)
 
word edgeSubsetName (const label) const
 
label edgeSubsetIndex (const word &) const
 
void addEdgeToSubset (const label, const label)
 
void removeEdgeFromSubset (const label, const label)
 
void edgeInSubsets (const label, DynList< label > &) const
 
void edgeSubsetIndices (DynList< label > &) const
 
template<class ListType >
void edgesInSubset (const label, ListType &) const
 
template<class ListType >
void updateEdgeSubsets (const ListType &)
 

Protected Member Functions

void operator= (const triSurfFeatureEdges &)
 
 triSurfFeatureEdges (const triSurfFeatureEdges &)
 

Protected Attributes

edgeLongList featureEdges_
 list of feature edges More...
 
Map< meshSubsetfeatureEdgeSubsets_
 map of edge subsets More...
 

Detailed Description

Definition at line 48 of file triSurfFeatureEdges.H.

Constructor & Destructor Documentation

◆ triSurfFeatureEdges() [1/3]

triSurfFeatureEdges ( const triSurfFeatureEdges )
protected

◆ triSurfFeatureEdges() [2/3]

Null constructor.

Definition at line 35 of file triSurfFeatureEdges.C.

◆ triSurfFeatureEdges() [3/3]

triSurfFeatureEdges ( const edgeLongList triangles)

Construct from feature edges.

Definition at line 41 of file triSurfFeatureEdges.C.

◆ ~triSurfFeatureEdges()

Definition at line 49 of file triSurfFeatureEdges.C.

Member Function Documentation

◆ operator=()

void operator= ( const triSurfFeatureEdges )
protected

◆ nFeatureEdges()

label nFeatureEdges ( ) const
inline

return the number of feature edges

Definition at line 39 of file triSurfFeatureEdgesI.H.

References triSurfFeatureEdges::featureEdges_, and LongList< T, Offset >::size().

Referenced by main().

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

◆ featureEdges()

const edgeLongList & featureEdges ( ) const
inline

◆ appendFeatureEdge()

void appendFeatureEdge ( const edge e)
inline

append an edge to the end of the list

Definition at line 49 of file triSurfFeatureEdgesI.H.

References LongList< T, Offset >::append(), Foam::e, and triSurfFeatureEdges::featureEdges_.

Here is the call graph for this function:

◆ addEdgeSubset()

label addEdgeSubset ( const word subsetName)

◆ removeEdgeSubset()

void removeEdgeSubset ( const label  subsetID)

Definition at line 76 of file triSurfFeatureEdges.C.

References triSurfFeatureEdges::featureEdgeSubsets_.

◆ edgeSubsetName()

word edgeSubsetName ( const label  subsetID) const

◆ edgeSubsetIndex()

label edgeSubsetIndex ( const word subsetName) const

Definition at line 96 of file triSurfFeatureEdges.C.

References triSurfFeatureEdges::featureEdgeSubsets_, forAllConstIter(), and Foam::name().

Referenced by triSurfFeatureEdges::addEdgeSubset().

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

◆ addEdgeToSubset()

void addEdgeToSubset ( const label  setI,
const label  eI 
)
inline

◆ removeEdgeFromSubset()

void removeEdgeFromSubset ( const label  setI,
const label  eI 
)
inline

Definition at line 68 of file triSurfFeatureEdgesI.H.

◆ edgeInSubsets()

void edgeInSubsets ( const label  eI,
DynList< label > &  edgeSubsets 
) const
inline

Definition at line 81 of file triSurfFeatureEdgesI.H.

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

Here is the call graph for this function:

◆ edgeSubsetIndices()

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

◆ edgesInSubset()

void edgesInSubset ( const label  setI,
ListType &  edgeLabels 
) const
inline

◆ updateEdgeSubsets()

void updateEdgeSubsets ( const ListType &  newEdgeLabels)
inline

Definition at line 134 of file triSurfFeatureEdgesI.H.

Referenced by triSurfaceRemoveFacets::removeFacets().

Here is the caller graph for this function:

Field Documentation

◆ featureEdges_

edgeLongList featureEdges_
protected

◆ featureEdgeSubsets_

Map<meshSubset> featureEdgeSubsets_
protected

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