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

Public Member Functions

auto assign_from_another (_other:&meshlib::weighted_shell::ParametersRegions_Region) -> &mut meshlib::weighted_shell::ParametersRegions_Region
auto verts () const -> &meshlib::VertBitSet
auto verts_mut () -> &mut meshlib::VertBitSet
void set_verts (value:&meshlib::VertBitSet)
auto weight () const -> &f32
auto weight_mut () -> &mut f32
void set_weight (value:f32)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::weighted_shell::ParametersRegions_Region >
static auto construct_from (verts:&meshlib::VertBitSet, weight:f32) -> meshlib::Owned< meshlib::weighted_shell::ParametersRegions_Region >
static auto construct_from_another (_other:&meshlib::weighted_shell::ParametersRegions_Region) -> meshlib::Owned< meshlib::weighted_shell::ParametersRegions_Region >
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::WeightedShell::ParametersRegions::Region.

Generated from class MR::WeightedShell::ParametersRegions::Region. Heap-allocated instances are held in Owned<ParametersRegions_Region>.

Member Function Documentation

◆ assign_from_another()

auto meshlib::weighted_shell::ParametersRegions_Region::assign_from_another ( _other:&meshlib::weighted_shell::ParametersRegions_Region ) -> &mut meshlib::weighted_shell::ParametersRegions_Region

Generated from method MR::WeightedShell::ParametersRegions::Region::operator=.

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

◆ construct_from()

auto meshlib::weighted_shell::ParametersRegions_Region::construct_from ( verts:&meshlib::VertBitSet ,
weight:f32  ) -> meshlib::Owned< meshlib::weighted_shell::ParametersRegions_Region >
static

Constructs MR::WeightedShell::ParametersRegions::Region elementwise.

Calls MR_WeightedShell_ParametersRegions_Region_ConstructFrom(). The reference to the parameter verts might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::WeightedShell::ParametersRegions::Region::Region.

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

◆ new()

auto meshlib::weighted_shell::ParametersRegions_Region::new ( ) -> meshlib::Owned< meshlib::weighted_shell::ParametersRegions_Region >
static

Constructs an empty (default-constructed) instance.

Calls MR_WeightedShell_ParametersRegions_Region_DefaultConstruct().

◆ set_verts()

void meshlib::weighted_shell::ParametersRegions_Region::set_verts ( value:&meshlib::VertBitSet )

Modifies a member variable of class MR::WeightedShell::ParametersRegions::Region named verts.

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

◆ set_weight()

void meshlib::weighted_shell::ParametersRegions_Region::set_weight ( value:f32 )

Modifies a member variable of class MR::WeightedShell::ParametersRegions::Region named weight.

Calls MR_WeightedShell_ParametersRegions_Region_Set_weight().

◆ verts()

auto meshlib::weighted_shell::ParametersRegions_Region::verts ( ) const -> &meshlib::VertBitSet

Returns a pointer to a member variable of class MR::WeightedShell::ParametersRegions::Region named verts.

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

◆ verts_mut()

auto meshlib::weighted_shell::ParametersRegions_Region::verts_mut ( ) -> &mut meshlib::VertBitSet

Returns a mutable pointer to a member variable of class MR::WeightedShell::ParametersRegions::Region named verts.

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

◆ weight()

auto meshlib::weighted_shell::ParametersRegions_Region::weight ( ) const -> &f32

Returns a pointer to a member variable of class MR::WeightedShell::ParametersRegions::Region named weight.

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

◆ weight_mut()

auto meshlib::weighted_shell::ParametersRegions_Region::weight_mut ( ) -> &mut f32

Returns a mutable pointer to a member variable of class MR::WeightedShell::ParametersRegions::Region named weight.

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


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