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

Public Member Functions

auto assign_from_another (_other:&meshlib::TrivialMetricToPenalty) -> &mut meshlib::TrivialMetricToPenalty
auto call (metric:f32, _2:meshlib::VertId) const -> f32

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::TrivialMetricToPenalty >
static auto construct_from_another (_other:&meshlib::TrivialMetricToPenalty) -> meshlib::Owned< meshlib::TrivialMetricToPenalty >
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

the vertices in the queue are ordered by their metric from a start location Generated from class MR::TrivialMetricToPenalty.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ call()

auto meshlib::TrivialMetricToPenalty::call ( metric:f32 ,
_2:meshlib::VertId  ) const -> f32

Generated from method MR::TrivialMetricToPenalty::operator().

Calls MR_TrivialMetricToPenalty_call().

◆ construct_from_another()

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

Generated from constructor MR::TrivialMetricToPenalty::TrivialMetricToPenalty.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_TrivialMetricToPenalty_DefaultConstruct().


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