Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::VertCoordsDiff) -> &mut meshlib::VertCoordsDiff |
| void | apply_and_swap (m:&mut meshlib::VertCoords) |
| auto | any () const -> bool |
| auto | heap_bytes () const -> usize |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::VertCoordsDiff > |
| static auto | construct_from_another (_other:&meshlib::VertCoordsDiff) -> meshlib::Owned< meshlib::VertCoordsDiff > |
| static auto | construct (from:&meshlib::VertCoords, to:&meshlib::VertCoords) -> meshlib::Owned< meshlib::VertCoordsDiff > |
| 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 |
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.
Generated from class MR::VertCoordsDiff. Heap-allocated instances are held in Owned<VertCoordsDiff>.
| auto meshlib::VertCoordsDiff::any | ( | ) | const -> bool |
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::apply_and_swap | ( | m:&mut meshlib::VertCoords | ) |
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().
| auto meshlib::VertCoordsDiff::assign_from_another | ( | _other:&meshlib::VertCoordsDiff | ) | -> &mut meshlib::VertCoordsDiff |
Generated from method MR::VertCoordsDiff::operator=.
Calls MR_VertCoordsDiff_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
computes the difference, that can be applied to vector-from in order to get vector-to Generated from constructor MR::VertCoordsDiff::VertCoordsDiff.
Calls MR_VertCoordsDiff_Construct(). 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.
|
static |
Generated from constructor MR::VertCoordsDiff::VertCoordsDiff.
Calls MR_VertCoordsDiff_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::VertCoordsDiff::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::VertCoordsDiff::heapBytes.
Calls MR_VertCoordsDiff_heapBytes().
|
static |
constructs minimal difference, where applyAndSwap( v ) will produce empty vector
Calls MR_VertCoordsDiff_DefaultConstruct().