37 #ifndef faceAreaIntersect_H 38 #define faceAreaIntersect_H 93 inline triPoints getTriPoints
101 inline void setTriPoints
111 inline point planeIntersection
120 inline scalar triArea(
const triPoints& t)
const;
124 void triSliceWithPlane
126 const triPoints& tri,
134 scalar triangleIntersect
136 const triPoints& src,
137 const triPoints& tgt,
151 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>.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m K].
label count(const ListType &l, typename ListType::const_reference x)
Count the number of occurrences of a value in a list.
Geometric class that creates a 2D plane and can return the intersection point between a line and the ...
static const NamedEnum< triangulationMode, 2 > triangulationModeNames_
static void triangulate(const face &f, const pointField &points, const triangulationMode &triMode, triFaceList &faceTris)
Triangulate a face using the given triangulation mode.
const dimensionedScalar c
Speed of light in a vacuum.
faceAreaIntersect(const pointField &pointsA, const pointField &pointsB, const bool reverseB=false)
Construct from components.
A triangular face using a FixedList of labels corresponding to mesh vertices.
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