30 inline Foam::label Foam::polygonTriangulate::renumberPolyToGlobal
33 const UList<label>& polyToGlobal
36 return triPoly < polyToGlobal.size() ? polyToGlobal[triPoly] : -1;
40 inline Type Foam::polygonTriangulate::renumberPolyToGlobal
43 const UList<label>& polyToGlobal
47 result.resize(triPoly.size());
50 result[i] = renumberPolyToGlobal(triPoly[i], polyToGlobal);
70 return renumberPolyToGlobal(triPoints_, polyPoints);
80 return renumberPolyToGlobal(triPoints_[trii], polyPoints);
97 return renumberPolyToGlobal(triEdges_, polyEdges);
107 return renumberPolyToGlobal(triEdges_[trii], polyEdges);
121 return triangulate(points_, normal, simple, optimal);
134 return triangulate(points_, simple, optimal);
#define forAll(list, i)
Loop across all elements in list.
FvWallInfoData< WallInfo, label > label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A 1D vector of objects of type <T> with a fixed size <Size>.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const UList< FixedList< label, 3 > > & triEdges() const
Get the triangles' edges.
Holds information (coordinate and normal) regarding nearest wall point.
A triangular face using a FixedList of labels corresponding to mesh vertices.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A List with indirect addressing.
const UList< triFace > & triPoints() const
Get the triangles' points.