MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstVertCoordsDiff Class Reference
Inheritance diagram for mrmeshpy.ConstVertCoordsDiff:

Public Member Functions

 __init__ (self, *args, **kwargs)
bool any (self)
int heapBytes (self)

Detailed Description

Generated from:  MR::VertCoordsDiff

this object stores a difference between two vectors with 3D coordinates
\\details 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

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstVertCoordsDiff.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstVertCoordsDiff) -> None

constructs minimal difference, where applyAndSwap( v ) will produce empty vector

2. __init__(self: meshlib.mrmeshpy.ConstVertCoordsDiff, from_: meshlib.mrmeshpy.ConstVertCoords, to: meshlib.mrmeshpy.ConstVertCoords) -> None

computes the difference, that can be applied to vector-from in order to get vector-to

3. __init__(self: meshlib.mrmeshpy.ConstVertCoordsDiff, arg0: meshlib.mrmeshpy.ConstVertCoordsDiff) -> None

Implicit copy constructor.

4. __init__(self: meshlib.mrmeshpy.ConstVertCoordsDiff, : meshlib.mrmeshpy.ConstVertCoordsDiff) -> None

Member Function Documentation

◆ any()

bool mrmeshpy.ConstVertCoordsDiff.any ( self)
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

◆ heapBytes()

int mrmeshpy.ConstVertCoordsDiff.heapBytes ( self)
returns the amount of memory this object occupies on heap

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