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