Loading...
Searching...
No Matches
cut.H File Reference

Functions for cutting triangles and tetrahedra. Generic operations are applied to each half of a cut. More...

Include dependency graph for cut.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  uniformOp< Type >
class  noOp
class  areaOp
class  volumeOp
class  areaIntegrateOp< Type >
class  volumeIntegrateOp< Type >
class  listOp< N >
class  listOp< N >::result
 Result class. More...
class  appendOp< Container >
class  opAddResult< Op, Op >
class  opAddResult< noOp, noOp >
class  opAddResult< noOp, Op >
class  opAddResult< Op, noOp >

Namespaces

namespace  Foam
 Namespace for OpenFOAM.
namespace  Foam::cut

Typedefs

typedef listOp< 3 > listTriOp
typedef listOp< 4 > listTetOp

Functions

template<class AboveOp, class BelowOp>
cut::opAddResult< AboveOp, BelowOp >::type triCut (const FixedList< point, 3 > &tri, const FixedList< scalar, 3 > &level, const AboveOp &aboveOp, const BelowOp &belowOp)
 Cut a triangle along the zero plane defined by the given levels.
template<class AboveOp, class BelowOp>
cut::opAddResult< AboveOp, BelowOp >::type triCut (const FixedList< point, 3 > &tri, const plane &pln, const AboveOp &aboveOp, const BelowOp &belowOp)
 As above, but with a plane specifying the location of the cut.
template<class AboveOp, class BelowOp>
cut::opAddResult< AboveOp, BelowOp >::type tetCut (const FixedList< point, 4 > &tet, const FixedList< scalar, 4 > &level, const AboveOp &aboveOp, const BelowOp &belowOp)
 As triCut, but for a tetrahedron.
template<class AboveOp, class BelowOp>
cut::opAddResult< AboveOp, BelowOp >::type tetCut (const FixedList< point, 4 > &tet, const plane &pln, const AboveOp &aboveOp, const BelowOp &belowOp)
 As above, but with a plane specifying the location of the cut.

Detailed Description

Functions for cutting triangles and tetrahedra. Generic operations are applied to each half of a cut.

Original source file cut.H

Source files

Definition in file cut.H.