Go to the documentation of this file.
35 #ifndef triangleFuncs_H
36 #define triangleFuncs_H
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 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 + extra functionality for use in octree.
Various triangle functions.
static bool intersectBb(const point &p0, const point &p1, const point &p2, const treeBoundBox &cubeBb)
Does triangle intersect bounding box.
static void setIntersection(const point &oppositeSidePt, const scalar oppositeSign, const point &thisSidePt, const scalar thisSign, const scalar tol, point &pt)
Helper function for intersect. Sets pt to be anywhere on the edge.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
static void selectPt(const bool select0, const point &p0, const point &p1, point &min)
Helper function.
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.
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
A normal distribution model.