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