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

Public Member Functions

auto assign_from_another (_other:&meshlib::FillHoleMetric) -> &mut meshlib::FillHoleMetric
auto triangle_metric () const -> &meshlib::std_function_double_from_MR_VertId_MR_VertId_MR_VertId
auto triangle_metric_mut () -> &mut meshlib::std_function_double_from_MR_VertId_MR_VertId_MR_VertId
void set_triangle_metric (value:&meshlib::std_function_double_from_MR_VertId_MR_VertId_MR_VertId)
auto edge_metric () const -> &meshlib::std_function_double_from_MR_VertId_MR_VertId_MR_VertId_MR_VertId
auto edge_metric_mut () -> &mut meshlib::std_function_double_from_MR_VertId_MR_VertId_MR_VertId_MR_VertId
void set_edge_metric (value:&meshlib::std_function_double_from_MR_VertId_MR_VertId_MR_VertId_MR_VertId)
auto combine_metric () const -> &meshlib::std_function_double_from_double_double
auto combine_metric_mut () -> &mut meshlib::std_function_double_from_double_double
void set_combine_metric (value:&meshlib::std_function_double_from_double_double)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::FillHoleMetric >
static auto construct_from (triangleMetric:&meshlib::std_function_double_from_MR_VertId_MR_VertId_MR_VertId, edgeMetric:&meshlib::std_function_double_from_MR_VertId_MR_VertId_MR_VertId_MR_VertId, combineMetric:&meshlib::std_function_double_from_double_double) -> meshlib::Owned< meshlib::FillHoleMetric >
static auto construct_from_another (_other:&meshlib::FillHoleMetric) -> meshlib::Owned< meshlib::FillHoleMetric >
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::FillHoleMetric::assign_from_another ( _other:&meshlib::FillHoleMetric ) -> &mut meshlib::FillHoleMetric

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

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

◆ combine_metric()

auto meshlib::FillHoleMetric::combine_metric ( ) const -> &meshlib::std_function_double_from_double_double

is called to combine metrics from different candidates, if it is not set it just summarizes input Returns a pointer to a member variable of class MR::FillHoleMetric named combineMetric.

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

◆ combine_metric_mut()

auto meshlib::FillHoleMetric::combine_metric_mut ( ) -> &mut meshlib::std_function_double_from_double_double

is called to combine metrics from different candidates, if it is not set it just summarizes input Returns a mutable pointer to a member variable of class MR::FillHoleMetric named combineMetric.

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

◆ construct_from()

Constructs MR::FillHoleMetric elementwise.

Calls MR_FillHoleMetric_ConstructFrom(). The reference to the parameter triangleMetric might be preserved in the constructed object. The reference to the parameter edgeMetric might be preserved in the constructed object. The reference to the parameter combineMetric might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::FillHoleMetric::FillHoleMetric.

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

◆ edge_metric()

auto meshlib::FillHoleMetric::edge_metric ( ) const -> &meshlib::std_function_double_from_MR_VertId_MR_VertId_MR_VertId_MR_VertId

is called for each edge, if it is set Returns a pointer to a member variable of class MR::FillHoleMetric named edgeMetric.

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

◆ edge_metric_mut()

auto meshlib::FillHoleMetric::edge_metric_mut ( ) -> &mut meshlib::std_function_double_from_MR_VertId_MR_VertId_MR_VertId_MR_VertId

is called for each edge, if it is set Returns a mutable pointer to a member variable of class MR::FillHoleMetric named edgeMetric.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_FillHoleMetric_DefaultConstruct().

◆ set_combine_metric()

void meshlib::FillHoleMetric::set_combine_metric ( value:&meshlib::std_function_double_from_double_double )

is called to combine metrics from different candidates, if it is not set it just summarizes input Modifies a member variable of class MR::FillHoleMetric named combineMetric.

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

◆ set_edge_metric()

void meshlib::FillHoleMetric::set_edge_metric ( value:&meshlib::std_function_double_from_MR_VertId_MR_VertId_MR_VertId_MR_VertId )

is called for each edge, if it is set Modifies a member variable of class MR::FillHoleMetric named edgeMetric.

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

◆ set_triangle_metric()

void meshlib::FillHoleMetric::set_triangle_metric ( value:&meshlib::std_function_double_from_MR_VertId_MR_VertId_MR_VertId )

is called for each triangle, if it is set Modifies a member variable of class MR::FillHoleMetric named triangleMetric.

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

◆ triangle_metric()

auto meshlib::FillHoleMetric::triangle_metric ( ) const -> &meshlib::std_function_double_from_MR_VertId_MR_VertId_MR_VertId

is called for each triangle, if it is set Returns a pointer to a member variable of class MR::FillHoleMetric named triangleMetric.

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

◆ triangle_metric_mut()

auto meshlib::FillHoleMetric::triangle_metric_mut ( ) -> &mut meshlib::std_function_double_from_MR_VertId_MR_VertId_MR_VertId

is called for each triangle, if it is set Returns a mutable pointer to a member variable of class MR::FillHoleMetric named triangleMetric.

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


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