35 #ifndef polygonTriangulate_H
36 #define polygonTriangulate_H
91 static inline label renumberPolyToGlobal
99 static inline Type renumberPolyToGlobal
106 template<
class Po
intField>
115 template<
class Po
intField>
116 static scalar quality
125 template<
class Po
intField>
128 const edge& edgePointsA,
129 const edge& edgePointsB,
135 template<
class Po
intField>
136 static label nIntersections
138 const edge& edgePoints,
145 template<
class Po
intField>
156 template<
class Po
intField>
168 template<
class Po
intField>
169 void optimiseTriangulation
181 void simpleTriangulate
194 void partitionTriangulate
198 const label spanPointi,
199 const label spanEdgei,
210 void complexTriangulate
228 const bool simple =
false,
229 const bool optimal =
true
302 const bool simple =
false,
303 const bool optimal =
true
310 const bool simple =
false,
311 const bool optimal =
true
319 const bool simple =
false,
320 const bool optimal =
true
327 const bool simple =
false,
328 const bool optimal =
true
A HashTable with keys but without contents.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A List with indirect addressing.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
Class to handle errors and exceptions in a simple, consistent stream-based manner.
Triangulation of three-dimensional polygons.
const UList< FixedList< label, 3 > > & triEdges() const
Get the triangles' edges.
static List< point > randomPolygon(randomGenerator &rndGen, const label n, const scalar error)
Generate a random polygon for testing purposes.
~polygonTriangulate()
Destructor.
polygonTriangulate()
Construct null.
const UList< triFace > & triPoints() const
Get the triangles' points.
void operator=(const polygonTriangulate &)=delete
Disallow default bitwise assignment.
A triangular face using a FixedList of labels corresponding to mesh vertices.
simpleControl simple(mesh)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
randomGenerator rndGen(653213)