Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::MetricToAStarPenalty) -> &mut meshlib::MetricToAStarPenalty |
| auto | call (metric:f32, v:meshlib::VertId) const -> f32 |
| auto | points () const -> *const *const meshlib::ffi::MR_VertCoords |
| auto | points_mut () -> *mut *const meshlib::ffi::MR_VertCoords |
| void | set_points (value:Option<&meshlib::VertCoords >) |
| auto | target () const -> &meshlib::Vector3f |
| auto | target_mut () -> &mut meshlib::Vector3f |
| void | set_target (value:meshlib::Vector3f) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::MetricToAStarPenalty > |
| static auto | construct_from (points:Option<&meshlib::VertCoords >, target:meshlib::Vector3f) -> meshlib::Owned< meshlib::MetricToAStarPenalty > |
| static auto | construct_from_another (_other:&meshlib::MetricToAStarPenalty) -> meshlib::Owned< meshlib::MetricToAStarPenalty > |
| 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 |
the vertices in the queue are ordered by the sum of their metric from a start location and the lower bound of a path till target point (A* heuristic) Generated from class MR::MetricToAStarPenalty.
Generated from class MR::MetricToAStarPenalty. Heap-allocated instances are held in Owned<MetricToAStarPenalty>.
| auto meshlib::MetricToAStarPenalty::assign_from_another | ( | _other:&meshlib::MetricToAStarPenalty | ) | -> &mut meshlib::MetricToAStarPenalty |
Generated from method MR::MetricToAStarPenalty::operator=.
Calls MR_MetricToAStarPenalty_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::MetricToAStarPenalty::call | ( | metric:f32 | , |
| v:meshlib::VertId | ) const -> f32 |
Generated from method MR::MetricToAStarPenalty::operator().
Calls MR_MetricToAStarPenalty_call().
|
static |
Constructs MR::MetricToAStarPenalty elementwise.
Calls MR_MetricToAStarPenalty_ConstructFrom(). The reference to the parameter points might be preserved in the constructed object. The reference to the parameter target might be preserved in the constructed object.
|
static |
Generated from constructor MR::MetricToAStarPenalty::MetricToAStarPenalty.
Calls MR_MetricToAStarPenalty_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_MetricToAStarPenalty_DefaultConstruct().
| auto meshlib::MetricToAStarPenalty::points | ( | ) | const -> *const *const meshlib::ffi::MR_VertCoords |
Returns a pointer to a member variable of class MR::MetricToAStarPenalty named points.
Calls MR_MetricToAStarPenalty_Get_points(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| auto meshlib::MetricToAStarPenalty::points_mut | ( | ) | -> *mut *const meshlib::ffi::MR_VertCoords |
Returns a mutable pointer to a member variable of class MR::MetricToAStarPenalty named points.
Calls MR_MetricToAStarPenalty_GetMutable_points(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| void meshlib::MetricToAStarPenalty::set_points | ( | value:Option<&meshlib::VertCoords > | ) |
Modifies a member variable of class MR::MetricToAStarPenalty named points.
Calls MR_MetricToAStarPenalty_Set_points(). The reference to the parameter value might be preserved in this object in element points.
| void meshlib::MetricToAStarPenalty::set_target | ( | value:meshlib::Vector3f | ) |
Modifies a member variable of class MR::MetricToAStarPenalty named target.
Calls MR_MetricToAStarPenalty_Set_target(). The reference to the parameter value might be preserved in this object in element target.
| auto meshlib::MetricToAStarPenalty::target | ( | ) | const -> &meshlib::Vector3f |
Returns a pointer to a member variable of class MR::MetricToAStarPenalty named target.
Calls MR_MetricToAStarPenalty_Get_target(). The reference to this object might be preserved as the return value.
| auto meshlib::MetricToAStarPenalty::target_mut | ( | ) | -> &mut meshlib::Vector3f |
Returns a mutable pointer to a member variable of class MR::MetricToAStarPenalty named target.
Calls MR_MetricToAStarPenalty_GetMutable_target(). The reference to this object might be preserved as the return value.