MinMax3D
Canonical path: NemAll_Python_Geometry.MinMax3D
Representation class for 3D MinMax box.
Deflate
overloaded
Deflate in x,y,z axis concurrently.
Deflate in x, y and z axis.
Get
GetSizeX
Get the size of the box in the X direction
Returns:
-
float
–delta X value
GetSizeY
Get the size of the box in the Y direction
Returns:
-
float
–delta Y value
GetSizeZ
Get the size of the box in the Y direction
Returns:
-
float
–delta Y value
Inflate
overloaded
ame Inflate and deflate minmax box
Inflate in x, y and z axis.
Inflate in x,y,z axis concurrently.
IsContaining
IsContaining(box: MinMax3D) -> bool
Is box inside this box
Parameters:
-
box
(MinMax3D
) –Potentially contained box
Returns:
-
bool
–true, if is inside, otherwise false
Overlaps
Overlaps(box: MinMax3D) -> bool
Does box overlap this box
Parameters:
-
box
(MinMax3D
) –Box
Returns:
-
bool
–true, if boxes overlap, otherwise false
Reset
Set min point to [DBL_MAX,DBL_MAX,DBL_MAX] and max point to [-DBL_MAX,-DBL_MAX,-DBL_MAX]
Set
__add__
__eq__
__eq__(minmax: MinMax3D) -> object
Comparison of minmax objects without tolerance.
Be careful, this method work without tolerance!
Parameters:
-
minmax
(MinMax3D
) –Compared minmax.
Returns:
-
object
–True when minmax objects are equal, otherwise false.