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.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_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.
polygonTriangulate()
Construct null.
~polygonTriangulate()
Destructor.
Class to handle errors and exceptions in a simple, consistent stream-based manner.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
A triangular face using a FixedList of labels corresponding to mesh vertices.
static List< point > randomPolygon(Random &rndGen, const label n, const scalar error)
Generate a random polygon for testing purposes.
void operator=(const polygonTriangulate &)=delete
Disallow default bitwise assignment.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
Triangulation of three-dimensional polygons.
A List with indirect addressing.
const UList< triFace > & triPoints() const
Get the triangles' points.
simpleControl simple(mesh)