37 #ifndef faceAreaIntersect_H 38 #define faceAreaIntersect_H 92 inline triPoints getTriPoints
100 inline void setTriPoints
110 inline void triangleFan
117 inline point planeIntersection
126 inline scalar triArea(
const triPoints& t)
const;
130 void triSliceWithPlane
132 const triPoints& tri,
140 scalar triangleIntersect
142 const triPoints& src,
143 const triPoints& tgt,
157 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_
faceAreaIntersect(const pointField &pointsA, const pointField &pointsB, const bool reverseB=false)
Construct from components.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
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
const dimensionedScalar c
Speed of light in a vacuum.