MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.VertCoordsDiff Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, VertCoords from_, VertCoords to)
 
bool any (self)
 
None applyAndSwap (self, VertCoords m)
 
int heapBytes (self)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
VertCoordsDiff operator (*args, **kwargs)
 
VertCoordsDiff operator (*args, **kwargs)
 

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
\\ingroup MeshAlgorithmGroup

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.VertCoordsDiff.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

None mrmeshpy.VertCoordsDiff.__init__ ( self)
constructs minimal difference, where applyAndSwap( v ) will produce empty vector

◆ __init__() [3/3]

None mrmeshpy.VertCoordsDiff.__init__ ( self,
VertCoords from_,
VertCoords to )
computes the difference, that can be applied to vector-from in order to get vector-to

Member Function Documentation

◆ any()

bool mrmeshpy.VertCoordsDiff.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

◆ applyAndSwap()

None mrmeshpy.VertCoordsDiff.applyAndSwap ( self,
VertCoords m )
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

◆ heapBytes()

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

◆ operator() [1/2]

VertCoordsDiff mrmeshpy.VertCoordsDiff.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

VertCoordsDiff mrmeshpy.VertCoordsDiff.operator ( * args,
** kwargs )
static

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