35 #ifndef triangleFuncs_H 36 #define triangleFuncs_H 77 static void setIntersection
79 const point& oppositeSidePt,
80 const scalar oppositeSign,
81 const point& thisSidePt,
82 const scalar thisSign,
108 const scalar maxLength,
128 const point& basePoint,
static bool intersectBb(const point &p0, const point &p1, const point &p2, const treeBoundBox &cubeBb)
Does triangle intersect bounding box.
Various triangle functions.
proxType
Enumeration defining nearness classification.
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
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.
Standard boundBox + extra functionality for use in octree.
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.