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

Public Member Functions

auto assign_from_another (_other:&meshlib::nesting::NestingResult) -> &mut meshlib::nesting::NestingResult
auto xf () const -> &meshlib::AffineXf3f
auto xf_mut () -> &mut meshlib::AffineXf3f
void set_xf (value:meshlib::AffineXf3f)
auto nested () const -> &bool
auto nested_mut () -> &mut bool
void set_nested (value:bool)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::nesting::NestingResult >
static auto construct_from (xf:meshlib::AffineXf3f, nested:bool) -> meshlib::Owned< meshlib::nesting::NestingResult >
static auto construct_from_another (_other:&meshlib::nesting::NestingResult) -> meshlib::Owned< meshlib::nesting::NestingResult >
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::Nesting::NestingResult.

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::nesting::NestingResult::assign_from_another ( _other:&meshlib::nesting::NestingResult ) -> &mut meshlib::nesting::NestingResult

Generated from method MR::Nesting::NestingResult::operator=.

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

◆ construct_from()

auto meshlib::nesting::NestingResult::construct_from ( xf:meshlib::AffineXf3f ,
nested:bool  ) -> meshlib::Owned< meshlib::nesting::NestingResult >
static

Constructs MR::Nesting::NestingResult elementwise.

Calls MR_Nesting_NestingResult_ConstructFrom(). The reference to the parameter xf might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::Nesting::NestingResult::NestingResult.

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

◆ nested()

auto meshlib::nesting::NestingResult::nested ( ) const -> &bool

false - means that this object does not fit the nest Returns a pointer to a member variable of class MR::Nesting::NestingResult named nested.

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

◆ nested_mut()

auto meshlib::nesting::NestingResult::nested_mut ( ) -> &mut bool

false - means that this object does not fit the nest Returns a mutable pointer to a member variable of class MR::Nesting::NestingResult named nested.

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

◆ new()

auto meshlib::nesting::NestingResult::new ( ) -> meshlib::Owned< meshlib::nesting::NestingResult >
static

Constructs an empty (default-constructed) instance.

Calls MR_Nesting_NestingResult_DefaultConstruct().

◆ set_nested()

void meshlib::nesting::NestingResult::set_nested ( value:bool )

false - means that this object does not fit the nest Modifies a member variable of class MR::Nesting::NestingResult named nested.

Calls MR_Nesting_NestingResult_Set_nested().

◆ set_xf()

void meshlib::nesting::NestingResult::set_xf ( value:meshlib::AffineXf3f )

best found xf for this object (might be equal with input xf if no good nesting was found) Modifies a member variable of class MR::Nesting::NestingResult named xf.

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

◆ xf()

auto meshlib::nesting::NestingResult::xf ( ) const -> &meshlib::AffineXf3f

best found xf for this object (might be equal with input xf if no good nesting was found) Returns a pointer to a member variable of class MR::Nesting::NestingResult named xf.

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

◆ xf_mut()

auto meshlib::nesting::NestingResult::xf_mut ( ) -> &mut meshlib::AffineXf3f

best found xf for this object (might be equal with input xf if no good nesting was found) Returns a mutable pointer to a member variable of class MR::Nesting::NestingResult named xf.

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


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