Go to the documentation of this file.
82 for (
label i = 1; i <
f.size() - 1; i++)
86 indices[2] =
f[i + 1];
101 return (d[posI]*t[negI] - d[negI]*t[posI])/(-d[negI] + d[posI]);
107 return mag(0.5*((t[1] - t[0])^(t[2] - t[0])));
void triangleFan(const face &f, DynamicList< face > &faces) const
Decompose face into triangle fan.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
void setTriPoints(const point &a, const point &b, const point &c, label &count, FixedList< triPoints, 10 > &tris) const
Set triPoints into tri list.
volScalarField tp(IOobject("tp", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedScalar("tp", dimensionSet(0, 0, 1, 0, 0, 0, 0), 0))
dimensioned< scalar > mag(const dimensioned< Type > &)
point planeIntersection(const FixedList< scalar, 3 > &d, const triPoints &t, const label negI, const label posI) const
Return point of intersection between plane and triangle edge.
Triangle storage. Null constructable (unfortunately triangle<point, point> is not)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
Pre-declare SubField and related Field type.
triPoints getTriPoints(const pointField &points, const face &f, const bool reverse) const
Get triPoints from face.
DynamicList< T, SizeInc, SizeMult, SizeDiv > & append(const T &)
Append an element at the end of the list.
scalar triArea(const triPoints &t) const
Return triangle area.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
static scalar & tolerance()
Fraction of local length scale to use as intersection tolerance.
A 1D vector of objects of type <T> with a fixed size <Size>.
const dimensionedScalar c
Speed of light in a vacuum.
A face is a list of labels corresponding to mesh vertices.
void reverse(UList< T > &, const label n)