MeshLib
 
Loading...
Searching...
No Matches
MR::CutMeshParameters Struct Reference

Parameters of MR::cutMesh. More...

#include <MRContoursCut.h>

Public Types

enum class  ForceFill { None , Good , All }
 

Public Attributes

const SortIntersectionsDatasortData {nullptr}
 
FaceMapnew2OldMap {nullptr}
 This is optional output - map from newly generated faces to old faces (N-1)
 
enum MR::CutMeshParameters::ForceFill None
 

Detailed Description

Parameters of MR::cutMesh.

This structure contains some options and optional outputs of MR::cutMesh function

See also
MR::CutMeshResult

Member Enumeration Documentation

◆ ForceFill

This enum defines the MR::cutMesh behaviour in case of bad faces acure basicaly 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 an good way
Enumerator
None 
Good 
All 

Member Data Documentation

◆ new2OldMap

FaceMap* MR::CutMeshParameters::new2OldMap {nullptr}

This is optional output - map from newly generated faces to old faces (N-1)

◆ None

enum MR::CutMeshParameters::ForceFill MR::CutMeshParameters::None

◆ sortData

const SortIntersectionsData* MR::CutMeshParameters::sortData {nullptr}

This is optional input for better contours resolving
it provides additional info from other mesh used in boolean operation, useful to solve some degeneration

Note
Most likely you don't need this in case you call MR::cutMesh manualy, use case of it is MR::boolean

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