MeshLib C# Docs
Loading...
Searching...
No Matches
MR.BooleanPreCutResult Class Reference

a mesh of the boolean and its contours of intersection with the other mesh before the cut, with the boolean's data for an exact cut; the contours can include lone ones (inside one face, crossing none of its edges), which cutMesh connects exactly only given the boolean's sorting data, see sortData Generated from class MR.BooleanPreCutResult. This is the non-const half of the class. More...

Inheritance diagram for MR.BooleanPreCutResult:

Public Member Functions

unsafe BooleanPreCutResult ()
 Constructs an empty (default-constructed) instance.
unsafe BooleanPreCutResult (MR._ByValue_Mesh mesh, MR._ByValue_OneMeshContours contours, MR._ByValue_Vector_MRVectorMRVarEdgeTri intersections, MR.Const_ConvertToIntVector toInt, MR._InOpt_AffineXf3f rigidB2A, nuint meshAVertsNum, bool isMeshA)
 Constructs MR.BooleanPreCutResult elementwise.
unsafe BooleanPreCutResult (MR._ByValue_BooleanPreCutResult _other)
 Generated from constructor MR.BooleanPreCutResult.BooleanPreCutResult.
 BooleanPreCutResult (Const_BooleanPreCutResult _other)
 Generated from constructor MR.BooleanPreCutResult.BooleanPreCutResult.
 BooleanPreCutResult (BooleanPreCutResult _other)
 Generated from constructor MR.BooleanPreCutResult.BooleanPreCutResult.
unsafe MR.BooleanPreCutResult assign (MR._ByValue_BooleanPreCutResult _other)
 Generated from method MR::BooleanPreCutResult::operator=.
Public Member Functions inherited from MR.Const_BooleanPreCutResult
virtual void Dispose ()
unsafe Const_BooleanPreCutResult ()
 Constructs an empty (default-constructed) instance.
unsafe Const_BooleanPreCutResult (MR._ByValue_Mesh mesh, MR._ByValue_OneMeshContours contours, MR._ByValue_Vector_MRVectorMRVarEdgeTri intersections, MR.Const_ConvertToIntVector toInt, MR._InOpt_AffineXf3f rigidB2A, nuint meshAVertsNum, bool isMeshA)
 Constructs MR.BooleanPreCutResult elementwise.
unsafe Const_BooleanPreCutResult (MR._ByValue_BooleanPreCutResult _other)
 Generated from constructor MR.BooleanPreCutResult.BooleanPreCutResult.
 Const_BooleanPreCutResult (Const_BooleanPreCutResult _other)
 Generated from constructor MR.BooleanPreCutResult.BooleanPreCutResult.
 Const_BooleanPreCutResult (BooleanPreCutResult _other)
 Generated from constructor MR.BooleanPreCutResult.BooleanPreCutResult.
unsafe MR.SortIntersectionsData sortData (MR.Const_Mesh otherMesh)
 the data to pass cutMesh( mesh, contours ) in CutMeshParameters.sortData for the boolean's exact cut, where otherMesh is the other mesh of the boolean as it was passed to it; the result points into this struct and otherMesh, so both must outlive its use Generated from method MR.BooleanPreCutResult.sortData.

Properties

new unsafe MR.Mesh mesh [get, protected set]
new unsafe MR.OneMeshContours contours [get, protected set]
new unsafe MR.Vector_MRVectorMRVarEdgeTri intersections [get, protected set]
 the boolean's ordered intersections of both meshes, without the closed contours of two points
new unsafe MR.ConvertToIntVector toInt [get, protected set]
 the boolean's conversion of the coordinates of both meshes to integers
new unsafe MR.Std.Optional_MRAffineXf3f rigidB2A [get, protected set]
 a copy of the boolean's transformation from mesh B to mesh A
new unsafe ref nuint meshAVertsNum [get]
 the number of vertices of mesh A before any cut
new unsafe ref bool isMeshA [get]
 whether mesh is mesh A of the boolean
Properties inherited from MR.Const_BooleanPreCutResult
unsafe MR.Const_Mesh mesh [get, protected set]
unsafe MR.Const_OneMeshContours contours [get, protected set]
unsafe MR.Const_Vector_MRVectorMRVarEdgeTri intersections [get, protected set]
 the boolean's ordered intersections of both meshes, without the closed contours of two points
unsafe MR.Const_ConvertToIntVector toInt [get, protected set]
 the boolean's conversion of the coordinates of both meshes to integers
unsafe MR.Std.Const_Optional_MRAffineXf3f rigidB2A [get, protected set]
 a copy of the boolean's transformation from mesh B to mesh A
unsafe nuint meshAVertsNum [get]
 the number of vertices of mesh A before any cut
unsafe bool isMeshA [get]
 whether mesh is mesh A of the boolean

Additional Inherited Members

Protected Member Functions inherited from MR.Const_BooleanPreCutResult
virtual unsafe void Dispose (bool disposing)
Protected Attributes inherited from MR.Const_BooleanPreCutResult
unsafe nuint * __ref_storage_meshAVertsNum
unsafe bool * __ref_storage_isMeshA

Detailed Description

a mesh of the boolean and its contours of intersection with the other mesh before the cut, with the boolean's data for an exact cut; the contours can include lone ones (inside one face, crossing none of its edges), which cutMesh connects exactly only given the boolean's sorting data, see sortData Generated from class MR.BooleanPreCutResult. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ BooleanPreCutResult() [1/5]

unsafe MR.BooleanPreCutResult.BooleanPreCutResult ( )
inline

Constructs an empty (default-constructed) instance.

◆ BooleanPreCutResult() [2/5]

unsafe MR.BooleanPreCutResult.BooleanPreCutResult ( MR._ByValue_Mesh mesh,
MR._ByValue_OneMeshContours contours,
MR._ByValue_Vector_MRVectorMRVarEdgeTri intersections,
MR.Const_ConvertToIntVector toInt,
MR._InOpt_AffineXf3f rigidB2A,
nuint meshAVertsNum,
bool isMeshA )
inline

Constructs MR.BooleanPreCutResult elementwise.

◆ BooleanPreCutResult() [3/5]

unsafe MR.BooleanPreCutResult.BooleanPreCutResult ( MR._ByValue_BooleanPreCutResult _other)
inline

Generated from constructor MR.BooleanPreCutResult.BooleanPreCutResult.

◆ BooleanPreCutResult() [4/5]

MR.BooleanPreCutResult.BooleanPreCutResult ( Const_BooleanPreCutResult _other)
inline

Generated from constructor MR.BooleanPreCutResult.BooleanPreCutResult.

◆ BooleanPreCutResult() [5/5]

MR.BooleanPreCutResult.BooleanPreCutResult ( BooleanPreCutResult _other)
inline

Generated from constructor MR.BooleanPreCutResult.BooleanPreCutResult.

Member Function Documentation

◆ assign()

unsafe MR.BooleanPreCutResult MR.BooleanPreCutResult.assign ( MR._ByValue_BooleanPreCutResult _other)
inline

Generated from method MR::BooleanPreCutResult::operator=.

Property Documentation

◆ contours

new unsafe MR.OneMeshContours MR.BooleanPreCutResult.contours
getprotected set

◆ intersections

new unsafe MR.Vector_MRVectorMRVarEdgeTri MR.BooleanPreCutResult.intersections
getprotected set

the boolean's ordered intersections of both meshes, without the closed contours of two points

◆ isMeshA

new unsafe ref bool MR.BooleanPreCutResult.isMeshA
get

whether mesh is mesh A of the boolean

◆ mesh

new unsafe MR.Mesh MR.BooleanPreCutResult.mesh
getprotected set

◆ meshAVertsNum

new unsafe ref nuint MR.BooleanPreCutResult.meshAVertsNum
get

the number of vertices of mesh A before any cut

◆ rigidB2A

new unsafe MR.Std.Optional_MRAffineXf3f MR.BooleanPreCutResult.rigidB2A
getprotected set

a copy of the boolean's transformation from mesh B to mesh A

◆ toInt

new unsafe MR.ConvertToIntVector MR.BooleanPreCutResult.toInt
getprotected set

the boolean's conversion of the coordinates of both meshes to integers


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