Hide menu
Loading...
Searching...
No Matches
manufacturingtoolkit.CadExMTK.ModelData_Box Class Reference

Box Box.hxx cadex/ModelData/Box.hxx. More...

Inheritance diagram for manufacturingtoolkit.CadExMTK.ModelData_Box:

Public Member Functions

 __init__ (self, *args)
 Constructor.
 
 MinCorner (self)
 
 MaxCorner (self)
 
 Corner (self, theIdx)
 Returns one of the bounding box corners.
 
 Center (self)
 Returns a center point.
 
 Add (self, *args)
 Adjusts the box corners so that it contains theBox.
 
 Clear (self)
 Resets the box.
 
 SetXRange (self, theMin, theMax)
 Sets the range of box along X axis to the specified values.
 
 SetYRange (self, theMin, theMax)
 Sets the range of box along Y axis to the specified values.
 
 SetZRange (self, theMin, theMax)
 Sets the range of box along Z axis to the specified values.
 
 SetRange (self, theIdx, theMin, theMax)
 Sets one range of the box to the specified values.
 
 XRange (self)
 Returns the length of range along X axis.
 
 YRange (self)
 Returns the length of range along Y axis.
 
 ZRange (self)
 Returns the length of range along Z axis.
 
 Range (self, theIndex)
 
 Enlarge (self, *args)
 Overload 1: Enlarge the box dimensions by specified values.
 
 Enlarged (self, *args)
 Overload 1: Return the box with dimensions enlarged by specified values.
 
 IsIn (self, thePoint)
 
 Intersects (self, theOther)
 Returns the other box has at least one common point with this box.
 
 IsInfinite (self)
 Returns true if at least one coordinate is infinite.
 
 Multiply (self, theValue)
 Scales box by scalar value.
 
 Multiplied (self, theValue)
 Returns the box scaled by scalar value.
 
 Transform (self, theTransformation)
 
 Transformed (self, theTransformation)
 

Detailed Description

Box Box.hxx cadex/ModelData/Box.hxx.

Defines a 3D axis-aligned bounding box.

The box is defined via two corners - MinCorner() and MaxCorner() - containing minimum and maximum coordinates respectively.

Member Function Documentation

◆ Enlarge()

manufacturingtoolkit.CadExMTK.ModelData_Box.Enlarge ( self,
* args )

Overload 1: Enlarge the box dimensions by specified values.

|

Overload 2: Enlarge the box dimensions by specified value.

◆ Enlarged()

manufacturingtoolkit.CadExMTK.ModelData_Box.Enlarged ( self,
* args )

Overload 1: Return the box with dimensions enlarged by specified values.

|

Overload 2: Return the box with dimensions enlarged by specified value.

◆ IsInfinite()

manufacturingtoolkit.CadExMTK.ModelData_Box.IsInfinite ( self)

Returns true if at least one coordinate is infinite.

"Infinite" means that coordinate's absolute value is greater than \(10^{100}\).

See also
Clear()

The documentation for this class was generated from the following file:
  • CadExMTK.py