Public Member Functions | List of all members
edgeSurface Class Reference

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)
 
const pointFieldpoints () const
 
label nSurfacePoints () const
 
const edgeListedges () const
 
label nSurfaceEdges () const
 
bool isSurfaceEdge (const label edgeI) const
 
label parentEdge (const label edgeI) const
 
const labelListListfaceEdges () const
 
const labelListListpointEdges () const
 
void addIntersectionEdges (const label facei, const edgeList &)
 

Detailed Description

Description of surface in form of 'cloud of edges'.

The '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.

Note
  • points with surface (local)points first, intersection points last
  • edges with (split) surface edges first, intersection edges last.
Source files

Definition at line 71 of file edgeSurface.H.

Constructor & Destructor Documentation

◆ edgeSurface()

edgeSurface ( const triSurface surf,
const bool  isFirstSurface,
const surfaceIntersection inter 
)

Member Function Documentation

◆ ClassName()

ClassName ( "edgeSurface"  )

◆ points()

const pointField& points ( ) const
inline

Definition at line 122 of file edgeSurface.H.

Referenced by intersectedSurface::intersectedSurface().

Here is the caller graph for this function:

◆ nSurfacePoints()

label nSurfacePoints ( ) const
inline

Definition at line 127 of file edgeSurface.H.

Referenced by intersectedSurface::intersectedSurface().

Here is the caller graph for this function:

◆ edges()

const edgeList& edges ( ) const
inline

Definition at line 132 of file edgeSurface.H.

Referenced by intersectedSurface::intersectedSurface().

Here is the caller graph for this function:

◆ nSurfaceEdges()

label nSurfaceEdges ( ) const
inline

Definition at line 137 of file edgeSurface.H.

Referenced by intersectedSurface::intersectedSurface().

Here is the caller graph for this function:

◆ isSurfaceEdge()

bool isSurfaceEdge ( const label  edgeI) const
inline

Definition at line 142 of file edgeSurface.H.

◆ parentEdge()

label parentEdge ( const label  edgeI) const
inline

Definition at line 149 of file edgeSurface.H.

References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ faceEdges()

const labelListList& faceEdges ( ) const
inline

Definition at line 166 of file edgeSurface.H.

Referenced by intersectedSurface::intersectedSurface().

Here is the caller graph for this function:

◆ pointEdges()

const labelListList& pointEdges ( ) const
inline

Definition at line 172 of file edgeSurface.H.

◆ addIntersectionEdges()

void addIntersectionEdges ( const label  facei,
const edgeList additionalEdges 
)

Definition at line 309 of file edgeSurface.C.

References Foam::expressions::patchExpr::debug, Foam::constant::electromagnetic::e, Foam::endl(), forAll, Foam::Pout, and List::setSize().

Here is the call graph for this function:

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