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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstVertCoords from_, ConstVertCoords to)
None __init__ (self, ConstVertCoordsDiff arg0)
None applyAndSwap (self, VertCoords m)
VertCoordsDiff assign (self, ConstVertCoordsDiff other)
Public Member Functions inherited from mrmeshpy.ConstVertCoordsDiff
 __init__ (self, *args, **kwargs)
bool any (self)
int heapBytes (self)

Static Public Member Functions

None __init__ (*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

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

◆ __init__() [2/4]

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

◆ __init__() [3/4]

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

◆ __init__() [4/4]

None mrmeshpy.VertCoordsDiff.__init__ ( self,
ConstVertCoordsDiff arg0 )
Implicit copy constructor.

Member Function Documentation

◆ 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

◆ assign()

VertCoordsDiff mrmeshpy.VertCoordsDiff.assign ( self,
ConstVertCoordsDiff other )

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