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

Public Member Functions

auto assign_from_another (_other:&meshlib::fix_undercuts::FindParams) -> &mut meshlib::fix_undercuts::FindParams
auto up_direction () const -> &meshlib::Vector3f
auto up_direction_mut () -> &mut meshlib::Vector3f
void set_up_direction (value:meshlib::Vector3f)
auto wall_angle () const -> &f32
auto wall_angle_mut () -> &mut f32
void set_wall_angle (value:f32)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::fix_undercuts::FindParams >
static auto construct_from (upDirection:meshlib::Vector3f, wallAngle:f32) -> meshlib::Owned< meshlib::fix_undercuts::FindParams >
static auto construct_from_another (_other:&meshlib::fix_undercuts::FindParams) -> meshlib::Owned< meshlib::fix_undercuts::FindParams >
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

Parameters that is used to find undercuts Generated from class MR::FixUndercuts::FindParams.

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::fix_undercuts::FindParams::assign_from_another ( _other:&meshlib::fix_undercuts::FindParams ) -> &mut meshlib::fix_undercuts::FindParams

Generated from method MR::FixUndercuts::FindParams::operator=.

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

◆ construct_from()

auto meshlib::fix_undercuts::FindParams::construct_from ( upDirection:meshlib::Vector3f ,
wallAngle:f32  ) -> meshlib::Owned< meshlib::fix_undercuts::FindParams >
static

Constructs MR::FixUndercuts::FindParams elementwise.

Calls MR_FixUndercuts_FindParams_ConstructFrom(). The reference to the parameter upDirection might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::FixUndercuts::FindParams::FindParams.

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

◆ new()

auto meshlib::fix_undercuts::FindParams::new ( ) -> meshlib::Owned< meshlib::fix_undercuts::FindParams >
static

Constructs an empty (default-constructed) instance.

Calls MR_FixUndercuts_FindParams_DefaultConstruct().

◆ set_up_direction()

void meshlib::fix_undercuts::FindParams::set_up_direction ( value:meshlib::Vector3f )

Primitives that are not visible from up direction are considered as undercuts (fix undercuts is performed downwards (in -direction)) Modifies a member variable of class MR::FixUndercuts::FindParams named upDirection.

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

◆ set_wall_angle()

void meshlib::fix_undercuts::FindParams::set_wall_angle ( value:f32 )

vertical angle of fixed undercut walls (note that this value is approximate - it defines "camera" position for internal projective transformation) 0 - strictly vertical walls of undercuts area positive - expanding downwards walls negative - shrinking downwards walls Modifies a member variable of class MR::FixUndercuts::FindParams named wallAngle.

Calls MR_FixUndercuts_FindParams_Set_wallAngle().

◆ up_direction()

auto meshlib::fix_undercuts::FindParams::up_direction ( ) const -> &meshlib::Vector3f

Primitives that are not visible from up direction are considered as undercuts (fix undercuts is performed downwards (in -direction)) Returns a pointer to a member variable of class MR::FixUndercuts::FindParams named upDirection.

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

◆ up_direction_mut()

auto meshlib::fix_undercuts::FindParams::up_direction_mut ( ) -> &mut meshlib::Vector3f

Primitives that are not visible from up direction are considered as undercuts (fix undercuts is performed downwards (in -direction)) Returns a mutable pointer to a member variable of class MR::FixUndercuts::FindParams named upDirection.

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

◆ wall_angle()

auto meshlib::fix_undercuts::FindParams::wall_angle ( ) const -> &f32

vertical angle of fixed undercut walls (note that this value is approximate - it defines "camera" position for internal projective transformation) 0 - strictly vertical walls of undercuts area positive - expanding downwards walls negative - shrinking downwards walls Returns a pointer to a member variable of class MR::FixUndercuts::FindParams named wallAngle.

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

◆ wall_angle_mut()

auto meshlib::fix_undercuts::FindParams::wall_angle_mut ( ) -> &mut f32

vertical angle of fixed undercut walls (note that this value is approximate - it defines "camera" position for internal projective transformation) 0 - strictly vertical walls of undercuts area positive - expanding downwards walls negative - shrinking downwards walls Returns a mutable pointer to a member variable of class MR::FixUndercuts::FindParams named wallAngle.

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


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