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