Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::MeshTopologyDiff) -> &mut meshlib::MeshTopologyDiff |
| void | apply_and_swap (t:&mut meshlib::MeshTopology) |
| auto | any () const -> bool |
| auto | heap_bytes () const -> usize |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::MeshTopologyDiff > |
| static auto | construct_from_another (_other:&meshlib::MeshTopologyDiff) -> meshlib::Owned< meshlib::MeshTopologyDiff > |
| static auto | construct (from:&meshlib::MeshTopology, to:&meshlib::MeshTopology) -> meshlib::Owned< meshlib::MeshTopologyDiff > |
| 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 topologies: both in coordinates and in topology
if the topologies are similar then this object is small, if the topologies are very distinct then this object will be even larger than one topology itself Generated from class MR::MeshTopologyDiff.
Generated from class MR::MeshTopologyDiff. Heap-allocated instances are held in Owned<MeshTopologyDiff>.
| auto meshlib::MeshTopologyDiff::any | ( | ) | const -> bool |
returns true if this object does contain some difference in topology; if (from) has 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::MeshTopologyDiff::any.
Calls MR_MeshTopologyDiff_any().
| void meshlib::MeshTopologyDiff::apply_and_swap | ( | t:&mut meshlib::MeshTopology | ) |
given topology-from on input converts it in topology-to, this object is updated to become the reverse difference from original topology-to to original topology-from Generated from method MR::MeshTopologyDiff::applyAndSwap.
Calls MR_MeshTopologyDiff_applyAndSwap().
| auto meshlib::MeshTopologyDiff::assign_from_another | ( | _other:&meshlib::MeshTopologyDiff | ) | -> &mut meshlib::MeshTopologyDiff |
Generated from method MR::MeshTopologyDiff::operator=.
Calls MR_MeshTopologyDiff_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 topology-from in order to get topology-to Generated from constructor MR::MeshTopologyDiff::MeshTopologyDiff.
Calls MR_MeshTopologyDiff_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::MeshTopologyDiff::MeshTopologyDiff.
Calls MR_MeshTopologyDiff_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::MeshTopologyDiff::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::MeshTopologyDiff::heapBytes.
Calls MR_MeshTopologyDiff_heapBytes().
|
static |
constructs minimal difference, where applyAndSwap( t ) will produce empty topology
Calls MR_MeshTopologyDiff_DefaultConstruct().