Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| OneMeshContour | contour (self, int c) |
| bool | empty (self) |
| ConstOneMeshIntersection | intersection (self, int c, int i) |
| int | size (self) |
| ConstBitSet | closed (self) |
| ConstVector_OneMeshIntersection | intersections (self) |
| ConstVector_int | offsets (self) |
Static Protected Attributes | |
| typing | _offsetof_closed = 48 |
| typing | _offsetof_intersections = 0 |
| typing | _offsetof_offsets = 24 |
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
| mrmeshpy.ConstOneMeshContours.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstOneMeshContours) -> None 2. __init__(self: meshlib.mrmeshpy.ConstOneMeshContours, contours: meshlib.mrmeshpy.ConstVector_OneMeshContour) -> None 3. __init__(self: meshlib.mrmeshpy.ConstOneMeshContours, arg0: meshlib.mrmeshpy.ConstOneMeshContours) -> None Implicit copy constructor. 4. __init__(self: meshlib.mrmeshpy.ConstOneMeshContours, : meshlib.mrmeshpy.ConstOneMeshContours) -> None
| ConstBitSet mrmeshpy.ConstOneMeshContours.closed | ( | self | ) |
Reimplemented in mrmeshpy.OneMeshContours, and mrmeshpy.OneMeshContours.
| OneMeshContour mrmeshpy.ConstOneMeshContours.contour | ( | self, | |
| int | c ) |
returns a copy of contour c
| bool mrmeshpy.ConstOneMeshContours.empty | ( | self | ) |
| ConstOneMeshIntersection mrmeshpy.ConstOneMeshContours.intersection | ( | self, | |
| int | c, | ||
| int | i ) |
| ConstVector_OneMeshIntersection mrmeshpy.ConstOneMeshContours.intersections | ( | self | ) |
Reimplemented in mrmeshpy.OneMeshContours, and mrmeshpy.OneMeshContours.
| ConstVector_int mrmeshpy.ConstOneMeshContours.offsets | ( | self | ) |
the number of contours + 1 elements: contour c is intersections[offsets[c], offsets[c + 1])
Reimplemented in mrmeshpy.OneMeshContours, and mrmeshpy.OneMeshContours.
| int mrmeshpy.ConstOneMeshContours.size | ( | self | ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |