The free functions of this namespace.
|
static |
splits the near-planar region bounded by loops in monotone parts, without triangulating them this is the sweep-line triangulation stopped right after monotonation
| loops | one closed EdgeLoop per boundary of one region, bounding holes of mesh as trackRightBoundaryLoop returns them (a slit of one edge is a loop of 2 edges, and a loop of one edge is skipped); which way round a loop runs does not matter; the holes can be several parts of one region split by edges between them, as all the holes of a face cut along contours (the parts between the contours that cross its sides, and both sides of every island), since an edge taken both ways adds zero winding |
| normal | the orientation the region is monotone around, see triangulateDisjointContours |
Generated from function MR::PlanarTriangulation::getMonotonePlan.
Calls MR_PlanarTriangulation_getMonotonePlan().
|
static |
Generated from function MR::PlanarTriangulation::getOutline.
Calls MR_PlanarTriangulation_getOutline_std_vector_std_vector_MR_Vector2d().
|
static |
returns Contour representing outline if input contours Generated from function MR::PlanarTriangulation::getOutline.
Calls MR_PlanarTriangulation_getOutline_std_vector_std_vector_MR_Vector2f().
|
static |
Generated from function MR::PlanarTriangulation::getOutlineMesh.
Calls MR_PlanarTriangulation_getOutlineMesh_std_vector_std_vector_MR_Vector2d().
|
static |
returns Mesh with boundaries representing outline if input contours interMap optional output intersection map Generated from function MR::PlanarTriangulation::getOutlineMesh.
Calls MR_PlanarTriangulation_getOutlineMesh_std_vector_std_vector_MR_Vector2f().
|
static |
creates a cache for the sweep-line triangulation Generated from function MR::PlanarTriangulation::makeSweepLineCache.
Calls MR_PlanarTriangulation_makeSweepLineCache().
|
static |
triangulate 2d contours only closed contours are allowed (first point of each contour should be the same as last point of the contour)
Generated from function MR::PlanarTriangulation::triangulateContours.
Calls MR_PlanarTriangulation_triangulateContours_std_vector_std_vector_MR_Vector2d().
|
static |
Generated from function MR::PlanarTriangulation::triangulateContours.
Calls MR_PlanarTriangulation_triangulateContours_std_vector_std_vector_MR_Vector2f().
|
static |
triangulate hole boundary loops of mesh in the mesh's own 3d space, orienting faces around normal combinatorics run on the dominant-axis projection of normal; output vertices keep the exact mesh coordinates (no projection round-trip), and loops sharing a mesh vertex are merged by identity.
| loops | one closed EdgeLoop per contour (as produced by trackRightBoundaryLoop on each hole edge) |
| outPatchMap | optional output: for each patch boundary edge (by undirected id) the mesh edge it copies, directed along it; edges past its size are the triangulation's own |
Generated from function MR::PlanarTriangulation::triangulateDisjointContours.
Calls MR_PlanarTriangulation_triangulateDisjointContours_5().
|
static |
triangulate 2d contours only closed contours are allowed (first point of each contour should be the same as last point of the contour)
Generated from function MR::PlanarTriangulation::triangulateDisjointContours.
Calls MR_PlanarTriangulation_triangulateDisjointContours_2_std_vector_std_vector_MR_Vector2d().
|
static |
Generated from function MR::PlanarTriangulation::triangulateDisjointContours.
Calls MR_PlanarTriangulation_triangulateDisjointContours_2_std_vector_std_vector_MR_Vector2f().