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

Public Member Functions

int __getitem__ (self, int e)
int __getitem__ (ConstBox_unsigned_short self, int e)
None __init__ (self)
None __init__ (self, int min, int max)
None __init__ (self, ConstBox_unsigned_short arg0)
typing.Any __rrshift__ (self, typing.Any box)
None __setitem__ (self, int arg0, int arg1)
Box_unsigned_short assign (self, ConstBox_unsigned_short other)
None include (self, int pt)
None include (self, ConstBox_unsigned_short b)
Box_unsigned_short intersect (self, ConstBox_unsigned_short b)
Public Member Functions inherited from mrmeshpy.ConstBox_unsigned_short
bool __eq__ (self, ConstBox_unsigned_short a)
int __getitem__ (self, int e)
 __init__ (self, *args, **kwargs)
bool __ne__ (self, ConstBox_unsigned_short a)
str __repr__ (self)
typing.Any __rlshift__ (self, typing.Any box)
int center (self)
bool contains (self, int pt)
bool contains (self, ConstBox_unsigned_short otherbox)
int corner (self, bool c)
int diagonal (self)
Box_unsigned_short expanded (self, int expansion)
int getBoxClosestPointTo (self, int pt)
int getDistanceSq (self, ConstBox_unsigned_short b)
int getDistanceSq (self, int pt)
int getProjection (self, int pt)
Box_unsigned_short insignificantlyExpanded (self)
Box_unsigned_short intersection (self, ConstBox_unsigned_short b)
bool intersects (self, ConstBox_unsigned_short b)
int size (self)
bool valid (self)
int volume (self)
int max (self)
int min (self)

Static Public Member Functions

None __init__ (*args, **kwargs)
None __init__ (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.ConstBox_unsigned_short
Box_unsigned_short fromMinAndSize (int min, int size)
bool getMaxBoxCorner (int n)
bool getMinBoxCorner (int n)

Additional Inherited Members

Static Public Attributes inherited from mrmeshpy.ConstBox_unsigned_short
typing elements = 1
Static Protected Attributes inherited from mrmeshpy.ConstBox_unsigned_short
typing _offsetof_max = 2
typing _offsetof_min = 0

Detailed Description

Generated from:  MR::Box<unsigned short>
Aliases:  MinMax_VoxelsVolume_Vector_unsigned_short_Id_VoxelTag_ValueType

Box given by its min- and max- corners

Constructor & Destructor Documentation

◆ __init__() [1/5]

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

◆ __init__() [2/5]

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

◆ __init__() [3/5]

None mrmeshpy.Box_unsigned_short.__init__ ( self)
create invalid box by default

◆ __init__() [4/5]

None mrmeshpy.Box_unsigned_short.__init__ ( self,
int min,
int max )

◆ __init__() [5/5]

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

Member Function Documentation

◆ __getitem__() [1/2]

int mrmeshpy.Box_unsigned_short.__getitem__ ( ConstBox_unsigned_short self,
int e )
min/max access by 0/1 index

◆ __getitem__() [2/2]

int mrmeshpy.Box_unsigned_short.__getitem__ ( self,
int e )

◆ __rrshift__()

typing.Any mrmeshpy.Box_unsigned_short.__rrshift__ ( self,
typing.Any box )

◆ __setitem__()

None mrmeshpy.Box_unsigned_short.__setitem__ ( self,
int arg0,
int arg1 )

◆ assign()

Box_unsigned_short mrmeshpy.Box_unsigned_short.assign ( self,
ConstBox_unsigned_short other )

Reimplemented in mrmeshpy.SimpleVolumeMinMaxU16.

◆ include() [1/2]

None mrmeshpy.Box_unsigned_short.include ( self,
ConstBox_unsigned_short b )
minimally increases the box to include another box

◆ include() [2/2]

None mrmeshpy.Box_unsigned_short.include ( self,
int pt )
minimally increases the box to include given point

◆ intersect()

Box_unsigned_short mrmeshpy.Box_unsigned_short.intersect ( self,
ConstBox_unsigned_short b )

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