Public Member Functions | |
| MeshDiff (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| MeshDiff () | |
| MeshDiff (meshlib.MeshDiff _other) | |
| MeshDiff (meshlib.Mesh from, meshlib.Mesh to) | |
| meshlib.MeshDiff | assignFromAnother (meshlib.MeshDiff _other) |
| void | applyAndSwap (meshlib.Mesh 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 meshes: both in coordinates and in topology
if the meshes are similar then this object is small, if the meshes are very distinct then this object will be even larger than one mesh itself Generated from class MR::MeshDiff.
Instances created here own their C++ objects, see CppObject.
| meshlib.MeshDiff.MeshDiff | ( | 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.MeshDiff.MeshDiff | ( | ) |
constructs minimal difference, where applyAndSwap( m ) will produce empty mesh
Calls MR_MeshDiff_DefaultConstruct().
| meshlib.MeshDiff.MeshDiff | ( | meshlib.MeshDiff | _other | ) |
Generated from constructor MR::MeshDiff::MeshDiff. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_MeshDiff_ConstructFromAnother().
| meshlib.MeshDiff.MeshDiff | ( | meshlib.Mesh | from, |
| meshlib.Mesh | to ) |
computes the difference, that can be applied to mesh-from in order to get mesh-to Generated from constructor MR::MeshDiff::MeshDiff. 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_MeshDiff_Construct().
| boolean meshlib.MeshDiff.any | ( | ) |
returns true if this object does contain some difference in point coordinates or in topology; if (from) mesh has just more points or more topology elements than (to) and the common elements are the same, then the method will return false since nothing is stored here Generated from method MR::MeshDiff::any.
Calls MR_MeshDiff_any().
| void meshlib.MeshDiff.applyAndSwap | ( | meshlib.Mesh | m | ) |
given mesh-from on input converts it in mesh-to, this object is updated to become the reverse difference from original mesh-to to original mesh-from Generated from method MR::MeshDiff::applyAndSwap.
Calls MR_MeshDiff_applyAndSwap().
| meshlib.MeshDiff meshlib.MeshDiff.assignFromAnother | ( | meshlib.MeshDiff | _other | ) |
Generated from method MR::MeshDiff::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_MeshDiff_AssignFromAnother().
| long meshlib.MeshDiff.heapBytes | ( | ) |
returns the amount of memory this object occupies on heap Generated from method MR::MeshDiff::heapBytes.
Calls MR_MeshDiff_heapBytes().