points connected by edges. More...
#include <edgeMesh/edgeMesh.H>
points connected by edges.
Definition at line 52 of file edgeMesh.H.
Public Member Functions | |
edgeMesh (const pointField &, const edgeList &) | |
Construct from components.
| |
edgeMesh (const fileName &) | |
Construct from file.
| |
edgeMesh (Istream &) | |
Construct from Istream.
| |
edgeMesh (const edgeMesh &) | |
Construct as copy.
| |
const pointField & | points () const |
const edgeList & | edges () const |
const labelListList & | pointEdges () const |
label | regions (labelList &edgeRegion) const |
Find connected regions. Set region number per edge.
| |
void | mergePoints (const scalar mergeDist) |
Merge common points (points within mergeDist)
| |
void | operator= (const edgeMesh &) |
Friends | |
Ostream & | operator<< (Ostream &, const edgeMesh &) |
Istream & | operator>> (Istream &, edgeMesh &) |
edgeMesh | ( | const pointField & | points, |
const edgeList & | edges | ||
) |
Construct from components.
Definition at line 80 of file edgeMesh.C.
Construct from file.
Definition at line 33 of file edgeMeshIO.C.
References Foam::abort(), Foam::FatalError, FatalErrorIn, and IOstream::good().
Construct as copy.
Definition at line 88 of file edgeMesh.C.
const Foam::pointField & points | ( | ) | const [inline]
|
Definition at line 38 of file edgeMeshI.H.
Referenced by featureEdgeMesh::featureEdgeMesh().
const Foam::edgeList & edges | ( | ) | const [inline]
|
Definition at line 44 of file edgeMeshI.H.
Referenced by featureEdgeMesh::featureEdgeMesh().
const Foam::labelListList & pointEdges | ( | ) | const [inline]
|
Definition at line 50 of file edgeMeshI.H.
Foam::label regions | ( | labelList & | edgeRegion ) | const |
Find connected regions. Set region number per edge.
Returns number of regions.
Definition at line 98 of file edgeMesh.C.
References List< T >::append(), e, forAll, List< T >::setSize(), List< T >::size(), and List< T >::transfer().
void mergePoints | ( | const scalar | mergeDist ) |
Merge common points (points within mergeDist)
Definition at line 164 of file edgeMesh.C.
References e, forAll, Foam::mergePoints(), and Vector< Cmpt >::zero.
void operator= | ( | const edgeMesh & | rhs ) | [inline]
|
Definition at line 244 of file edgeMesh.C.