38#ifndef triangleFuncs_H
39#define triangleFuncs_H
62 static void setIntersection
64 const point& oppositeSidePt,
65 const scalar oppositeSign,
66 const point& thisSidePt,
67 const scalar thisSign,
86 const scalar maxLength,
109 const point& basePoint,
Standard boundBox with extra functionality for use in octree.
Contains various triangle static functions.
static bool intersectBb(const point &p0, const point &p1, const point &p2, const treeBoundBox &cubeBb)
Intersect triangle with bounding box.
static bool intersect(const point &va0, const point &va10, const point &va20, const point &basePoint, const vector &normal, point &pInter0, point &pInter1)
Intersect triangle with plane.
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.
const volScalarField & p0