Public Member Functions | |
| PointAndDistance (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| PointAndDistance () | |
| PointAndDistance (meshlib.VertId vId, float dist) | |
| PointAndDistance (meshlib.PointAndDistance _other) | |
| boolean | convertTo_bool () |
| meshlib.PointAndDistance | assignFromAnother (meshlib.PointAndDistance _other) |
| boolean | valid () |
| meshlib.VertId | vId () |
| void | setVId (meshlib.VertId value) |
| float | dist () |
| void | setDist (float value) |
| Public Member Functions inherited from meshlib.CppObject | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final boolean | isOwned () |
| final void | close () |
| final java.lang.foreign.MemorySegment | release () |
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::PointAndDistance.
Instances created here own their C++ objects, see CppObject.
| meshlib.PointAndDistance.PointAndDistance | ( | 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.PointAndDistance.PointAndDistance | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_PointAndDistance_DefaultConstruct().
| meshlib.PointAndDistance.PointAndDistance | ( | meshlib.VertId | vId, |
| float | dist ) |
Constructs MR::PointAndDistance elementwise. The reference to the parameter vId might be preserved in the constructed object.
Calls MR_PointAndDistance_ConstructFrom().
| meshlib.PointAndDistance.PointAndDistance | ( | meshlib.PointAndDistance | _other | ) |
Generated from constructor MR::PointAndDistance::PointAndDistance. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_PointAndDistance_ConstructFromAnother().
| meshlib.PointAndDistance meshlib.PointAndDistance.assignFromAnother | ( | meshlib.PointAndDistance | _other | ) |
Generated from method MR::PointAndDistance::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_PointAndDistance_AssignFromAnother().
| boolean meshlib.PointAndDistance.convertTo_bool | ( | ) |
Generated from conversion operator MR::PointAndDistance::operator bool.
Calls MR_PointAndDistance_ConvertTo_bool().
| float meshlib.PointAndDistance.dist | ( | ) |
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. The reference to this object might be preserved as the return value.
Calls MR_PointAndDistance_Get_dist().
| void meshlib.PointAndDistance.setDist | ( | float | value | ) |
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.setVId | ( | meshlib.VertId | value | ) |
a cloud's point Modifies a member variable of class MR::PointAndDistance named vId. The reference to the parameter value might be preserved in this object in element vId.
Calls MR_PointAndDistance_Set_vId().
| boolean meshlib.PointAndDistance.valid | ( | ) |
check for validity, otherwise there is no point closer than maxBidirDist Generated from method MR::PointAndDistance::valid.
Calls MR_PointAndDistance_valid().
| meshlib.VertId meshlib.PointAndDistance.vId | ( | ) |
a cloud's point Returns a pointer to a member variable of class MR::PointAndDistance named vId. The reference to this object might be preserved as the return value.
Calls MR_PointAndDistance_Get_vId().