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

Static Public Attributes

static const meshlib::self_intersections::Settings_Method Relax
 Relax mesh around self-intersections.
static const meshlib::self_intersections::Settings_Method CutAndFill
 Cut and re-fill regions around self-intersections (may fall back to Relax)
static const meshlib::self_intersections::Settings_Method SelfBoolean

Detailed Description

Fix method

Generated from enum MR::SelfIntersections::Settings::Method. The constants are associated constants of this type.

Member Data Documentation

◆ CutAndFill

const meshlib::self_intersections::Settings_Method meshlib::self_intersections::Settings_Method::CutAndFill
static

Cut and re-fill regions around self-intersections (may fall back to Relax)

◆ Relax

const meshlib::self_intersections::Settings_Method meshlib::self_intersections::Settings_Method::Relax
static

Relax mesh around self-intersections.

◆ SelfBoolean

const meshlib::self_intersections::Settings_Method meshlib::self_intersections::Settings_Method::SelfBoolean
static

Cut the mesh along the exact contours of its self-intersections (see selfBoolean) and keep only the largest by area part of every connected component; colliding components get united, and the holes that the contours reach are closed for the cut. The cut is made once and can leave degenerate faces and tiny self-intersections: call fixMeshDegeneracies after it, and repeat both if needed. Of the other settings only callback and new2Old are used


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