37 #ifndef faceAreaIntersect_H 38 #define faceAreaIntersect_H 92 inline triPoints getTriPoints
100 inline void setTriPoints
110 inline point planeIntersection
119 inline scalar triArea(
const triPoints& t)
const;
123 void triSliceWithPlane
125 const triPoints& tri,
133 scalar triangleIntersect
135 const triPoints& src,
136 const triPoints& tgt,
150 const bool reverseB =
false static scalar & tolerance()
Fraction of local length scale to use as intersection tolerance.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A face is a list of labels corresponding to mesh vertices.
A 1D vector of objects of type <T> with a fixed size <Size>.
Geometric class that creates a 2D plane and can return the intersection point between a line and the ...
static const NamedEnum< triangulationMode, 2 > triangulationModeNames_
const dimensionedScalar & c
Speed of light in a vacuum.
faceAreaIntersect(const pointField &pointsA, const pointField &pointsB, const bool reverseB=false)
Construct from components.
const dimensionedScalar & b
Wien displacement law constant: default SI units: [m K].
scalar calc(const face &faceA, const face &faceB, const vector &n, const triangulationMode &triMode)
Return area of intersection of faceA with faceB.
void reverse(UList< T > &, const label n)
FixedList< point, 3 > triPoints
static void triangulate(const face &f, const pointField &points, const triangulationMode &triMode, faceList &faceTris)
Triangulate a face using the given triangulation mode.