Go to the documentation of this file.
37 #ifndef triangleFuncs_H
38 #define triangleFuncs_H
79 static void setIntersection
81 const point& oppositeSidePt,
82 const scalar oppositeSign,
83 const point& thisSidePt,
84 const scalar thisSign,
110 const scalar maxLength,
130 const point& basePoint,
static bool intersectAxesBundle(const point &V0, const point &V10, const point &V20, const label i0, const pointField &origin, const scalar maxLength, point &pInter)
Intersect triangle with parallel edges aligned with axis i0.
Standard boundBox with extra functionality for use in octree.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
Various triangle functions.
static bool intersectBb(const point &p0, const point &p1, const point &p2, const treeBoundBox &cubeBb)
Does triangle intersect bounding box.
proxType
Enumeration defining nearness classification.
static bool intersect(const point &va0, const point &va10, const point &va20, const point &basePoint, const vector &normal, point &pInter0, point &pInter1)
Does triangle intersect plane. Return bool and set intersection segment.
const volScalarField & p0