Public Member Functions | |
| VertCoordsDiff (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| VertCoordsDiff () | |
| VertCoordsDiff (meshlib.VertCoordsDiff _other) | |
| VertCoordsDiff (meshlib.VertCoords from, meshlib.VertCoords to) | |
| meshlib.VertCoordsDiff | assignFromAnother (meshlib.VertCoordsDiff _other) |
| void | applyAndSwap (meshlib.VertCoords m) |
| boolean | any () |
| long | heapBytes () |
| 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) | |
this object stores a difference between two vectors with 3D coordinates
if the vectors are similar then this object is small, if the vectors are very distinct then this object will be even larger than one vector itself Generated from class MR::VertCoordsDiff.
Instances created here own their C++ objects, see CppObject.
| meshlib.VertCoordsDiff.VertCoordsDiff | ( | 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.VertCoordsDiff.VertCoordsDiff | ( | ) |
constructs minimal difference, where applyAndSwap( v ) will produce empty vector
Calls MR_VertCoordsDiff_DefaultConstruct().
| meshlib.VertCoordsDiff.VertCoordsDiff | ( | meshlib.VertCoordsDiff | _other | ) |
Generated from constructor MR::VertCoordsDiff::VertCoordsDiff. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_VertCoordsDiff_ConstructFromAnother().
| meshlib.VertCoordsDiff.VertCoordsDiff | ( | meshlib.VertCoords | from, |
| meshlib.VertCoords | to ) |
computes the difference, that can be applied to vector-from in order to get vector-to Generated from constructor MR::VertCoordsDiff::VertCoordsDiff. The reference to the parameter from might be preserved in the constructed object. The reference to the parameter to might be preserved in the constructed object.
Calls MR_VertCoordsDiff_Construct().
| boolean meshlib.VertCoordsDiff.any | ( | ) |
returns true if this object does contain some difference in point coordinates; if (from) vector has just more points and the common elements are the same, then the method will return false since nothing is stored here Generated from method MR::VertCoordsDiff::any.
Calls MR_VertCoordsDiff_any().
| void meshlib.VertCoordsDiff.applyAndSwap | ( | meshlib.VertCoords | m | ) |
given vector-from on input converts it in vector-to, this object is updated to become the reverse difference from original vector-to to original vector-from Generated from method MR::VertCoordsDiff::applyAndSwap.
Calls MR_VertCoordsDiff_applyAndSwap().
| meshlib.VertCoordsDiff meshlib.VertCoordsDiff.assignFromAnother | ( | meshlib.VertCoordsDiff | _other | ) |
Generated from method MR::VertCoordsDiff::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_VertCoordsDiff_AssignFromAnother().
| long meshlib.VertCoordsDiff.heapBytes | ( | ) |
returns the amount of memory this object occupies on heap Generated from method MR::VertCoordsDiff::heapBytes.
Calls MR_VertCoordsDiff_heapBytes().