MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.MeshTopologyDiff Class Reference
Inheritance diagram for meshlib.MeshTopologyDiff:

Public Member Functions

 MeshTopologyDiff (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 MeshTopologyDiff ()
 MeshTopologyDiff (meshlib.MeshTopologyDiff _other)
 MeshTopologyDiff (meshlib.MeshTopology from, meshlib.MeshTopology to)
meshlib.MeshTopologyDiff assignFromAnother (meshlib.MeshTopologyDiff _other)
void applyAndSwap (meshlib.MeshTopology t)
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)

Detailed Description

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.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ MeshTopologyDiff() [1/4]

meshlib.MeshTopologyDiff.MeshTopologyDiff ( 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.

◆ MeshTopologyDiff() [2/4]

meshlib.MeshTopologyDiff.MeshTopologyDiff ( )

constructs minimal difference, where applyAndSwap( t ) will produce empty topology

Calls MR_MeshTopologyDiff_DefaultConstruct().

◆ MeshTopologyDiff() [3/4]

meshlib.MeshTopologyDiff.MeshTopologyDiff ( meshlib.MeshTopologyDiff _other)

Generated from constructor MR::MeshTopologyDiff::MeshTopologyDiff. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_MeshTopologyDiff_ConstructFromAnother().

◆ MeshTopologyDiff() [4/4]

meshlib.MeshTopologyDiff.MeshTopologyDiff ( meshlib.MeshTopology from,
meshlib.MeshTopology to )

computes the difference, that can be applied to topology-from in order to get topology-to Generated from constructor MR::MeshTopologyDiff::MeshTopologyDiff. 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_MeshTopologyDiff_Construct().

Member Function Documentation

◆ any()

boolean meshlib.MeshTopologyDiff.any ( )

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().

◆ applyAndSwap()

void meshlib.MeshTopologyDiff.applyAndSwap ( meshlib.MeshTopology t)

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().

◆ assignFromAnother()

meshlib.MeshTopologyDiff meshlib.MeshTopologyDiff.assignFromAnother ( meshlib.MeshTopologyDiff _other)

Generated from method MR::MeshTopologyDiff::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_MeshTopologyDiff_AssignFromAnother().

◆ heapBytes()

long meshlib.MeshTopologyDiff.heapBytes ( )

returns the amount of memory this object occupies on heap Generated from method MR::MeshTopologyDiff::heapBytes.

Calls MR_MeshTopologyDiff_heapBytes().


The documentation for this class was generated from the following file: