Special data type for MR::cutMesh: the intersections of all contours in one array, one contour after another. More...
Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::OneMeshContours) -> &mut meshlib::OneMeshContours |
| auto | size () const -> usize |
| auto | empty () const -> bool |
| auto | intersection (c:usize, i:usize) const -> &meshlib::OneMeshIntersection |
| auto | contour (c:usize) const -> meshlib::Owned< meshlib::OneMeshContour > |
| void | push_back (contour:&meshlib::OneMeshContour) |
| auto | intersections () const -> &meshlib::Vector_MR_OneMeshIntersection |
| auto | intersections_mut () -> &mut meshlib::Vector_MR_OneMeshIntersection |
| void | set_intersections (value:&meshlib::Vector_MR_OneMeshIntersection) |
| auto | offsets () const -> &meshlib::Vector_int |
| auto | offsets_mut () -> &mut meshlib::Vector_int |
| void | set_offsets (value:&meshlib::Vector_int) |
| auto | closed () const -> &meshlib::BitSet |
| auto | closed_mut () -> &mut meshlib::BitSet |
| void | set_closed (value:&meshlib::BitSet) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::OneMeshContours > |
| static auto | construct_from_another (_other:&meshlib::OneMeshContours) -> meshlib::Owned< meshlib::OneMeshContours > |
| static auto | construct (contours:&meshlib::Vector_MR_OneMeshContour) -> meshlib::Owned< meshlib::OneMeshContours > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
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:
MR::surfaceLineToClosedMeshContour MR::surfacePathsToMeshContours
Generated from class MR::OneMeshContours.
Generated from class MR::OneMeshContours. Heap-allocated instances are held in Owned<OneMeshContours>.
| auto meshlib::OneMeshContours::assign_from_another | ( | _other:&meshlib::OneMeshContours | ) | -> &mut meshlib::OneMeshContours |
Generated from method MR::OneMeshContours::operator=.
Calls MR_OneMeshContours_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::OneMeshContours::closed | ( | ) | const -> &meshlib::BitSet |
Returns a pointer to a member variable of class MR::OneMeshContours named closed.
Calls MR_OneMeshContours_Get_closed(). The reference to this object might be preserved as the return value.
| auto meshlib::OneMeshContours::closed_mut | ( | ) | -> &mut meshlib::BitSet |
Returns a mutable pointer to a member variable of class MR::OneMeshContours named closed.
Calls MR_OneMeshContours_GetMutable_closed(). The reference to this object might be preserved as the return value.
|
static |
Generated from constructor MR::OneMeshContours::OneMeshContours.
Calls MR_OneMeshContours_Construct(). The reference to the parameter contours might be preserved in the constructed object.
|
static |
Generated from constructor MR::OneMeshContours::OneMeshContours.
Calls MR_OneMeshContours_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::OneMeshContours::contour | ( | c:usize | ) | const -> meshlib::Owned< meshlib::OneMeshContour > |
returns a copy of contour c Generated from method MR::OneMeshContours::contour.
Calls MR_OneMeshContours_contour().
| auto meshlib::OneMeshContours::empty | ( | ) | const -> bool |
Generated from method MR::OneMeshContours::empty.
Calls MR_OneMeshContours_empty().
| auto meshlib::OneMeshContours::intersection | ( | c:usize | , |
| i:usize | ) const -> &meshlib::OneMeshIntersection |
Generated from method MR::OneMeshContours::intersection.
Calls MR_OneMeshContours_intersection().
| auto meshlib::OneMeshContours::intersections | ( | ) | const -> &meshlib::Vector_MR_OneMeshIntersection |
Returns a pointer to a member variable of class MR::OneMeshContours named intersections.
Calls MR_OneMeshContours_Get_intersections(). The reference to this object might be preserved as the return value.
| auto meshlib::OneMeshContours::intersections_mut | ( | ) | -> &mut meshlib::Vector_MR_OneMeshIntersection |
Returns a mutable pointer to a member variable of class MR::OneMeshContours named intersections.
Calls MR_OneMeshContours_GetMutable_intersections(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_OneMeshContours_DefaultConstruct().
| auto meshlib::OneMeshContours::offsets | ( | ) | const -> &meshlib::Vector_int |
< the number of contours + 1 elements: contour c is intersections[offsets[c], offsets[c + 1]) Returns a pointer to a member variable of class MR::OneMeshContours named offsets.
Calls MR_OneMeshContours_Get_offsets(). The reference to this object might be preserved as the return value.
| auto meshlib::OneMeshContours::offsets_mut | ( | ) | -> &mut meshlib::Vector_int |
< the number of contours + 1 elements: contour c is intersections[offsets[c], offsets[c + 1]) Returns a mutable pointer to a member variable of class MR::OneMeshContours named offsets.
Calls MR_OneMeshContours_GetMutable_offsets(). The reference to this object might be preserved as the return value.
| void meshlib::OneMeshContours::push_back | ( | contour:&meshlib::OneMeshContour | ) |
Generated from method MR::OneMeshContours::push_back.
Calls MR_OneMeshContours_push_back().
| void meshlib::OneMeshContours::set_closed | ( | value:&meshlib::BitSet | ) |
Modifies a member variable of class MR::OneMeshContours named closed.
Calls MR_OneMeshContours_Set_closed(). The reference to the parameter value might be preserved in this object in element closed.
| void meshlib::OneMeshContours::set_intersections | ( | value:&meshlib::Vector_MR_OneMeshIntersection | ) |
Modifies a member variable of class MR::OneMeshContours named intersections.
Calls MR_OneMeshContours_Set_intersections(). The reference to the parameter value might be preserved in this object in element intersections.
| void meshlib::OneMeshContours::set_offsets | ( | value:&meshlib::Vector_int | ) |
< the number of contours + 1 elements: contour c is intersections[offsets[c], offsets[c + 1]) Modifies a member variable of class MR::OneMeshContours named offsets.
Calls MR_OneMeshContours_Set_offsets(). The reference to the parameter value might be preserved in this object in element offsets.
| auto meshlib::OneMeshContours::size | ( | ) | const -> usize |
Generated from method MR::OneMeshContours::size.
Calls MR_OneMeshContours_size().