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

Public Member Functions

auto assign_from_another (_other:&meshlib::MeshApproxRelaxParams) -> &mut meshlib::MeshApproxRelaxParams
auto surface_dilate_radius () const -> &f32
auto surface_dilate_radius_mut () -> &mut f32
void set_surface_dilate_radius (value:f32)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::MeshApproxRelaxParams >
static auto construct_from_another (_other:&meshlib::MeshApproxRelaxParams) -> meshlib::Owned< meshlib::MeshApproxRelaxParams >
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::MeshApproxRelaxParams. Base classes: Direct: (non-virtual) MR::MeshRelaxParams Indirect: (non-virtual) MR::RelaxParams

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from_another()

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

Generated from constructor MR::MeshApproxRelaxParams::MeshApproxRelaxParams.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_MeshApproxRelaxParams_DefaultConstruct().

◆ set_surface_dilate_radius()

void meshlib::MeshApproxRelaxParams::set_surface_dilate_radius ( value:f32 )

radius to find neighbors by surface 0.0f - default = 1e-3 * sqrt(surface area) Modifies a member variable of class MR::MeshApproxRelaxParams named surfaceDilateRadius.

Calls MR_MeshApproxRelaxParams_Set_surfaceDilateRadius().

◆ surface_dilate_radius()

auto meshlib::MeshApproxRelaxParams::surface_dilate_radius ( ) const -> &f32

radius to find neighbors by surface 0.0f - default = 1e-3 * sqrt(surface area) Returns a pointer to a member variable of class MR::MeshApproxRelaxParams named surfaceDilateRadius.

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

◆ surface_dilate_radius_mut()

auto meshlib::MeshApproxRelaxParams::surface_dilate_radius_mut ( ) -> &mut f32

radius to find neighbors by surface 0.0f - default = 1e-3 * sqrt(surface area) Returns a mutable pointer to a member variable of class MR::MeshApproxRelaxParams named surfaceDilateRadius.

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


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