MinMax3D
Canonical path: NemAll_Python_Geometry.MinMax3D
Representation class for 3D MinMax box.
Methods:
-
Deflate
–Overloaded function. See individual overloads.
-
Get
–Get minimum and maximum point
-
GetCenter
–Get box center point
-
GetMax
–Get maximum point
-
GetMin
–Get minimum point
-
GetSizeX
–Get the size of the box in the X direction
-
GetSizeY
–Get the size of the box in the Y direction
-
GetSizeZ
–Get the size of the box in the Y direction
-
Inflate
–Overloaded function. See individual overloads.
-
IsContaining
–Is box inside this box
-
IsValid
–Test if box is valid
-
Overlaps
–Does box overlap this box
-
Reset
–Set min point to [DBL_MAX,DBL_MAX,DBL_MAX]
-
Set
–Set minimum and maximum point
-
SetMax
–Set maximum point
-
SetMin
–Set minimum point
-
__add__
–Expand MinMax3D box.
-
__eq__
–Comparison of minmax objects without tolerance.
-
__iadd__
–Overloaded function. See individual overloads.
-
__init__
–Overloaded function. See individual overloads.
-
__repr__
–Convert to string
Attributes:
-
Max
(Point3D
) –Get maximum point
-
Min
(Point3D
) –Get minimum point
-
SizeX
(float
) –Get the size of the box in the X direction
-
SizeY
(float
) –Get the size of the box in the Y direction
-
SizeZ
(float
) –Get the size of the box in the Y direction
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.