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

Public Member Functions

auto assign_from_another (_other:&meshlib::EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert) -> &mut meshlib::EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert
auto v () const -> &meshlib::VertId
auto v_mut () -> &mut meshlib::VertId
void set_v (value:meshlib::VertId)
auto backward () const -> &meshlib::EdgeId
auto backward_mut () -> &mut meshlib::EdgeId
void set_backward (value:meshlib::EdgeId)
auto penalty () const -> &f32
auto penalty_mut () -> &mut f32
void set_penalty (value:f32)
auto metric () const -> &f32
auto metric_mut () -> &mut f32
void set_metric (value:f32)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert >
static auto construct_from (v:meshlib::VertId, backward:meshlib::EdgeId, penalty:f32, metric:f32) -> meshlib::Owned< meshlib::EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert >
static auto construct_from_another (_other:&meshlib::EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert) -> meshlib::Owned< meshlib::EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert >
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 about just reached vertex (with final metric value) Generated from class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert.

Generated from class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert. Heap-allocated instances are held in Owned<EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert>.

Member Function Documentation

◆ assign_from_another()

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

Generated from method MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert::operator=.

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

◆ backward()

auto meshlib::EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert::backward ( ) const -> &meshlib::EdgeId

edge from this vertex to its predecessor in the forest (if this vertex is not start) Returns a pointer to a member variable of class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert named backward.

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

◆ backward_mut()

auto meshlib::EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert::backward_mut ( ) -> &mut meshlib::EdgeId

edge from this vertex to its predecessor in the forest (if this vertex is not start) Returns a mutable pointer to a member variable of class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert named backward.

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

◆ construct_from()

auto meshlib::EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert::construct_from ( v:meshlib::VertId ,
backward:meshlib::EdgeId ,
penalty:f32 ,
metric:f32  ) -> meshlib::Owned< meshlib::EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert >
static

Constructs MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert elementwise.

Calls MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_ConstructFrom(). The reference to the parameter v might be preserved in the constructed object. The reference to the parameter backward might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert::ReachedVert.

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

◆ metric()

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

summed metric to reach this vertex Returns a pointer to a member variable of class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert named metric.

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

◆ metric_mut()

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

summed metric to reach this vertex Returns a mutable pointer to a member variable of class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert named metric.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_DefaultConstruct().

◆ penalty()

auto meshlib::EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert::penalty ( ) const -> &f32

not reached vertices are ordered in priority queue by their penalty (with the smallest value on top); penalty is equal to metric in ordinary Dijkstra, or equal to (metric + target distance lower bound) in A* Returns a pointer to a member variable of class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert named penalty.

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

◆ penalty_mut()

auto meshlib::EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert::penalty_mut ( ) -> &mut f32

not reached vertices are ordered in priority queue by their penalty (with the smallest value on top); penalty is equal to metric in ordinary Dijkstra, or equal to (metric + target distance lower bound) in A* Returns a mutable pointer to a member variable of class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert named penalty.

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

◆ set_backward()

void meshlib::EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert::set_backward ( value:meshlib::EdgeId )

edge from this vertex to its predecessor in the forest (if this vertex is not start) Modifies a member variable of class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert named backward.

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

◆ set_metric()

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

summed metric to reach this vertex Modifies a member variable of class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert named metric.

Calls MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_Set_metric().

◆ set_penalty()

void meshlib::EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert::set_penalty ( value:f32 )

not reached vertices are ordered in priority queue by their penalty (with the smallest value on top); penalty is equal to metric in ordinary Dijkstra, or equal to (metric + target distance lower bound) in A* Modifies a member variable of class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert named penalty.

Calls MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_Set_penalty().

◆ set_v()

void meshlib::EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert::set_v ( value:meshlib::VertId )

Modifies a member variable of class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert named v.

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

◆ v()

auto meshlib::EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert::v ( ) const -> &meshlib::VertId

Returns a pointer to a member variable of class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert named v.

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

◆ v_mut()

auto meshlib::EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert::v_mut ( ) -> &mut meshlib::VertId

Returns a mutable pointer to a member variable of class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert named v.

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


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