MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::OneMeshContour Struct Reference
Inheritance diagram for meshlib::OneMeshContour:

Public Member Functions

auto assign_from_another (_other:&meshlib::OneMeshContour) -> &mut 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 closed () const -> &bool
auto closed_mut () -> &mut bool
void set_closed (value:bool)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::OneMeshContour >
static auto construct_from (intersections:&meshlib::Vector_MR_OneMeshIntersection, closed:bool) -> meshlib::Owned< meshlib::OneMeshContour >
static auto construct_from_another (_other:&meshlib::OneMeshContour) -> meshlib::Owned< meshlib::OneMeshContour >
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

Detailed Description

One contour on mesh Generated from class MR::OneMeshContour.

Generated from class MR::OneMeshContour. Heap-allocated instances are held in Owned<OneMeshContour>.

Member Function Documentation

◆ assign_from_another()

auto meshlib::OneMeshContour::assign_from_another ( _other:&meshlib::OneMeshContour ) -> &mut meshlib::OneMeshContour

Generated from method MR::OneMeshContour::operator=.

Calls MR_OneMeshContour_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ closed()

auto meshlib::OneMeshContour::closed ( ) const -> &bool

Returns a pointer to a member variable of class MR::OneMeshContour named closed.

Calls MR_OneMeshContour_Get_closed(). The reference to this object might be preserved as the return value.

◆ closed_mut()

auto meshlib::OneMeshContour::closed_mut ( ) -> &mut bool

Returns a mutable pointer to a member variable of class MR::OneMeshContour named closed.

Calls MR_OneMeshContour_GetMutable_closed(). The reference to this object might be preserved as the return value.

◆ construct_from()

auto meshlib::OneMeshContour::construct_from ( intersections:&meshlib::Vector_MR_OneMeshIntersection ,
closed:bool  ) -> meshlib::Owned< meshlib::OneMeshContour >
static

Constructs MR::OneMeshContour elementwise.

Calls MR_OneMeshContour_ConstructFrom(). The reference to the parameter intersections might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::OneMeshContour::construct_from_another ( _other:&meshlib::OneMeshContour ) -> meshlib::Owned< meshlib::OneMeshContour >
static

Generated from constructor MR::OneMeshContour::OneMeshContour.

Calls MR_OneMeshContour_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ intersections()

auto meshlib::OneMeshContour::intersections ( ) const -> &meshlib::Vector_MR_OneMeshIntersection

Returns a pointer to a member variable of class MR::OneMeshContour named intersections.

Calls MR_OneMeshContour_Get_intersections(). The reference to this object might be preserved as the return value.

◆ intersections_mut()

auto meshlib::OneMeshContour::intersections_mut ( ) -> &mut meshlib::Vector_MR_OneMeshIntersection

Returns a mutable pointer to a member variable of class MR::OneMeshContour named intersections.

Calls MR_OneMeshContour_GetMutable_intersections(). The reference to this object might be preserved as the return value.

◆ new()

auto meshlib::OneMeshContour::new ( ) -> meshlib::Owned< meshlib::OneMeshContour >
static

Constructs an empty (default-constructed) instance.

Calls MR_OneMeshContour_DefaultConstruct().

◆ set_closed()

void meshlib::OneMeshContour::set_closed ( value:bool )

Modifies a member variable of class MR::OneMeshContour named closed.

Calls MR_OneMeshContour_Set_closed().

◆ set_intersections()

void meshlib::OneMeshContour::set_intersections ( value:&meshlib::Vector_MR_OneMeshIntersection )

Modifies a member variable of class MR::OneMeshContour named intersections.

Calls MR_OneMeshContour_Set_intersections(). The reference to the parameter value might be preserved in this object in element intersections.


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