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

Public Member Functions

bool __eq__ (self, VisualObject other)
None __init__ (self)
None __init__ (self, VisualObject vo)
None __init__ (self, ObjectMesh om)
None __init__ (self, ObjectPoints op)
None __init__ (self, MeshOrPointsObject arg0)
ObjectMesh asObjectMesh (self)
ObjectPoints asObjectPoints (self)
VisualObject get (self)
MeshOrPoints meshOrPoints (self)
VisualObject operator_minus (self)
None reset (self)
None set (self, ObjectMesh om)
None set (self, ObjectPoints op)

Static Public Member Functions

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

Detailed Description

Generated from:  MR::MeshOrPointsObject

This class can hold either ObjectMesh or ObjectPoint
It is used for convenient storage and operation with any of them

Constructor & Destructor Documentation

◆ __init__() [1/6]

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

◆ __init__() [2/6]

None mrmeshpy.MeshOrPointsObject.__init__ ( self)

◆ __init__() [3/6]

None mrmeshpy.MeshOrPointsObject.__init__ ( self,
VisualObject vo )
construct, automatically detecting the object type (ObjectMesh or ObjectPoint)
if set an another type, will be reset

◆ __init__() [4/6]

None mrmeshpy.MeshOrPointsObject.__init__ ( self,
ObjectMesh om )

◆ __init__() [5/6]

None mrmeshpy.MeshOrPointsObject.__init__ ( self,
ObjectPoints op )

◆ __init__() [6/6]

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

Member Function Documentation

◆ __eq__()

bool mrmeshpy.MeshOrPointsObject.__eq__ ( self,
VisualObject other )

◆ asObjectMesh()

ObjectMesh mrmeshpy.MeshOrPointsObject.asObjectMesh ( self)
if holding ObjectMesh, return pointer to it, otherwise return nullptr

◆ asObjectPoints()

ObjectPoints mrmeshpy.MeshOrPointsObject.asObjectPoints ( self)
if holding ObjectPoints, return pointer to it, otherwise return nullptr

◆ get()

VisualObject mrmeshpy.MeshOrPointsObject.get ( self)

◆ meshOrPoints()

MeshOrPoints mrmeshpy.MeshOrPointsObject.meshOrPoints ( self)
get class that hold either mesh part or point cloud

◆ operator() [1/2]

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

◆ operator() [2/2]

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

◆ operator_minus()

VisualObject mrmeshpy.MeshOrPointsObject.operator_minus ( self)

◆ reset()

None mrmeshpy.MeshOrPointsObject.reset ( self)

◆ set() [1/2]

None mrmeshpy.MeshOrPointsObject.set ( self,
ObjectMesh om )
set to hold ObjectMesh

◆ set() [2/2]

None mrmeshpy.MeshOrPointsObject.set ( self,
ObjectPoints op )
set to hold ObjectPoints

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