Description of surface in form of 'cloud of edges'. More...
Public Member Functions | |
ClassName ("edgeSurface") | |
edgeSurface (const triSurface &surf, const bool isFirstSurface, const surfaceIntersection &inter) | |
Construct from surface and intersection description. More... | |
const pointField & | points () const |
label | nSurfacePoints () const |
const edgeList & | edges () const |
label | nSurfaceEdges () const |
bool | isSurfaceEdge (const label edgeI) const |
label | parentEdge (const label edgeI) const |
Parent edge (original surface edge this edge came from). More... | |
const labelListList & | faceEdges () const |
From face to our edges_. More... | |
const labelListList & | pointEdges () const |
Point to edge addressing. More... | |
void | addIntersectionEdges (const label facei, const edgeList &) |
Add intersection edges to a face. Used for connecting. More... | |
Description of surface in form of 'cloud of edges'.
(pointEdges constructed from above data)
Constructed from triSurface and surfaceIntersection. (uses localPoints of surface of course)
Used to easily insert cuts and split faces.
Definition at line 73 of file edgeSurface.H.
edgeSurface | ( | const triSurface & | surf, |
const bool | isFirstSurface, | ||
const surfaceIntersection & | inter | ||
) |
Construct from surface and intersection description.
Definition at line 128 of file edgeSurface.C.
References edgeSurface::addIntersectionEdges(), List< T >::append(), surfaceIntersection::cutEdges(), surfaceIntersection::cutPoints(), surfaceIntersection::edgeCuts(), PrimitivePatch< Face, FaceList, PointField, PointType >::edgeFaces(), PrimitivePatch< Face, FaceList, PointField, PointType >::edges(), UList< T >::empty(), edge::end(), Foam::endl(), surfaceIntersection::facePairToEdge(), forAll, forAllConstIter(), UList< T >::last(), PrimitivePatch< Face, FaceList, PointField, PointType >::localPoints(), Foam::name(), PrimitivePatch< Face, FaceList, PointField, PointType >::nEdges(), Foam::Pout, List< T >::size(), edge::start(), FixedList< T, Size >::transfer(), and Foam::meshTools::writeOBJ().
ClassName | ( | "edgeSurface" | ) |
|
inline |
Definition at line 137 of file edgeSurface.H.
Referenced by intersectedSurface::intersectedSurface().
|
inline |
Definition at line 142 of file edgeSurface.H.
Referenced by intersectedSurface::intersectedSurface().
|
inline |
Definition at line 147 of file edgeSurface.H.
Referenced by intersectedSurface::intersectedSurface().
|
inline |
Definition at line 152 of file edgeSurface.H.
Referenced by intersectedSurface::intersectedSurface().
|
inline |
Definition at line 157 of file edgeSurface.H.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and edgeSurface::parentEdge().
Parent edge (original surface edge this edge came from).
Valid only for edgeI < nSurfaceEdges_.
Definition at line 164 of file edgeSurface.H.
Referenced by edgeSurface::isSurfaceEdge().
|
inline |
From face to our edges_.
Definition at line 181 of file edgeSurface.H.
Referenced by intersectedSurface::intersectedSurface().
|
inline |
Point to edge addressing.
Definition at line 187 of file edgeSurface.H.
References edgeSurface::addIntersectionEdges().
Add intersection edges to a face. Used for connecting.
floating intersection on face to rest of face.
Definition at line 343 of file edgeSurface.C.
References edge::end(), Foam::endl(), forAll, Foam::Pout, List< T >::setSize(), List< T >::size(), and edge::start().
Referenced by edgeSurface::edgeSurface(), and edgeSurface::pointEdges().