OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

edgeSurface Class Reference

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

Collaboration diagram for edgeSurface:

List of all members.


Public Member Functions

 ClassName ("edgeSurface")
 edgeSurface (const triSurface &surf, const bool isFirstSurface, const surfaceIntersection &inter)
 Construct from surface and intersection description.
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).
const labelListList & faceEdges () const
 From face to our edges_.
const labelListList & pointEdges () const
 point to edge addressing
void addIntersectionEdges (const label faceI, const edgeList &)
 Add intersection edges to a face. Used for connecting.

Detailed Description

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

The 'cloud of edges':

  • points
  • edges
  • faceEdges
  • parentEdge (edge on surface this edge originates from) and nothing more.

(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 69 of file edgeSurface.H.


Constructor & Destructor Documentation

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

Construct from surface and intersection description.

Definition at line 120 of file edgeSurface.C.


Member Function Documentation

ClassName ( "edgeSurface"   ) 

const pointField& points (  )  const [inline]

Definition at line 134 of file edgeSurface.H.

label nSurfacePoints (  )  const [inline]

Definition at line 139 of file edgeSurface.H.

const edgeList& edges (  )  const [inline]

Definition at line 144 of file edgeSurface.H.

label nSurfaceEdges (  )  const [inline]

Definition at line 149 of file edgeSurface.H.

bool isSurfaceEdge ( const label  edgeI  )  const [inline]

Definition at line 154 of file edgeSurface.H.

label parentEdge ( const label  edgeI  )  const [inline]

Parent edge (original surface edge this edge came from).

Valid only for edgeI < nSurfaceEdges_.

Definition at line 163 of file edgeSurface.H.

const labelListList& faceEdges (  )  const [inline]

From face to our edges_.

Definition at line 182 of file edgeSurface.H.

const labelListList& pointEdges (  )  const [inline]

point to edge addressing

Definition at line 188 of file edgeSurface.H.

void addIntersectionEdges ( const label  faceI,
const edgeList &  additionalEdges 
)

Add intersection edges to a face. Used for connecting.

floating intersection on face to rest of face.

Definition at line 340 of file edgeSurface.C.


The documentation for this class was generated from the following files:
  • src/meshTools/triSurface/booleanOps/intersectedSurface/edgeSurface.H
  • src/meshTools/triSurface/booleanOps/intersectedSurface/edgeSurface.C
Copyright © 2000-2009 OpenCFD Ltd