Public Member Functions | |
bool | __eq__ (self, Box_unsigned_short a) |
None | __init__ (self) |
None | __init__ (self, int min, int max) |
None | __init__ (self, Box_unsigned_short arg0) |
bool | __ne__ (self, Box_unsigned_short a) |
int | center (self) |
bool | contains (self, int pt) |
int | diagonal (self) |
Box_unsigned_short | expanded (self, int expansion) |
int | getBoxClosestPointTo (self, int pt) |
int | getDistanceSq (self, Box_unsigned_short b) |
int | getDistanceSq (self, int pt) |
None | include (self, int pt) |
None | include (self, Box_unsigned_short b) |
Box_unsigned_short | insignificantlyExpanded (self) |
Box_unsigned_short | intersect (self, Box_unsigned_short b) |
Box_unsigned_short | intersection (self, Box_unsigned_short b) |
bool | intersects (self, Box_unsigned_short b) |
int | size (self) |
bool | valid (self) |
int | volume (self) |
Static Public Member Functions | |
Box_unsigned_short | fromMinAndSize (int min, int size) |
Static Public Attributes | |
typing | elements = 1 |
int | VTraits = VectorTraits_unsigned_short |
Protected Member Functions | |
int | _Subscript (self, int e) |
int | _Subscript (self, int e) |
Generated from: MR::Box<unsigned short> Aliases: MinMax_VoxelsVolume_std_vector_unsigned_short_ValueType Box given by its min- and max- corners
None meshlib.mrmeshpy.Box_unsigned_short.__init__ | ( | self | ) |
create invalid box by default
Reimplemented in meshlib.mrmeshpy.SimpleVolumeMinMaxU16, and meshlib.mrmeshpy.SimpleVolumeMinMaxU16.
None meshlib.mrmeshpy.Box_unsigned_short.__init__ | ( | self, | |
int | min, | ||
int | max ) |
Reimplemented in meshlib.mrmeshpy.SimpleVolumeMinMaxU16, and meshlib.mrmeshpy.SimpleVolumeMinMaxU16.
None meshlib.mrmeshpy.Box_unsigned_short.__init__ | ( | self, | |
Box_unsigned_short | arg0 ) |
Implicit copy constructor.
Reimplemented in meshlib.mrmeshpy.SimpleVolumeMinMaxU16, and meshlib.mrmeshpy.SimpleVolumeMinMaxU16.
bool meshlib.mrmeshpy.Box_unsigned_short.__eq__ | ( | self, | |
Box_unsigned_short | a ) |
bool meshlib.mrmeshpy.Box_unsigned_short.__ne__ | ( | self, | |
Box_unsigned_short | a ) |
|
protected |
min/max access by 0/1 index
|
protected |
int meshlib.mrmeshpy.Box_unsigned_short.center | ( | self | ) |
computes center of the box
bool meshlib.mrmeshpy.Box_unsigned_short.contains | ( | self, | |
int | pt ) |
checks whether given point is inside (including the surface) of the box
int meshlib.mrmeshpy.Box_unsigned_short.diagonal | ( | self | ) |
computes length from min to max
Box_unsigned_short meshlib.mrmeshpy.Box_unsigned_short.expanded | ( | self, | |
int | expansion ) |
decreases min and increased max on given value
|
static |
int meshlib.mrmeshpy.Box_unsigned_short.getBoxClosestPointTo | ( | self, | |
int | pt ) |
returns closest point in the box to given point
int meshlib.mrmeshpy.Box_unsigned_short.getDistanceSq | ( | self, | |
Box_unsigned_short | b ) |
returns squared distance between this box and given one; returns zero if the boxes touch or intersect
int meshlib.mrmeshpy.Box_unsigned_short.getDistanceSq | ( | self, | |
int | pt ) |
returns squared distance between this box and given point; returns zero if the point is inside or on the boundary of the box
None meshlib.mrmeshpy.Box_unsigned_short.include | ( | self, | |
Box_unsigned_short | b ) |
minimally increases the box to include another box
None meshlib.mrmeshpy.Box_unsigned_short.include | ( | self, | |
int | pt ) |
minimally increases the box to include given point
Box_unsigned_short meshlib.mrmeshpy.Box_unsigned_short.insignificantlyExpanded | ( | self | ) |
decreases min and increases max to their closest representable value
Box_unsigned_short meshlib.mrmeshpy.Box_unsigned_short.intersect | ( | self, | |
Box_unsigned_short | b ) |
Box_unsigned_short meshlib.mrmeshpy.Box_unsigned_short.intersection | ( | self, | |
Box_unsigned_short | b ) |
computes intersection between this and other box
bool meshlib.mrmeshpy.Box_unsigned_short.intersects | ( | self, | |
Box_unsigned_short | b ) |
checks whether this box intersects or touches given box
int meshlib.mrmeshpy.Box_unsigned_short.size | ( | self | ) |
computes size of the box in all dimensions
bool meshlib.mrmeshpy.Box_unsigned_short.valid | ( | self | ) |
true if the box contains at least one point
int meshlib.mrmeshpy.Box_unsigned_short.volume | ( | self | ) |
computes the volume of this box
|
static |
|
static |