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

Public Member Functions

 __init__ (self, *args, **kwargs)
ConstFaceBitSet fbsWithContourIntersections (self)
Const_std_vector_std_vector_Id_EdgeTag resultCut (self)

Static Protected Attributes

typing _offsetof_fbsWithContourIntersections = 24
typing _offsetof_resultCut = 0

Detailed Description

Generated from:  MR::CutMeshResult

\\struct MR::CutMeshResult
This structure contains result of MR::cutMesh function

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstCutMeshResult, resultCut: meshlib.mrmeshpy.Const_std_vector_std_vector_Id_EdgeTag, fbsWithContourIntersections: meshlib.mrmeshpy.ConstFaceBitSet) -> None

Implicit aggregate constructor.

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

Member Function Documentation

◆ fbsWithContourIntersections()

ConstFaceBitSet mrmeshpy.ConstCutMeshResult.fbsWithContourIntersections ( self)
Bitset of bad triangles - triangles where input contours have intersections and cannot be cut and filled in a good way;
under force fill, also the triangles where two segments of the contours cross (segments that follow each other along a contour
or have a common mesh vertex do not), even if their cut is valid; the triangles where that cannot be told may be reported too:
where the exact predicates fail on the points of the contours that they compare (e.g. coincident contours of a double-sided sheet),
or, without sortData, where the corners of the triangle are on one line and more than three points of the contours are inside it
\\sa \\ref MR::CutMeshParameters

Reimplemented in mrmeshpy.CutMeshResult, and mrmeshpy.CutMeshResult.

◆ resultCut()

Const_std_vector_std_vector_Id_EdgeTag mrmeshpy.ConstCutMeshResult.resultCut ( self)
Paths of new edges on mesh, they represent same contours as input, but already cut;
a contour going from a mesh vertex to a point and back has an edge followed by its sym there;
with \\ref CutMeshParameters::ForceFill::SplitCrossings and sortData, a path also passes the vertices where its contour crosses others (or itself) in bad faces

Reimplemented in mrmeshpy.CutMeshResult, and mrmeshpy.CutMeshResult.

Member Data Documentation

◆ _offsetof_fbsWithContourIntersections

typing mrmeshpy.ConstCutMeshResult._offsetof_fbsWithContourIntersections = 24
staticprotected

◆ _offsetof_resultCut

typing mrmeshpy.ConstCutMeshResult._offsetof_resultCut = 0
staticprotected

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