MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstBooleanPreCutResult Class Reference
Inheritance diagram for mrmeshpy.ConstBooleanPreCutResult:

Public Member Functions

 __init__ (self, *args, **kwargs)
SortIntersectionsData sortData (self, ConstMesh otherMesh)
ConstOneMeshContours contours (self)
ConstVector_Vector_VarEdgeTri intersections (self)
bool isMeshA (self)
ConstMesh mesh (self)
int meshAVertsNum (self)
Const_std_optional_AffineXf_Vector3_float rigidB2A (self)
ConstConvertToIntVector toInt (self)

Static Protected Attributes

typing _offsetof_contours = 272
typing _offsetof_intersections = 352
typing _offsetof_isMeshA = 472
typing _offsetof_mesh = 0
typing _offsetof_meshAVertsNum = 464
typing _offsetof_rigidB2A = 408
typing _offsetof_toInt = 376

Detailed Description

Generated from:  MR::BooleanPreCutResult

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

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstBooleanPreCutResult.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstBooleanPreCutResult) -> None

2. __init__(self: meshlib.mrmeshpy.ConstBooleanPreCutResult, arg0: meshlib.mrmeshpy.ConstBooleanPreCutResult) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstBooleanPreCutResult, mesh: meshlib.mrmeshpy.ConstMesh, contours: meshlib.mrmeshpy.ConstOneMeshContours, intersections: meshlib.mrmeshpy.ConstVector_Vector_VarEdgeTri, toInt: meshlib.mrmeshpy.ConstConvertToIntVector, rigidB2A: meshlib.mrmeshpy.Const_std_optional_AffineXf_Vector3_float, meshAVertsNum: int, isMeshA: bool) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstBooleanPreCutResult, : meshlib.mrmeshpy.ConstBooleanPreCutResult) -> None

Member Function Documentation

◆ contours()

ConstOneMeshContours mrmeshpy.ConstBooleanPreCutResult.contours ( self)

◆ intersections()

ConstVector_Vector_VarEdgeTri mrmeshpy.ConstBooleanPreCutResult.intersections ( self)
the boolean's ordered intersections of both meshes, without the closed contours of two points

Reimplemented in mrmeshpy.BooleanPreCutResult, and mrmeshpy.BooleanPreCutResult.

◆ isMeshA()

bool mrmeshpy.ConstBooleanPreCutResult.isMeshA ( self)
whether mesh is mesh A of the boolean

Reimplemented in mrmeshpy.BooleanPreCutResult, and mrmeshpy.BooleanPreCutResult.

◆ mesh()

ConstMesh mrmeshpy.ConstBooleanPreCutResult.mesh ( self)

◆ meshAVertsNum()

int mrmeshpy.ConstBooleanPreCutResult.meshAVertsNum ( self)
the number of vertices of mesh A before any cut

Reimplemented in mrmeshpy.BooleanPreCutResult, and mrmeshpy.BooleanPreCutResult.

◆ rigidB2A()

Const_std_optional_AffineXf_Vector3_float mrmeshpy.ConstBooleanPreCutResult.rigidB2A ( self)
a copy of the boolean's transformation from mesh B to mesh A

Reimplemented in mrmeshpy.BooleanPreCutResult, and mrmeshpy.BooleanPreCutResult.

◆ sortData()

SortIntersectionsData mrmeshpy.ConstBooleanPreCutResult.sortData ( self,
ConstMesh 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

◆ toInt()

ConstConvertToIntVector mrmeshpy.ConstBooleanPreCutResult.toInt ( self)
the boolean's conversion of the coordinates of both meshes to integers

Reimplemented in mrmeshpy.BooleanPreCutResult, and mrmeshpy.BooleanPreCutResult.

Member Data Documentation

◆ _offsetof_contours

typing mrmeshpy.ConstBooleanPreCutResult._offsetof_contours = 272
staticprotected

◆ _offsetof_intersections

typing mrmeshpy.ConstBooleanPreCutResult._offsetof_intersections = 352
staticprotected

◆ _offsetof_isMeshA

typing mrmeshpy.ConstBooleanPreCutResult._offsetof_isMeshA = 472
staticprotected

◆ _offsetof_mesh

typing mrmeshpy.ConstBooleanPreCutResult._offsetof_mesh = 0
staticprotected

◆ _offsetof_meshAVertsNum

typing mrmeshpy.ConstBooleanPreCutResult._offsetof_meshAVertsNum = 464
staticprotected

◆ _offsetof_rigidB2A

typing mrmeshpy.ConstBooleanPreCutResult._offsetof_rigidB2A = 408
staticprotected

◆ _offsetof_toInt

typing mrmeshpy.ConstBooleanPreCutResult._offsetof_toInt = 376
staticprotected

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