MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::CutMeshParameters_ForceFill Struct Reference
Inheritance diagram for meshlib::CutMeshParameters_ForceFill:

Static Public Attributes

static const meshlib::CutMeshParameters_ForceFill None
 < if bad faces occur, nothing is filled
static const meshlib::CutMeshParameters_ForceFill All
 < bad faces are filled too, but their triangulation can be bad (may have self-intersections or tunnels)
static const meshlib::CutMeshParameters_ForceFill SplitCrossings

Detailed Description

This enum defines the MR::cutMesh behaviour in case bad faces occur: basically MR::cutMesh removes all faces which contours pass through, adds new edges to topology and fills all removed parts

Note
Bad faces here mean faces where contours have intersections and cannot be cut and filled in a good way

Generated from enum MR::CutMeshParameters::ForceFill. The constants are associated constants of this type.

Member Data Documentation

◆ All

const meshlib::CutMeshParameters_ForceFill meshlib::CutMeshParameters_ForceFill::All
static

< bad faces are filled too, but their triangulation can be bad (may have self-intersections or tunnels)

◆ None

const meshlib::CutMeshParameters_ForceFill meshlib::CutMeshParameters_ForceFill::None
static

< if bad faces occur, nothing is filled

◆ SplitCrossings

const meshlib::CutMeshParameters_ForceFill meshlib::CutMeshParameters_ForceFill::SplitCrossings
static

as All, but with sortData the contours are first split where they cross in bad faces (see CutMeshResult::resultCut); where the split fails, as All: e.g. in a face where an open contour ends on a side of the face, or a contour segment ends at a mesh vertex that is not a corner of the triangle of the other mesh along the segment (unlike the fold vertices of selfBoolean)


The documentation for this struct was generated from the following file: