MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::VertPathInfo:

Public Member Functions

auto assign_from_another (_other:&meshlib::VertPathInfo) -> &mut meshlib::VertPathInfo
auto is_start () const -> bool
auto back () const -> &meshlib::EdgeId
auto back_mut () -> &mut meshlib::EdgeId
void set_back (value:meshlib::EdgeId)
auto metric () const -> &f32
auto metric_mut () -> &mut f32
void set_metric (value:f32)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::VertPathInfo >
static auto construct_from (back:meshlib::EdgeId, metric:f32) -> meshlib::Owned< meshlib::VertPathInfo >
static auto construct_from_another (_other:&meshlib::VertPathInfo) -> meshlib::Owned< meshlib::VertPathInfo >
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

information associated with each vertex by the paths builder Generated from class MR::VertPathInfo.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ back()

auto meshlib::VertPathInfo::back ( ) const -> &meshlib::EdgeId

edge from this vertex to its predecessor in the forest Returns a pointer to a member variable of class MR::VertPathInfo named back.

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

◆ back_mut()

auto meshlib::VertPathInfo::back_mut ( ) -> &mut meshlib::EdgeId

edge from this vertex to its predecessor in the forest Returns a mutable pointer to a member variable of class MR::VertPathInfo named back.

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

◆ construct_from()

auto meshlib::VertPathInfo::construct_from ( back:meshlib::EdgeId ,
metric:f32  ) -> meshlib::Owned< meshlib::VertPathInfo >
static

Constructs MR::VertPathInfo elementwise.

Calls MR_VertPathInfo_ConstructFrom(). The reference to the parameter back might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::VertPathInfo::VertPathInfo.

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

◆ is_start()

auto meshlib::VertPathInfo::is_start ( ) const -> bool

Generated from method MR::VertPathInfo::isStart.

Calls MR_VertPathInfo_isStart().

◆ metric()

auto meshlib::VertPathInfo::metric ( ) const -> &f32

best summed metric to reach this vertex Returns a pointer to a member variable of class MR::VertPathInfo named metric.

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

◆ metric_mut()

auto meshlib::VertPathInfo::metric_mut ( ) -> &mut f32

best summed metric to reach this vertex Returns a mutable pointer to a member variable of class MR::VertPathInfo named metric.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_VertPathInfo_DefaultConstruct().

◆ set_back()

void meshlib::VertPathInfo::set_back ( value:meshlib::EdgeId )

edge from this vertex to its predecessor in the forest Modifies a member variable of class MR::VertPathInfo named back.

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

◆ set_metric()

void meshlib::VertPathInfo::set_metric ( value:f32 )

best summed metric to reach this vertex Modifies a member variable of class MR::VertPathInfo named metric.

Calls MR_VertPathInfo_Set_metric().


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