38 #ifndef Foam_triangleFuncs_H 39 #define Foam_triangleFuncs_H 63 static void setIntersection
65 const point& oppositeSidePt,
66 const scalar oppositeSign,
67 const point& thisSidePt,
68 const scalar thisSign,
87 const scalar maxLength,
119 const point& basePoint,
A triangle primitive used to calculate face normals and swept volumes. Uses referred points...
Contains various triangle static functions.
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.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
Standard boundBox with extra functionality for use in octree.
const volScalarField & p0
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.
static bool intersectBb(const triPointRef &tri, const treeBoundBox &cubeBb)
Intersect triangle with bounding box.