MeshLib C# Docs
Loading...
Searching...
No Matches
Inheritance diagram for MR.Const_CutMeshParameters:

Classes

struct  _Underlying

Public Types

enum  FillPart : int { Both = 0 , Left = 1 , Right = 2 }
 Caller can avoid filling non-needed part of cut faces to speedup cutting still add pseudo FaceId to opposite side to keep connectivity. More...
enum  ForceFill : int { None = 0 , All = 1 , SplitCrossings = 2 }
 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. More...

Public Member Functions

virtual void Dispose ()
unsafe Const_CutMeshParameters ()
 Constructs an empty (default-constructed) instance.
unsafe Const_CutMeshParameters (MR.Const_SortIntersectionsData? sortData, MR.FaceMap? new2OldMap, MR.CutMeshParameters.FillPart fillPart, MR.CutMeshParameters.ForceFill forceFillMode, MR.NewEdgesMap? new2oldEdgesMap)
 Constructs MR.CutMeshParameters elementwise.
unsafe Const_CutMeshParameters (MR.Const_CutMeshParameters _other)
 Generated from constructor MR.CutMeshParameters.CutMeshParameters.
 Const_CutMeshParameters (CutMeshParameters _other)
 Generated from constructor MR.CutMeshParameters.CutMeshParameters.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe MR.Const_SortIntersectionsData._Underlying ** __ptr_storage_sortData
unsafe MR.FaceMap._Underlying ** __ptr_storage_new2OldMap
unsafe MR.CutMeshParameters.FillPart * __ref_storage_fillPart
unsafe MR.CutMeshParameters.ForceFill * __ref_storage_forceFillMode
unsafe MR.NewEdgesMap._Underlying ** __ptr_storage_new2oldEdgesMap

Properties

unsafe MR.? Const_SortIntersectionsData sortData [get]
 This is optional input for better contours resolving
it provides additional info from other mesh used in boolean operation, useful to solve some degeneration.
unsafe MR.? FaceMap new2OldMap [get]
 This is optional output - map from newly generated faces to old faces (N-1)
unsafe MR.CutMeshParameters.FillPart fillPart [get]
unsafe MR.CutMeshParameters.ForceFill forceFillMode [get]
unsafe MR.? NewEdgesMap new2oldEdgesMap [get]
 Optional output map for each new edge introduced after cut maps edge from old topology or old face.

Member Enumeration Documentation

◆ FillPart

Caller can avoid filling non-needed part of cut faces to speedup cutting still add pseudo FaceId to opposite side to keep connectivity.

Enumerator
Both 
Left 
Right 

◆ ForceFill

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
Enumerator
None 

if bad faces occur, nothing is filled

All 

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

SplitCrossings 

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)

Constructor & Destructor Documentation

◆ Const_CutMeshParameters() [1/4]

unsafe MR.Const_CutMeshParameters.Const_CutMeshParameters ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_CutMeshParameters() [2/4]

unsafe MR.Const_CutMeshParameters.Const_CutMeshParameters ( MR.Const_SortIntersectionsData? sortData,
MR.FaceMap? new2OldMap,
MR.CutMeshParameters.FillPart fillPart,
MR.CutMeshParameters.ForceFill forceFillMode,
MR.NewEdgesMap? new2oldEdgesMap )
inline

Constructs MR.CutMeshParameters elementwise.

◆ Const_CutMeshParameters() [3/4]

unsafe MR.Const_CutMeshParameters.Const_CutMeshParameters ( MR.Const_CutMeshParameters _other)
inline

Generated from constructor MR.CutMeshParameters.CutMeshParameters.

◆ Const_CutMeshParameters() [4/4]

MR.Const_CutMeshParameters.Const_CutMeshParameters ( CutMeshParameters _other)
inline

Generated from constructor MR.CutMeshParameters.CutMeshParameters.

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_CutMeshParameters.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_CutMeshParameters.Dispose ( bool disposing)
inlineprotectedvirtual

Member Data Documentation

◆ __ptr_storage_new2oldEdgesMap

unsafe MR.NewEdgesMap._Underlying** MR.Const_CutMeshParameters.__ptr_storage_new2oldEdgesMap
protected

◆ __ptr_storage_new2OldMap

unsafe MR.FaceMap._Underlying** MR.Const_CutMeshParameters.__ptr_storage_new2OldMap
protected

◆ __ptr_storage_sortData

unsafe MR.Const_SortIntersectionsData._Underlying** MR.Const_CutMeshParameters.__ptr_storage_sortData
protected

◆ __ref_storage_fillPart

unsafe MR.CutMeshParameters.FillPart* MR.Const_CutMeshParameters.__ref_storage_fillPart
protected

◆ __ref_storage_forceFillMode

unsafe MR.CutMeshParameters.ForceFill* MR.Const_CutMeshParameters.__ref_storage_forceFillMode
protected

Property Documentation

◆ fillPart

unsafe MR.CutMeshParameters.FillPart MR.Const_CutMeshParameters.fillPart
get

◆ forceFillMode

unsafe MR.CutMeshParameters.ForceFill MR.Const_CutMeshParameters.forceFillMode
get

◆ new2oldEdgesMap

unsafe MR.? NewEdgesMap MR.Const_CutMeshParameters.new2oldEdgesMap
get

Optional output map for each new edge introduced after cut maps edge from old topology or old face.

◆ new2OldMap

unsafe MR.? FaceMap MR.Const_CutMeshParameters.new2OldMap
get

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

◆ sortData

unsafe MR.? Const_SortIntersectionsData MR.Const_CutMeshParameters.sortData
get

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 class was generated from the following file: