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

Public Member Functions

auto assign_from_another (_other:&meshlib::DecimatePolylineResult) -> &mut meshlib::DecimatePolylineResult
auto verts_deleted () const -> &core::ffi::c_int
auto verts_deleted_mut () -> &mut core::ffi::c_int
void set_verts_deleted (value:core::ffi::c_int)
auto error_introduced () const -> &f32
auto error_introduced_mut () -> &mut f32
void set_error_introduced (value:f32)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::DecimatePolylineResult >
static auto construct_from (vertsDeleted:core::ffi::c_int, errorIntroduced:f32) -> meshlib::Owned< meshlib::DecimatePolylineResult >
static auto construct_from_another (_other:&meshlib::DecimatePolylineResult) -> meshlib::Owned< meshlib::DecimatePolylineResult >
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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::DecimatePolylineResult::construct_from ( vertsDeleted:core::ffi::c_int ,
errorIntroduced:f32  ) -> meshlib::Owned< meshlib::DecimatePolylineResult >
static

Constructs MR::DecimatePolylineResult elementwise.

Calls MR_DecimatePolylineResult_ConstructFrom().

◆ construct_from_another()

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

Generated from constructor MR::DecimatePolylineResult::DecimatePolylineResult.

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

◆ error_introduced()

auto meshlib::DecimatePolylineResult::error_introduced ( ) const -> &f32

< Max different (as distance) between original contour and result contour Returns a pointer to a member variable of class MR::DecimatePolylineResult named errorIntroduced.

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

◆ error_introduced_mut()

auto meshlib::DecimatePolylineResult::error_introduced_mut ( ) -> &mut f32

< Max different (as distance) between original contour and result contour Returns a mutable pointer to a member variable of class MR::DecimatePolylineResult named errorIntroduced.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_DecimatePolylineResult_DefaultConstruct().

◆ set_error_introduced()

void meshlib::DecimatePolylineResult::set_error_introduced ( value:f32 )

< Max different (as distance) between original contour and result contour Modifies a member variable of class MR::DecimatePolylineResult named errorIntroduced.

Calls MR_DecimatePolylineResult_Set_errorIntroduced().

◆ set_verts_deleted()

void meshlib::DecimatePolylineResult::set_verts_deleted ( value:core::ffi::c_int )

< Number deleted verts. Same as the number of performed collapses Modifies a member variable of class MR::DecimatePolylineResult named vertsDeleted.

Calls MR_DecimatePolylineResult_Set_vertsDeleted().

◆ verts_deleted()

auto meshlib::DecimatePolylineResult::verts_deleted ( ) const -> &core::ffi::c_int

< Number deleted verts. Same as the number of performed collapses Returns a pointer to a member variable of class MR::DecimatePolylineResult named vertsDeleted.

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

◆ verts_deleted_mut()

auto meshlib::DecimatePolylineResult::verts_deleted_mut ( ) -> &mut core::ffi::c_int

< Number deleted verts. Same as the number of performed collapses Returns a mutable pointer to a member variable of class MR::DecimatePolylineResult named vertsDeleted.

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


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