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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstVector_OneMeshContour contours)
None __init__ (self, ConstOneMeshContours arg0)
OneMeshContours assign (self, ConstOneMeshContours other)
None push_back (self, ConstOneMeshContour contour)
BitSet closed (self)
None closed (self, ConstBitSet arg1)
Vector_OneMeshIntersection intersections (self)
None intersections (self, ConstVector_OneMeshIntersection arg1)
Vector_int offsets (self)
None offsets (self, ConstVector_int arg1)
Public Member Functions inherited from mrmeshpy.ConstOneMeshContours
 __init__ (self, *args, **kwargs)
OneMeshContour contour (self, int c)
bool empty (self)
ConstOneMeshIntersection intersection (self, int c, int i)
int size (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstOneMeshContours
typing _offsetof_closed = 48
typing _offsetof_intersections = 0
typing _offsetof_offsets = 24

Detailed Description

Generated from:  MR::OneMeshContours

\\brief Special data type for MR::cutMesh: the intersections of all contours in one array, one contour after another
This is special data for MR::cutMesh, you can convert some other contours representation to it by:\\n
\\ref MR::surfaceLineToClosedMeshContour
\\ref MR::surfacePathsToMeshContours

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.OneMeshContours.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.OneMeshContours.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.OneMeshContours.__init__ ( self,
ConstVector_OneMeshContour contours )

◆ __init__() [4/4]

None mrmeshpy.OneMeshContours.__init__ ( self,
ConstOneMeshContours arg0 )
Implicit copy constructor.

Member Function Documentation

◆ assign()

OneMeshContours mrmeshpy.OneMeshContours.assign ( self,
ConstOneMeshContours other )

◆ closed() [1/2]

BitSet mrmeshpy.OneMeshContours.closed ( self)

Reimplemented from mrmeshpy.ConstOneMeshContours.

◆ closed() [2/2]

None mrmeshpy.OneMeshContours.closed ( self,
ConstBitSet arg1 )

Reimplemented from mrmeshpy.ConstOneMeshContours.

◆ intersections() [1/2]

Vector_OneMeshIntersection mrmeshpy.OneMeshContours.intersections ( self)

Reimplemented from mrmeshpy.ConstOneMeshContours.

◆ intersections() [2/2]

None mrmeshpy.OneMeshContours.intersections ( self,
ConstVector_OneMeshIntersection arg1 )

Reimplemented from mrmeshpy.ConstOneMeshContours.

◆ offsets() [1/2]

Vector_int mrmeshpy.OneMeshContours.offsets ( self)
the number of contours + 1 elements: contour c is intersections[offsets[c], offsets[c + 1])

Reimplemented from mrmeshpy.ConstOneMeshContours.

◆ offsets() [2/2]

None mrmeshpy.OneMeshContours.offsets ( self,
ConstVector_int arg1 )
the number of contours + 1 elements: contour c is intersections[offsets[c], offsets[c + 1])

Reimplemented from mrmeshpy.ConstOneMeshContours.

◆ push_back()

None mrmeshpy.OneMeshContours.push_back ( self,
ConstOneMeshContour contour )

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