Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::MeshPointAndDistance > |
| static auto | construct_from (loc:meshlib::Vector3f, mtp:&meshlib::MeshTriPoint, eucledeanDist:f32, w:f32, bidirectionalOrOutside:bool) -> meshlib::Owned< meshlib::MeshPointAndDistance > |
| static auto | construct_from_another (_other:&meshlib::MeshPointAndDistance) -> meshlib::Owned< meshlib::MeshPointAndDistance > |
| 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::MeshPointAndDistance.
Generated from class MR::MeshPointAndDistance. Heap-allocated instances are held in Owned<MeshPointAndDistance>.
| auto meshlib::MeshPointAndDistance::assign_from_another | ( | _other:&meshlib::MeshPointAndDistance | ) | -> &mut meshlib::MeshPointAndDistance |
Generated from method MR::MeshPointAndDistance::operator=.
Calls MR_MeshPointAndDistance_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::MeshPointAndDistance::bidir_dist | ( | ) | const -> f32 |
bidirectional distance from input location to mtp considering point's weight Generated from method MR::MeshPointAndDistance::bidirDist.
Calls MR_MeshPointAndDistance_bidirDist().
| auto meshlib::MeshPointAndDistance::bidirectional_or_outside | ( | ) | const -> &bool |
either 1) bidirectional distances are computed, or 2) input location is locally outside of the surface (by pseudonormal) used for optimization Returns a pointer to a member variable of class MR::MeshPointAndDistance named bidirectionalOrOutside.
Calls MR_MeshPointAndDistance_Get_bidirectionalOrOutside(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshPointAndDistance::bidirectional_or_outside_mut | ( | ) | -> &mut bool |
either 1) bidirectional distances are computed, or 2) input location is locally outside of the surface (by pseudonormal) used for optimization Returns a mutable pointer to a member variable of class MR::MeshPointAndDistance named bidirectionalOrOutside.
Calls MR_MeshPointAndDistance_GetMutable_bidirectionalOrOutside(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::MeshPointAndDistance elementwise.
Calls MR_MeshPointAndDistance_ConstructFrom(). The reference to the parameter loc might be preserved in the constructed object. The reference to the parameter mtp might be preserved in the constructed object.
|
static |
Generated from constructor MR::MeshPointAndDistance::MeshPointAndDistance.
Calls MR_MeshPointAndDistance_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::MeshPointAndDistance::convert_to_bool | ( | ) | const -> bool |
Generated from conversion operator MR::MeshPointAndDistance::operator bool.
Calls MR_MeshPointAndDistance_ConvertTo_bool().
| auto meshlib::MeshPointAndDistance::dist | ( | ) | const -> f32 |
the distance from input location to mtp considering point's weight and location inside/outside; dist() is continuous function of location unlike innerDist(), which makes 2*weight jump if the location moves through the surface Generated from method MR::MeshPointAndDistance::dist.
Calls MR_MeshPointAndDistance_dist().
| auto meshlib::MeshPointAndDistance::eucledean_dist | ( | ) | const -> &f32 |
euclidean distance from input location to mtp Returns a pointer to a member variable of class MR::MeshPointAndDistance named eucledeanDist.
Calls MR_MeshPointAndDistance_Get_eucledeanDist(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshPointAndDistance::eucledean_dist_mut | ( | ) | -> &mut f32 |
euclidean distance from input location to mtp Returns a mutable pointer to a member variable of class MR::MeshPointAndDistance named eucledeanDist.
Calls MR_MeshPointAndDistance_GetMutable_eucledeanDist(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshPointAndDistance::loc | ( | ) | const -> &meshlib::Vector3f |
point location Returns a pointer to a member variable of class MR::MeshPointAndDistance named loc.
Calls MR_MeshPointAndDistance_Get_loc(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshPointAndDistance::loc_mut | ( | ) | -> &mut meshlib::Vector3f |
point location Returns a mutable pointer to a member variable of class MR::MeshPointAndDistance named loc.
Calls MR_MeshPointAndDistance_GetMutable_loc(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshPointAndDistance::mtp | ( | ) | const -> &meshlib::MeshTriPoint |
the corresponding point on mesh in barycentric representation Returns a pointer to a member variable of class MR::MeshPointAndDistance named mtp.
Calls MR_MeshPointAndDistance_Get_mtp(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshPointAndDistance::mtp_mut | ( | ) | -> &mut meshlib::MeshTriPoint |
the corresponding point on mesh in barycentric representation Returns a mutable pointer to a member variable of class MR::MeshPointAndDistance named mtp.
Calls MR_MeshPointAndDistance_GetMutable_mtp(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_MeshPointAndDistance_DefaultConstruct().
| auto meshlib::MeshPointAndDistance::op_compare_three_way | ( | other:&meshlib::MeshPointAndDistance | ) | const -> meshlib::std_partial_ordering |
comparison telling which point is closer to the location Generated from method MR::MeshPointAndDistance::operator<=>.
Calls MR_compare_three_way_MR_MeshPointAndDistance().
| auto meshlib::MeshPointAndDistance::op_greater | ( | other:&meshlib::MeshPointAndDistance | ) | const -> bool |
comparison telling which point is closer to the location Generated from method MR::MeshPointAndDistance::operator>.
Calls MR_greater_MR_MeshPointAndDistance().
| auto meshlib::MeshPointAndDistance::op_greater_equal | ( | other:&meshlib::MeshPointAndDistance | ) | const -> bool |
comparison telling which point is closer to the location Generated from method MR::MeshPointAndDistance::operator>=.
Calls MR_greater_equal_MR_MeshPointAndDistance().
| auto meshlib::MeshPointAndDistance::op_less | ( | other:&meshlib::MeshPointAndDistance | ) | const -> bool |
comparison telling which point is closer to the location Generated from method MR::MeshPointAndDistance::operator<.
Calls MR_less_MR_MeshPointAndDistance().
| auto meshlib::MeshPointAndDistance::op_less_equal | ( | other:&meshlib::MeshPointAndDistance | ) | const -> bool |
comparison telling which point is closer to the location Generated from method MR::MeshPointAndDistance::operator<=.
Calls MR_less_equal_MR_MeshPointAndDistance().
| void meshlib::MeshPointAndDistance::set_bidirectional_or_outside | ( | value:bool | ) |
either 1) bidirectional distances are computed, or 2) input location is locally outside of the surface (by pseudonormal) used for optimization Modifies a member variable of class MR::MeshPointAndDistance named bidirectionalOrOutside.
Calls MR_MeshPointAndDistance_Set_bidirectionalOrOutside().
| void meshlib::MeshPointAndDistance::set_eucledean_dist | ( | value:f32 | ) |
euclidean distance from input location to mtp Modifies a member variable of class MR::MeshPointAndDistance named eucledeanDist.
Calls MR_MeshPointAndDistance_Set_eucledeanDist().
| void meshlib::MeshPointAndDistance::set_loc | ( | value:meshlib::Vector3f | ) |
point location Modifies a member variable of class MR::MeshPointAndDistance named loc.
Calls MR_MeshPointAndDistance_Set_loc(). The reference to the parameter value might be preserved in this object in element loc.
| void meshlib::MeshPointAndDistance::set_mtp | ( | value:&meshlib::MeshTriPoint | ) |
the corresponding point on mesh in barycentric representation Modifies a member variable of class MR::MeshPointAndDistance named mtp.
Calls MR_MeshPointAndDistance_Set_mtp(). The reference to the parameter value might be preserved in this object in element mtp.
| void meshlib::MeshPointAndDistance::set_w | ( | value:f32 | ) |
point's weight Modifies a member variable of class MR::MeshPointAndDistance named w.
Calls MR_MeshPointAndDistance_Set_w().
| auto meshlib::MeshPointAndDistance::valid | ( | ) | const -> bool |
check for validity, otherwise there is no point closer than maxBidirDist Generated from method MR::MeshPointAndDistance::valid.
Calls MR_MeshPointAndDistance_valid().
| auto meshlib::MeshPointAndDistance::w | ( | ) | const -> &f32 |
point's weight Returns a pointer to a member variable of class MR::MeshPointAndDistance named w.
Calls MR_MeshPointAndDistance_Get_w(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshPointAndDistance::w_mut | ( | ) | -> &mut f32 |
point's weight Returns a mutable pointer to a member variable of class MR::MeshPointAndDistance named w.
Calls MR_MeshPointAndDistance_GetMutable_w(). The reference to this object might be preserved as the return value.