Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
Generated from class MR::MeshPointAndDistance.
Instances created here own their C++ objects, see CppObject.
| meshlib.MeshPointAndDistance.MeshPointAndDistance | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.MeshPointAndDistance.MeshPointAndDistance | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_MeshPointAndDistance_DefaultConstruct().
| meshlib.MeshPointAndDistance.MeshPointAndDistance | ( | meshlib.Vector3f | loc, |
| meshlib.MeshTriPoint | mtp, | ||
| float | eucledeanDist, | ||
| float | w, | ||
| boolean | bidirectionalOrOutside ) |
Constructs MR::MeshPointAndDistance elementwise. 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.
Calls MR_MeshPointAndDistance_ConstructFrom().
| meshlib.MeshPointAndDistance.MeshPointAndDistance | ( | meshlib.MeshPointAndDistance | _other | ) |
Generated from constructor MR::MeshPointAndDistance::MeshPointAndDistance. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_MeshPointAndDistance_ConstructFromAnother().
| meshlib.MeshPointAndDistance meshlib.MeshPointAndDistance.assignFromAnother | ( | meshlib.MeshPointAndDistance | _other | ) |
Generated from method MR::MeshPointAndDistance::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_MeshPointAndDistance_AssignFromAnother().
| float meshlib.MeshPointAndDistance.bidirDist | ( | ) |
bidirectional distance from input location to mtp considering point's weight Generated from method MR::MeshPointAndDistance::bidirDist.
Calls MR_MeshPointAndDistance_bidirDist().
| boolean meshlib.MeshPointAndDistance.bidirectionalOrOutside | ( | ) |
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. The reference to this object might be preserved as the return value.
Calls MR_MeshPointAndDistance_Get_bidirectionalOrOutside().
| boolean meshlib.MeshPointAndDistance.convertTo_bool | ( | ) |
Generated from conversion operator MR::MeshPointAndDistance::operator bool.
Calls MR_MeshPointAndDistance_ConvertTo_bool().
| float meshlib.MeshPointAndDistance.dist | ( | ) |
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().
| float meshlib.MeshPointAndDistance.eucledeanDist | ( | ) |
euclidean distance from input location to mtp Returns a pointer to a member variable of class MR::MeshPointAndDistance named eucledeanDist. The reference to this object might be preserved as the return value.
Calls MR_MeshPointAndDistance_Get_eucledeanDist().
| meshlib.Vector3f meshlib.MeshPointAndDistance.loc | ( | ) |
point location Returns a pointer to a member variable of class MR::MeshPointAndDistance named loc. The reference to this object might be preserved as the return value.
Calls MR_MeshPointAndDistance_Get_loc().
| meshlib.MeshTriPoint meshlib.MeshPointAndDistance.mtp | ( | ) |
the corresponding point on mesh in barycentric representation Returns a pointer to a member variable of class MR::MeshPointAndDistance named mtp. The reference to this object might be preserved as the return value.
Calls MR_MeshPointAndDistance_Get_mtp().
| meshlib.std_partial_ordering meshlib.MeshPointAndDistance.opCompareThreeWay | ( | meshlib.MeshPointAndDistance | other | ) |
comparison telling which point is closer to the location Generated from method MR::MeshPointAndDistance::operator<=>.
Calls MR_compare_three_way_MR_MeshPointAndDistance().
| boolean meshlib.MeshPointAndDistance.opGreater | ( | meshlib.MeshPointAndDistance | other | ) |
comparison telling which point is closer to the location Generated from method MR::MeshPointAndDistance::operator>.
Calls MR_greater_MR_MeshPointAndDistance().
| boolean meshlib.MeshPointAndDistance.opGreaterEqual | ( | meshlib.MeshPointAndDistance | other | ) |
comparison telling which point is closer to the location Generated from method MR::MeshPointAndDistance::operator>=.
Calls MR_greater_equal_MR_MeshPointAndDistance().
| boolean meshlib.MeshPointAndDistance.opLess | ( | meshlib.MeshPointAndDistance | other | ) |
comparison telling which point is closer to the location Generated from method MR::MeshPointAndDistance::operator<.
Calls MR_less_MR_MeshPointAndDistance().
| boolean meshlib.MeshPointAndDistance.opLessEqual | ( | meshlib.MeshPointAndDistance | other | ) |
comparison telling which point is closer to the location Generated from method MR::MeshPointAndDistance::operator<=.
Calls MR_less_equal_MR_MeshPointAndDistance().
| void meshlib.MeshPointAndDistance.setBidirectionalOrOutside | ( | boolean | value | ) |
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.setEucledeanDist | ( | float | value | ) |
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.setLoc | ( | meshlib.Vector3f | value | ) |
point location Modifies a member variable of class MR::MeshPointAndDistance named loc. The reference to the parameter value might be preserved in this object in element loc.
Calls MR_MeshPointAndDistance_Set_loc().
| void meshlib.MeshPointAndDistance.setMtp | ( | meshlib.MeshTriPoint | value | ) |
the corresponding point on mesh in barycentric representation Modifies a member variable of class MR::MeshPointAndDistance named mtp. The reference to the parameter value might be preserved in this object in element mtp.
Calls MR_MeshPointAndDistance_Set_mtp().
| void meshlib.MeshPointAndDistance.setW | ( | float | value | ) |
point's weight Modifies a member variable of class MR::MeshPointAndDistance named w.
Calls MR_MeshPointAndDistance_Set_w().
| boolean meshlib.MeshPointAndDistance.valid | ( | ) |
check for validity, otherwise there is no point closer than maxBidirDist Generated from method MR::MeshPointAndDistance::valid.
Calls MR_MeshPointAndDistance_valid().
| float meshlib.MeshPointAndDistance.w | ( | ) |
point's weight Returns a pointer to a member variable of class MR::MeshPointAndDistance named w. The reference to this object might be preserved as the return value.
Calls MR_MeshPointAndDistance_Get_w().