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

Public Member Functions

auto assign_from_another (_other:&meshlib::DihedralAngleProcessParams) -> &mut meshlib::DihedralAngleProcessParams
auto convex_factor () const -> &f32
auto convex_factor_mut () -> &mut f32
void set_convex_factor (value:f32)
auto concave_factor () const -> &f32
auto concave_factor_mut () -> &mut f32
void set_concave_factor (value:f32)
auto boundary_value () const -> &f32
auto boundary_value_mut () -> &mut f32
void set_boundary_value (value:f32)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::DihedralAngleProcessParams >
static auto construct_from (convexFactor:f32, concaveFactor:f32, boundaryValue:f32) -> meshlib::Owned< meshlib::DihedralAngleProcessParams >
static auto construct_from_another (_other:&meshlib::DihedralAngleProcessParams) -> meshlib::Owned< meshlib::DihedralAngleProcessParams >
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::DihedralAngleProcessParams.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ boundary_value()

auto meshlib::DihedralAngleProcessParams::boundary_value ( ) const -> &f32

< this value will be returned as dihedral angle for boundary edges Returns a pointer to a member variable of class MR::DihedralAngleProcessParams named boundaryValue.

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

◆ boundary_value_mut()

auto meshlib::DihedralAngleProcessParams::boundary_value_mut ( ) -> &mut f32

< this value will be returned as dihedral angle for boundary edges Returns a mutable pointer to a member variable of class MR::DihedralAngleProcessParams named boundaryValue.

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

◆ concave_factor()

auto meshlib::DihedralAngleProcessParams::concave_factor ( ) const -> &f32

< negative concave dihedral angles are returned multiplied on this factor Returns a pointer to a member variable of class MR::DihedralAngleProcessParams named concaveFactor.

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

◆ concave_factor_mut()

auto meshlib::DihedralAngleProcessParams::concave_factor_mut ( ) -> &mut f32

< negative concave dihedral angles are returned multiplied on this factor Returns a mutable pointer to a member variable of class MR::DihedralAngleProcessParams named concaveFactor.

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

◆ construct_from()

auto meshlib::DihedralAngleProcessParams::construct_from ( convexFactor:f32 ,
concaveFactor:f32 ,
boundaryValue:f32  ) -> meshlib::Owned< meshlib::DihedralAngleProcessParams >
static

Constructs MR::DihedralAngleProcessParams elementwise.

Calls MR_DihedralAngleProcessParams_ConstructFrom().

◆ construct_from_another()

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

Generated from constructor MR::DihedralAngleProcessParams::DihedralAngleProcessParams.

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

◆ convex_factor()

auto meshlib::DihedralAngleProcessParams::convex_factor ( ) const -> &f32

< positive convex dihedral angles are returned multiplied on this factor Returns a pointer to a member variable of class MR::DihedralAngleProcessParams named convexFactor.

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

◆ convex_factor_mut()

auto meshlib::DihedralAngleProcessParams::convex_factor_mut ( ) -> &mut f32

< positive convex dihedral angles are returned multiplied on this factor Returns a mutable pointer to a member variable of class MR::DihedralAngleProcessParams named convexFactor.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_DihedralAngleProcessParams_DefaultConstruct().

◆ set_boundary_value()

void meshlib::DihedralAngleProcessParams::set_boundary_value ( value:f32 )

< this value will be returned as dihedral angle for boundary edges Modifies a member variable of class MR::DihedralAngleProcessParams named boundaryValue.

Calls MR_DihedralAngleProcessParams_Set_boundaryValue().

◆ set_concave_factor()

void meshlib::DihedralAngleProcessParams::set_concave_factor ( value:f32 )

< negative concave dihedral angles are returned multiplied on this factor Modifies a member variable of class MR::DihedralAngleProcessParams named concaveFactor.

Calls MR_DihedralAngleProcessParams_Set_concaveFactor().

◆ set_convex_factor()

void meshlib::DihedralAngleProcessParams::set_convex_factor ( value:f32 )

< positive convex dihedral angles are returned multiplied on this factor Modifies a member variable of class MR::DihedralAngleProcessParams named convexFactor.

Calls MR_DihedralAngleProcessParams_Set_convexFactor().


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