31 template<
class Po
intField>
64 return y[0]*srcPsis[0] + y[1]*srcPsis[1] + y[2]*srcPsis[2];
74 const label yi0 = (yMini + 1) % 3, yi1 = (yi0 + 1) % 3;
75 return (y[yi0]*srcPsis[yi0] + y[yi1]*srcPsis[yi1])/(y[yi0] + y[yi1]);
81 return srcPsis[yMaxi];
92 return y.
a()*tgtPsis[0] + y.
b()*tgtPsis[1] + y.
c()*tgtPsis[2];
List< labelList > labelListList
A List of labelList.
Ostream & indent(Ostream &os)
Indent stream.
void size(const label)
Override size to be inconsistent with allocated storage.
Ostream & endl(Ostream &os)
Add newline and flush stream.
labelList identity(const label len)
Create identity map (map[i] == i) of given length.
label findMin(const ListType &, const label start=0)
Find index of min element (and less than given element).
Templated 2D Barycentric derived from VectorSpace. Has 3 components, one of which is redundant...
A class for handling words, derived from string.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
List< label > labelList
A List of labels.
Type tgtTriInterpolate(const barycentric2D &y, const FixedList< Type, 3 > &tgtPsis)
Use the coordinates obtained from srcPointTgtTriIntersection to interpolate.
label findMax(const ListType &, const label start=0)
Find index of max element (and larger than given element).
Type srcTriInterpolate(const barycentric2D &y, const FixedList< Type, 3 > &tgtPsis)
Use the coordinates obtained from srcTriTgtPointIntersection to interpolate.
void writePolygon(const word &name, const PointField &ps)
Write a VTK file of a polygon.
Functions with which to perform an intersection of a pair of triangles; the source and target...