Public Member Functions | |
| auto | convert_to_bool () const -> bool |
| auto | assign_from_another (_other:&meshlib::PointAndDistance) -> &mut meshlib::PointAndDistance |
| auto | valid () const -> bool |
| auto | v_id () const -> &meshlib::VertId |
| auto | v_id_mut () -> &mut meshlib::VertId |
| void | set_v_id (value:meshlib::VertId) |
| auto | dist () const -> &f32 |
| auto | dist_mut () -> &mut f32 |
| void | set_dist (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::PointAndDistance > |
| static auto | construct_from (vId:meshlib::VertId, dist:f32) -> meshlib::Owned< meshlib::PointAndDistance > |
| static auto | construct_from_another (_other:&meshlib::PointAndDistance) -> meshlib::Owned< meshlib::PointAndDistance > |
| 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 |
Generated from class MR::PointAndDistance.
Generated from class MR::PointAndDistance. Heap-allocated instances are held in Owned<PointAndDistance>.
| auto meshlib::PointAndDistance::assign_from_another | ( | _other:&meshlib::PointAndDistance | ) | -> &mut meshlib::PointAndDistance |
Generated from method MR::PointAndDistance::operator=.
Calls MR_PointAndDistance_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::PointAndDistance elementwise.
Calls MR_PointAndDistance_ConstructFrom(). The reference to the parameter vId might be preserved in the constructed object.
|
static |
Generated from constructor MR::PointAndDistance::PointAndDistance.
Calls MR_PointAndDistance_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::PointAndDistance::convert_to_bool | ( | ) | const -> bool |
Generated from conversion operator MR::PointAndDistance::operator bool.
Calls MR_PointAndDistance_ConvertTo_bool().
| auto meshlib::PointAndDistance::dist | ( | ) | const -> &f32 |
the distance from input location to point vId considering point's weight Returns a pointer to a member variable of class MR::PointAndDistance named dist.
Calls MR_PointAndDistance_Get_dist(). The reference to this object might be preserved as the return value.
| auto meshlib::PointAndDistance::dist_mut | ( | ) | -> &mut f32 |
the distance from input location to point vId considering point's weight Returns a mutable pointer to a member variable of class MR::PointAndDistance named dist.
Calls MR_PointAndDistance_GetMutable_dist(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_PointAndDistance_DefaultConstruct().
| void meshlib::PointAndDistance::set_dist | ( | value:f32 | ) |
the distance from input location to point vId considering point's weight Modifies a member variable of class MR::PointAndDistance named dist.
Calls MR_PointAndDistance_Set_dist().
| void meshlib::PointAndDistance::set_v_id | ( | value:meshlib::VertId | ) |
a cloud's point Modifies a member variable of class MR::PointAndDistance named vId.
Calls MR_PointAndDistance_Set_vId(). The reference to the parameter value might be preserved in this object in element vId.
| auto meshlib::PointAndDistance::v_id | ( | ) | const -> &meshlib::VertId |
a cloud's point Returns a pointer to a member variable of class MR::PointAndDistance named vId.
Calls MR_PointAndDistance_Get_vId(). The reference to this object might be preserved as the return value.
| auto meshlib::PointAndDistance::v_id_mut | ( | ) | -> &mut meshlib::VertId |
a cloud's point Returns a mutable pointer to a member variable of class MR::PointAndDistance named vId.
Calls MR_PointAndDistance_GetMutable_vId(). The reference to this object might be preserved as the return value.
| auto meshlib::PointAndDistance::valid | ( | ) | const -> bool |
check for validity, otherwise there is no point closer than maxBidirDist Generated from method MR::PointAndDistance::valid.
Calls MR_PointAndDistance_valid().