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

Public Member Functions

auto assign_from_another (_other:&meshlib::MarkedContour3f) -> &mut meshlib::MarkedContour3f
auto first_last_marked () const -> bool
auto contour () const -> &meshlib::std_vector_MR_Vector3f
auto contour_mut () -> &mut meshlib::std_vector_MR_Vector3f
void set_contour (value:&meshlib::std_vector_MR_Vector3f)
auto marks () const -> &meshlib::BitSet
auto marks_mut () -> &mut meshlib::BitSet
void set_marks (value:&meshlib::BitSet)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::MarkedContour3f >
static auto construct_from (contour:&meshlib::std_vector_MR_Vector3f, marks:&meshlib::BitSet) -> meshlib::Owned< meshlib::MarkedContour3f >
static auto construct_from_another (_other:&meshlib::MarkedContour3f) -> meshlib::Owned< meshlib::MarkedContour3f >
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

Generated from class MR::MarkedContour3f.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::MarkedContour3f::construct_from ( contour:&meshlib::std_vector_MR_Vector3f ,
marks:&meshlib::BitSet  ) -> meshlib::Owned< meshlib::MarkedContour3f >
static

Constructs MR::MarkedContour3f elementwise.

Calls MR_MarkedContour3f_ConstructFrom(). The reference to the parameter contour might be preserved in the constructed object. The reference to the parameter marks might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::MarkedContour3f::MarkedContour3f.

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

◆ contour()

auto meshlib::MarkedContour3f::contour ( ) const -> &meshlib::std_vector_MR_Vector3f

Returns a pointer to a member variable of class MR::MarkedContour3f named contour.

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

◆ contour_mut()

auto meshlib::MarkedContour3f::contour_mut ( ) -> &mut meshlib::std_vector_MR_Vector3f

Returns a mutable pointer to a member variable of class MR::MarkedContour3f named contour.

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

◆ first_last_marked()

auto meshlib::MarkedContour3f::first_last_marked ( ) const -> bool

returns true if the very first and the very last points in this contour has set bits in marks Generated from method MR::MarkedContour3f::firstLastMarked.

Calls MR_MarkedContour3f_firstLastMarked().

◆ marks()

auto meshlib::MarkedContour3f::marks ( ) const -> &meshlib::BitSet

< indices of control (marked) points Returns a pointer to a member variable of class MR::MarkedContour3f named marks.

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

◆ marks_mut()

auto meshlib::MarkedContour3f::marks_mut ( ) -> &mut meshlib::BitSet

< indices of control (marked) points Returns a mutable pointer to a member variable of class MR::MarkedContour3f named marks.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_MarkedContour3f_DefaultConstruct().

◆ set_contour()

void meshlib::MarkedContour3f::set_contour ( value:&meshlib::std_vector_MR_Vector3f )

Modifies a member variable of class MR::MarkedContour3f named contour.

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

◆ set_marks()

void meshlib::MarkedContour3f::set_marks ( value:&meshlib::BitSet )

< indices of control (marked) points Modifies a member variable of class MR::MarkedContour3f named marks.

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


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