OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

booleanSurface Class Reference

Inheritance diagram for booleanSurface:

Inheritance graph
[legend]
Collaboration diagram for booleanSurface:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 76 of file booleanSurface.H.


Public Types

enum  booleanOpType { OR, AND, XOR, ALL }
 Enumeration listing the possible volume operator types. More...

Public Member Functions

 ClassName ("booleanSurface")
 booleanSurface ()
 Construct null.
 booleanSurface (const triSurface &surf1, const triSurface &surf2, const surfaceIntersection &inter, const label includeFace1, const label includeFace2)
 Construct from surfaces and face labels to keep.
 booleanSurface (const triSurface &surf1, const triSurface &surf2, const surfaceIntersection &inter, const label booleanOp)
 Construct from surfaces and operation. Surfaces need to be closed.
const labelList & faceMap () const
 new to old face map. >0: surface 1 face label. <0: surface 2. Negate
bool from1 (const label faceI) const
bool surf1Face (const label faceI) const
bool surf2Face (const label faceI) const

Member Enumeration Documentation

Enumeration listing the possible volume operator types.

Enumerator:
OR 
AND 
XOR 
ALL 

Definition at line 180 of file booleanSurface.H.


Constructor & Destructor Documentation

booleanSurface (  ) 

Construct null.

booleanSurface ( const triSurface &  surf1,
const triSurface &  surf2,
const surfaceIntersection &  inter,
const label  includeFace1,
const label  includeFace2 
)

Construct from surfaces and face labels to keep.

Walks from provided seed faces without crossing intersection line to determine faces to keep.

booleanSurface ( const triSurface &  surf1,
const triSurface &  surf2,
const surfaceIntersection &  inter,
const label  booleanOp 
)

Construct from surfaces and operation. Surfaces need to be closed.

for this to make any sense since uses inside/outside to determine which part of combined surface to include.


Member Function Documentation

ClassName ( "booleanSurface"   ) 

const labelList& faceMap (  )  const [inline]

new to old face map. >0: surface 1 face label. <0: surface 2. Negate

and subtract 1 to get face label on surface 2.

Definition at line 229 of file booleanSurface.H.

bool from1 ( const label  faceI  )  const [inline]

Definition at line 234 of file booleanSurface.H.

bool surf1Face ( const label  faceI  )  const [inline]

Definition at line 239 of file booleanSurface.H.

bool surf2Face ( const label  faceI  )  const [inline]

Definition at line 250 of file booleanSurface.H.


The documentation for this class was generated from the following file: Copyright © 2000-2007 OpenCFD Ltd