43 for (label i = 1; i <
f.size() - 1; ++i)
47 indices[2] =
f[i + 1];
54inline void Foam::faceAreaIntersect::setTriPoints
96inline Foam::point Foam::faceAreaIntersect::planeIntersection
106 return (dp*t[negI] - dn*t[posI])/(-dn + dp);
120 return cacheTriangulation_;
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
void append(const T &val)
Copy append an element to the end of this list.
A 1D vector of objects of type <T> with a fixed length <N>.
static void triangleFan(const face &f, DynamicList< face > &faces)
Decompose face into triangle fan.
bool cacheTriangulation() const
Const access to the cacheTriangulation flag.
static scalar & tolerance()
Fraction of local length scale to use as intersection tolerance.
A face is a list of labels corresponding to mesh vertices.
Triangle point storage. Default constructable (triangle is not).
void reverse(UList< T > &list, const label n)
Reverse the first n elements of the list.
vector point
Point is a vector.
vectorField pointField
pointField is a vectorField.