# OCC.Bnd module

class `Bnd_Array1OfBox`(*args)

  Bases: `object`

  Parameters: | Low (int) – Up (int) – Item (Bnd_Box &) – Low – Up –
  Return type: | None
  Return type: | None

  `Assign`()

    Parameters: | Other (Bnd_Array1OfBox &) –
    Return type: | Bnd_Array1OfBox

  `ChangeValue`()

    Parameters: | Index (int) –
    Return type: | Bnd_Box

  `Destroy`()

    Return type: | None

  `Init`()

    Parameters: | V (Bnd_Box &) –
    Return type: | None

  `IsAllocated`()

    Return type: | bool

  `Length`()

    Return type: | int

  `Lower`()

    Return type: | int

  `Set`()

    Parameters: | Other (Bnd_Array1OfBox &) –
    Return type: | Bnd_Array1OfBox

  `SetValue`()

    Parameters: | Index (int) – Value (Bnd_Box &) –
    Return type: | None

  `Upper`()

    Return type: | int

  `Value`()

    Parameters: | Index (int) –
    Return type: | Bnd_Box

  `thisown`

    The membership flag

class `Bnd_Array1OfBox2d`(*args)

  Bases: `object`

  Parameters: | Low (int) – Up (int) – Item (Bnd_Box2d &) – Low – Up –
  Return type: | None
  Return type: | None

  `Assign`()

    Parameters: | Other (Bnd_Array1OfBox2d &) –
    Return type: | Bnd_Array1OfBox2d

  `ChangeValue`()

    Parameters: | Index (int) –
    Return type: | Bnd_Box2d

  `Destroy`()

    Return type: | None

  `Init`()

    Parameters: | V (Bnd_Box2d &) –
    Return type: | None

  `IsAllocated`()

    Return type: | bool

  `Length`()

    Return type: | int

  `Lower`()

    Return type: | int

  `Set`()

    Parameters: | Other (Bnd_Array1OfBox2d &) –
    Return type: | Bnd_Array1OfBox2d

  `SetValue`()

    Parameters: | Index (int) – Value (Bnd_Box2d &) –
    Return type: | None

  `Upper`()

    Return type: | int

  `Value`()

    Parameters: | Index (int) –
    Return type: | Bnd_Box2d

  `thisown`

    The membership flag

class `Bnd_Array1OfSphere`(*args)

  Bases: `object`

  Parameters: | Low (int) – Up (int) – Item (Bnd_Sphere &) – Low – Up –
  Return type: | None
  Return type: | None

  `Assign`()

    Parameters: | Other (Bnd_Array1OfSphere &) –
    Return type: | Bnd_Array1OfSphere

  `ChangeValue`()

    Parameters: | Index (int) –
    Return type: | Bnd_Sphere

  `Destroy`()

    Return type: | None

  `Init`()

    Parameters: | V (Bnd_Sphere &) –
    Return type: | None

  `IsAllocated`()

    Return type: | bool

  `Length`()

    Return type: | int

  `Lower`()

    Return type: | int

  `Set`()

    Parameters: | Other (Bnd_Array1OfSphere &) –
    Return type: | Bnd_Array1OfSphere

  `SetValue`()

    Parameters: | Index (int) – Value (Bnd_Sphere &) –
    Return type: | None

  `Upper`()

    Return type: | int

  `Value`()

    Parameters: | Index (int) –
    Return type: | Bnd_Sphere

  `thisown`

    The membership flag

class `Bnd_B2d`(*args)

  Bases: `object`

  Return type: | None
  Parameters: | theCenter (gp_XY) – theHSize (gp_XY) –
  Return type: | None

  `Add`()

    Parameters: | thePnt (gp_Pnt2d) – thePnt – theBox (Bnd_B2d &) –
    Return type: | None
    Return type: | None
    Return type: | None

  `Clear`()

    Return type: | None

  `CornerMax`()

    Return type: | gp_XY

  `CornerMin`()

    Return type: | gp_XY

  `Enlarge`()

    Parameters: | theDiff (float) –
    Return type: | None

  `IsIn`()

    Parameters: | theBox (Bnd_B2d &) – theBox – theTrsf (gp_Trsf2d) –
    Return type: | bool
    Return type: | bool

  `IsOut`()

    Parameters: | thePnt (gp_XY) – theCenter (gp_XY) – theRadius (float) – isCircleHollow (bool) – default value is Standard_False theOtherBox (Bnd_B2d &) – theOtherBox – theTrsf (gp_Trsf2d) – theLine (gp_Ax2d) – theP0 (gp_XY) – theP1 (gp_XY) –
    Return type: | bool
    Return type: | bool
    Return type: | bool
    Return type: | bool
    Return type: | bool
    Return type: | bool

  `IsVoid`()

    Return type: | bool

  `Limit`()

    Parameters: | theOtherBox (Bnd_B2d &) –
    Return type: | bool

  `SetCenter`()

    Parameters: | theCenter (gp_XY) –
    Return type: | None

  `SetHSize`()

    Parameters: | theHSize (gp_XY) –
    Return type: | None

  `SquareExtent`()

    Return type: | float

  `Transformed`()

    Parameters: | theTrsf (gp_Trsf2d) –
    Return type: | Bnd_B2d

  `thisown`

    The membership flag

class `Bnd_B2f`(*args)

  Bases: `object`

  Return type: | None
  Parameters: | theCenter (gp_XY) – theHSize (gp_XY) –
  Return type: | None

  `Add`()

    Parameters: | thePnt (gp_Pnt2d) – thePnt – theBox (Bnd_B2f &) –
    Return type: | None
    Return type: | None
    Return type: | None

  `Clear`()

    Return type: | None

  `CornerMax`()

    Return type: | gp_XY

  `CornerMin`()

    Return type: | gp_XY

  `Enlarge`()

    Parameters: | theDiff (float) –
    Return type: | None

  `IsIn`()

    Parameters: | theBox (Bnd_B2f &) – theBox – theTrsf (gp_Trsf2d) –
    Return type: | bool
    Return type: | bool

  `IsOut`()

    Parameters: | thePnt (gp_XY) – theCenter (gp_XY) – theRadius (float) – isCircleHollow (bool) – default value is Standard_False theOtherBox (Bnd_B2f &) – theOtherBox – theTrsf (gp_Trsf2d) – theLine (gp_Ax2d) – theP0 (gp_XY) – theP1 (gp_XY) –
    Return type: | bool
    Return type: | bool
    Return type: | bool
    Return type: | bool
    Return type: | bool
    Return type: | bool

  `IsVoid`()

    Return type: | bool

  `Limit`()

    Parameters: | theOtherBox (Bnd_B2f &) –
    Return type: | bool

  `SetCenter`()

    Parameters: | theCenter (gp_XY) –
    Return type: | None

  `SetHSize`()

    Parameters: | theHSize (gp_XY) –
    Return type: | None

  `SquareExtent`()

    Return type: | float

  `Transformed`()

    Parameters: | theTrsf (gp_Trsf2d) –
    Return type: | Bnd_B2f

  `thisown`

    The membership flag

class `Bnd_B3d`(*args)

  Bases: `object`

  Return type: | None
  Parameters: | theCenter (gp_XYZ) – theHSize (gp_XYZ) –
  Return type: | None

  `Add`()

    Parameters: | thePnt (gp_Pnt) – thePnt – theBox (Bnd_B3d &) –
    Return type: | None
    Return type: | None
    Return type: | None

  `Clear`()

    Return type: | None

  `CornerMax`()

    Return type: | gp_XYZ

  `CornerMin`()

    Return type: | gp_XYZ

  `Enlarge`()

    Parameters: | theDiff (float) –
    Return type: | None

  `IsIn`()

    Parameters: | theBox (Bnd_B3d &) – theBox – theTrsf (gp_Trsf) –
    Return type: | bool
    Return type: | bool

  `IsOut`()

    Parameters: | thePnt (gp_XYZ) – theCenter (gp_XYZ) – theRadius (float) – isSphereHollow (bool) – default value is Standard_False theOtherBox (Bnd_B3d &) – theOtherBox – theTrsf (gp_Trsf) – theLine (gp_Ax1) – isRay (bool) – default value is Standard_False theOverthickness (float) – default value is 0.0 thePlane (gp_Ax3) –
    Return type: | bool
    Return type: | bool
    Return type: | bool
    Return type: | bool
    Return type: | bool
    Return type: | bool

  `IsVoid`()

    Return type: | bool

  `Limit`()

    Parameters: | theOtherBox (Bnd_B3d &) –
    Return type: | bool

  `SetCenter`()

    Parameters: | theCenter (gp_XYZ) –
    Return type: | None

  `SetHSize`()

    Parameters: | theHSize (gp_XYZ) –
    Return type: | None

  `SquareExtent`()

    Return type: | float

  `Transformed`()

    Parameters: | theTrsf (gp_Trsf) –
    Return type: | Bnd_B3d

  `thisown`

    The membership flag

class `Bnd_B3f`(*args)

  Bases: `object`

  Return type: | None
  Parameters: | theCenter (gp_XYZ) – theHSize (gp_XYZ) –
  Return type: | None

  `Add`()

    Parameters: | thePnt (gp_Pnt) – thePnt – theBox (Bnd_B3f &) –
    Return type: | None
    Return type: | None
    Return type: | None

  `Clear`()

    Return type: | None

  `CornerMax`()

    Return type: | gp_XYZ

  `CornerMin`()

    Return type: | gp_XYZ

  `Enlarge`()

    Parameters: | theDiff (float) –
    Return type: | None

  `IsIn`()

    Parameters: | theBox (Bnd_B3f &) – theBox – theTrsf (gp_Trsf) –
    Return type: | bool
    Return type: | bool

  `IsOut`()

    Parameters: | thePnt (gp_XYZ) – theCenter (gp_XYZ) – theRadius (float) – isSphereHollow (bool) – default value is Standard_False theOtherBox (Bnd_B3f &) – theOtherBox – theTrsf (gp_Trsf) – theLine (gp_Ax1) – isRay (bool) – default value is Standard_False theOverthickness (float) – default value is 0.0 thePlane (gp_Ax3) –
    Return type: | bool
    Return type: | bool
    Return type: | bool
    Return type: | bool
    Return type: | bool
    Return type: | bool

  `IsVoid`()

    Return type: | bool

  `Limit`()

    Parameters: | theOtherBox (Bnd_B3f &) –
    Return type: | bool

  `SetCenter`()

    Parameters: | theCenter (gp_XYZ) –
    Return type: | None

  `SetHSize`()

    Parameters: | theHSize (gp_XYZ) –
    Return type: | None

  `SquareExtent`()

    Return type: | float

  `Transformed`()

    Parameters: | theTrsf (gp_Trsf) –
    Return type: | Bnd_B3f

  `thisown`

    The membership flag

class `Bnd_BoundSortBox`(*args)

  Bases: `object`

  - Constructs an empty comparison algorithm for bounding boxes. The bounding boxes are then defined using the Initialize function.

  Return type: | None

  `Add`()
    - Adds the bounding box theBox at position boxIndex in the array of boxes to be sorted by this comparison algorithm. This function is used only in conjunction with the third syntax described in the synopsis of Initialize. //! Exceptions: //! - Standard_OutOfRange if boxIndex is not in the range [ 1,nbComponents ] where nbComponents is the maximum number of bounding boxes declared for this comparison algorithm at initialization. //! - Standard_MultiplyDefined if a box already exists at position boxIndex in the array of boxes to be sorted by this comparison algorithm.

    Parameters: | theBox (Bnd_Box &) – boxIndex (int) –
    Return type: | None

  `Compare`()
    - Compares the bounding box theBox, with the set of bounding boxes to be sorted by this comparison algorithm, and returns the list of intersecting bounding boxes as a list of indexes on the array of bounding boxes used by this algorithm.

    Parameters: | theBox (Bnd_Box &) –
    Return type: | TColStd_ListOfInteger

    - Compares the plane P with the set of bounding boxes to be sorted by this comparison algorithm, and returns the list of intersecting bounding boxes as a list of indexes on the array of bounding boxes used by this algorithm.

    Parameters: | P (gp_Pln) –
    Return type: | TColStd_ListOfInteger

  `Destroy`()

    Return type: | None

  `Dump`()

    Return type: | None

  `Initialize`()
    - Initializes this comparison algorithm with - the set of bounding boxes SetOfBox.

    Parameters: | CompleteBox (Bnd_Box &) – SetOfBox (Handle_Bnd_HArray1OfBox &) –
    Return type: | None

    - Initializes this comparison algorithm with - the set of bounding boxes SetOfBox, where CompleteBox is given as the global bounding box of SetOfBox.

    Parameters: | SetOfBox (Handle_Bnd_HArray1OfBox &) –
    Return type: | None

    - Initializes this comparison algorithm, giving it only - the maximum number nbComponents of the bounding boxes to be managed. Use the Add function to define the array of bounding boxes to be sorted by this algorithm.

    Parameters: | CompleteBox (Bnd_Box &) – nbComponents (int) –
    Return type: | None

  `thisown`

    The membership flag

class `Bnd_BoundSortBox2d`(*args)

  Bases: `object`

  - Constructs an empty comparison algorithm for 2D bounding boxes. The bounding boxes are then defined using the Initialize function.

  Return type: | None

  `Add`()
    - Adds the 2D bounding box theBox at position boxIndex in the array of boxes to be sorted by this comparison algorithm. This function is used only in conjunction with the third syntax described in the synopsis of Initialize. Exceptions - Standard_OutOfRange if boxIndex is not in the range [ 1,nbComponents ] where nbComponents is the maximum number of bounding boxes declared for this comparison algorithm at initialization. - Standard_MultiplyDefined if a box still exists at position boxIndex in the array of boxes to be sorted by this comparison algorithm.

    Parameters: | theBox (Bnd_Box2d &) – boxIndex (int) –
    Return type: | None

  `Compare`()
    - Compares the 2D bounding box theBox with the set of bounding boxes to be sorted by this comparison algorithm, and returns the list of intersecting bounding boxes as a list of indexes on the array of bounding boxes used by this algorithm.

    Parameters: | theBox (Bnd_Box2d &) –
    Return type: | TColStd_ListOfInteger

  `Dump`()

    Return type: | None

  `Initialize`()
    - Initializes this comparison algorithm with - the set of 2D bounding boxes SetOfBox

    Parameters: | CompleteBox (Bnd_Box2d &) – SetOfBox (Handle_Bnd_HArray1OfBox2d &) –
    Return type: | None

    - Initializes this comparison algorithm with - the set of 2D bounding boxes SetOfBox, where CompleteBox is given as the global bounding box of SetOfBox.

    Parameters: | SetOfBox (Handle_Bnd_HArray1OfBox2d &) –
    Return type: | None

    - Initializes this comparison algorithm, giving it only - the maximum number nbComponents, and - the global bounding box CompleteBox, of the 2D bounding boxes to be managed. Use the Add function to define the array of bounding boxes to be sorted by this algorithm.

    Parameters: | CompleteBox (Bnd_Box2d &) – nbComponents (int) –
    Return type: | None

  `thisown`

    The membership flag

class `Bnd_Box`(*args)

  Bases: `object`

  - Creates an empty Box. The constructed box is qualified Void. Its gap is null.

  Return type: | None

  `Add`()
    - Adds the box <Other> to <self>.

    Parameters: | Other (Bnd_Box &) –
    Return type: | None

    - Adds a Pnt to the box.

    Parameters: | P (gp_Pnt) –
    Return type: | None

    - Extends <self> from the Pnt <P> in the direction <D>.

    Parameters: | P (gp_Pnt) – D (gp_Dir) –
    Return type: | None

    - Extends the Box in the given Direction, i.e. adds an half-line. The box may become infinite in 1,2 or 3 directions.

    Parameters: | D (gp_Dir) –
    Return type: | None

  `CornerMax`()
    - Returns the upper corner of this bounding box. The gap is included. If this bounding box is infinite (i.e. ‘open’), returned values may be equal to +/- Precision::Infinite(). Standard_ConstructionError exception will be thrown if the box is void. if IsVoid()

    Return type: | gp_Pnt

  `CornerMin`()
    - Returns the lower corner of this bounding box. The gap is included. If this bounding box is infinite (i.e. ‘open’), returned values may be equal to +/- Precision::Infinite(). Standard_ConstructionError exception will be thrown if the box is void. if IsVoid()

    Return type: | gp_Pnt

  `Distance`()
    - Computes the minimum distance between two boxes.

    Parameters: | Other (Bnd_Box &) –
    Return type: | float

  `Dump`()

    Return type: | None

  `Enlarge`()
    - Enlarges the box with a tolerance value. (minvalues-Abs(<tol>) and maxvalues+Abs(<tol>)) This means that the minimum values of its X, Y and Z intervals of definition, when they are finite, are reduced by the absolute value of Tol, while the maximum values are increased by the same amount.

    Parameters: | Tol (float) –
    Return type: | None

  `Get`()
    - Returns the bounds of this bounding box. The gap is included. If this bounding box is infinite (i.e. ‘open’), returned values may be equal to +/- Precision::Infinite(). Standard_ConstructionError exception will be thrown if the box is void. if IsVoid()

    Parameters: | theXmin (float &) – theYmin (float &) – theZmin (float &) – theXmax (float &) – theYmax (float &) – theZmax (float &) –
    Return type: | None

  `GetGap`()
    - Returns the gap of this bounding box.

    Return type: | float

  `IsOpenXmax`()
    - Returns true if this bounding box is open in the Xmax direction.

    Return type: | bool

  `IsOpenXmin`()
    - Returns true if this bounding box is open in the Xmin direction.

    Return type: | bool

  `IsOpenYmax`()
    - Returns true if this bounding box is open in the Ymax direction.

    Return type: | bool

  `IsOpenYmin`()
    - Returns true if this bounding box is open in the Ymix direction.

    Return type: | bool

  `IsOpenZmax`()
    - Returns true if this bounding box is open in the Zmax direction.

    Return type: | bool

  `IsOpenZmin`()
    - Returns true if this bounding box is open in the Zmin direction.

    Return type: | bool

  `IsOut`()
    - Returns True if the Pnt is out the box.

    Parameters: | P (gp_Pnt) –
    Return type: | bool

    - Returns False if the line intersects the box.

    Parameters: | L (gp_Lin) –
    Return type: | bool

    - Returns False if the plane intersects the box.

    Parameters: | P (gp_Pln) –
    Return type: | bool

    - Returns False if the <Box> intersects or is inside <self>.

    Parameters: | Other (Bnd_Box &) –
    Return type: | bool

    - Returns False if the transformed <Box> intersects or is inside <self>.

    Parameters: | Other (Bnd_Box &) – T (gp_Trsf) –
    Return type: | bool

    - Returns False if the transformed <Box> intersects or is inside the transformed box <self>.

    Parameters: | T1 (gp_Trsf) – Other (Bnd_Box &) – T2 (gp_Trsf) –
    Return type: | bool

    - Returns False if the flat band lying between two parallel lines represented by their reference points <P1>, <P2> and direction <D> intersects the box.

    Parameters: | P1 (gp_Pnt) – P2 (gp_Pnt) – D (gp_Dir) –
    Return type: | bool

  `IsThin`()
    - Returns true if IsXThin, IsYThin and IsZThin are all true, i.e. if the box is thin in all three dimensions.

    Parameters: | tol (float) –
    Return type: | bool

  `IsVoid`()
    - Returns true if this bounding box is empty (Void flag).

    Return type: | bool

  `IsWhole`()
    - Returns true if this bounding box is infinite in all 6 directions (WholeSpace flag).

    Return type: | bool

  `IsXThin`()
    - true if xmax-xmin < tol.

    Parameters: | tol (float) –
    Return type: | bool

  `IsYThin`()
    - true if ymax-ymin < tol.

    Parameters: | tol (float) –
    Return type: | bool

  `IsZThin`()
    - true if zmax-zmin < tol.

    Parameters: | tol (float) –
    Return type: | bool

  `OpenXmax`()
    - The Box will be infinitely long in the Xmax direction.

    Return type: | None

  `OpenXmin`()
    - The Box will be infinitely long in the Xmin direction.

    Return type: | None

  `OpenYmax`()
    - The Box will be infinitely long in the Ymax direction.

    Return type: | None

  `OpenYmin`()
    - The Box will be infinitely long in the Ymin direction.

    Return type: | None

  `OpenZmax`()
    - The Box will be infinitely long in the Zmax direction.

    Return type: | None

  `OpenZmin`()
    - The Box will be infinitely long in the Zmin direction.

    Return type: | None

  `Set`()
    - Sets this bounding box so that it bounds - the point P. This involves first setting this bounding box to be void and then adding the point P.

    Parameters: | P (gp_Pnt) –
    Return type: | None

    - Sets this bounding box so that it bounds the half-line defined by point P and direction D, i.e. all points M defined by M=P+u*D, where u is greater than or equal to 0, are inside the bounding volume. This involves first setting this box to be void and then adding the half-line.

    Parameters: | P (gp_Pnt) – D (gp_Dir) –
    Return type: | None

  `SetGap`()
    - Set the gap of this bounding box to abs(Tol).

    Parameters: | Tol (float) –
    Return type: | None

  `SetVoid`()
    - Sets this bounding box so that it is empty. All points are outside a void box.

    Return type: | None

  `SetWhole`()
    - Sets this bounding box so that it covers the whole of 3D space. It is infinitely long in all directions.

    Return type: | None

  `SquareExtent`()
    - Computes the squared diagonal of me.

    Return type: | float

  `Transformed`()
    - Returns a bounding box which is the result of applying the transformation T to this bounding box. Warning Applying a geometric transformation (for example, a rotation) to a bounding box generally increases its dimensions. This is not optimal for algorithms which use it.

    Parameters: | T (gp_Trsf) –
    Return type: | Bnd_Box

  `Update`()
    - Enlarges this bounding box, if required, so that it contains at least: - interval [ aXmin,aXmax ] in the ‘X Direction’, - interval [ aYmin,aYmax ] in the ‘Y Direction’, - interval [ aZmin,aZmax ] in the ‘Z Direction’;

    Parameters: | aXmin (float) – aYmin (float) – aZmin (float) – aXmax (float) – aYmax (float) – aZmax (float) –
    Return type: | None

    - Adds a point of coordinates (X,Y,Z) to this bounding box.

    Parameters: | X (float) – Y (float) – Z (float) –
    Return type: | None

  `thisown`

    The membership flag

class `Bnd_Box2d`(*args)

  Bases: `object`

  - Creates an empty 2D bounding box. The constructed box is qualified Void. Its gap is null.

  Return type: | None

  `Add`()
    - Adds the 2d box <Other> to <self>.

    Parameters: | Other (Bnd_Box2d &) –
    Return type: | None

    - Adds the 2d pnt <P> to <self>.

    Parameters: | P (gp_Pnt2d) –
    Return type: | None

    - Extends <self> from the Pnt <P> in the direction <D>.

    Parameters: | P (gp_Pnt2d) – D (gp_Dir2d) –
    Return type: | None

    - Extends the Box in the given Direction, i.e. adds a half-line. The box may become infinite in 1 or 2 directions.

    Parameters: | D (gp_Dir2d) –
    Return type: | None

  `Dump`()

    Return type: | None

  `Enlarge`()
    - Enlarges the box with a tolerance value. This means that the minimum values of its X and Y intervals of definition, when they are finite, are reduced by the absolute value of Tol, while the maximum values are increased by the same amount.

    Parameters: | Tol (float) –
    Return type: | None

  `Get`()
    - Returns the bounds of this 2D bounding box. The gap is included. If this bounding box is infinite (i.e. ‘open’), returned values may be equal to +/- Precision::Infinite(). if IsVoid()

    Parameters: | aXmin (float &) – aYmin (float &) – aXmax (float &) – aYmax (float &) –
    Return type: | None

  `GetGap`()
    - Returns the gap of this 2D bounding box.

    Return type: | float

  `IsOpenXmax`()
    - Returns true if this bounding box is open in the Xmax direction.

    Return type: | bool

  `IsOpenXmin`()
    - Returns true if this bounding box is open in the Xmin direction.

    Return type: | bool

  `IsOpenYmax`()
    - Returns true if this bounding box is open in the Ymax direction.

    Return type: | bool

  `IsOpenYmin`()
    - Returns true if this bounding box is open in the Ymin direction.

    Return type: | bool

  `IsOut`()
    - Returns True if the 2d pnt <P> is out <self>.

    Parameters: | P (gp_Pnt2d) –
    Return type: | bool

    - Returns True if <Box2d> is out <self>.

    Parameters: | Other (Bnd_Box2d &) –
    Return type: | bool

    - Returns True if transformed <Box2d> is out <self>.

    Parameters: | Other (Bnd_Box2d &) – T (gp_Trsf2d) –
    Return type: | bool

    - Compares a transformed bounding with a transformed bounding. The default implementation is to make a copy of <self> and <Other>, to transform them and to test.

    Parameters: | T1 (gp_Trsf2d) – Other (Bnd_Box2d &) – T2 (gp_Trsf2d) –
    Return type: | bool

  `IsVoid`()
    - Returns true if this 2D bounding box is empty (Void flag).

    Return type: | bool

  `IsWhole`()
    - Returns true if this bounding box is infinite in all 4 directions (Whole Space flag).

    Return type: | bool

  `OpenXmax`()
    - The Box will be infinitely long in the Xmax direction.

    Return type: | None

  `OpenXmin`()
    - The Box will be infinitely long in the Xmin direction.

    Return type: | None

  `OpenYmax`()
    - The Box will be infinitely long in the Ymax direction.

    Return type: | None

  `OpenYmin`()
    - The Box will be infinitely long in the Ymin direction.

    Return type: | None

  `Set`()
    - Sets this 2D bounding box so that it bounds the point P. This involves first setting this bounding box to be void and then adding the point PThe rectangle bounds the point <P>.

    Parameters: | P (gp_Pnt2d) –
    Return type: | None

    - Sets this 2D bounding box so that it bounds the half-line defined by point P and direction D, i.e. all points M defined by M=P+u*D, where u is greater than or equal to 0, are inside the bounding area. This involves first setting this 2D box to be void and then adding the half-line.

    Parameters: | P (gp_Pnt2d) – D (gp_Dir2d) –
    Return type: | None

  `SetGap`()
    - Set the gap of this 2D bounding box to abs(Tol).

    Parameters: | Tol (float) –
    Return type: | None

  `SetVoid`()
    - Sets this 2D bounding box so that it is empty. All points are outside a void box.

    Return type: | None

  `SetWhole`()
    - Sets this bounding box so that it covers the whole 2D space, i.e. it is infinite in all directions.

    Return type: | None

  `SquareExtent`()
    - Computes the squared diagonal of me.

    Return type: | float

  `Transformed`()
    - Returns a bounding box which is the result of applying the transformation T to this bounding box. Warning Applying a geometric transformation (for example, a rotation) to a bounding box generally increases its dimensions. This is not optimal for algorithms which use it.

    Parameters: | T (gp_Trsf2d) –
    Return type: | Bnd_Box2d

  `Update`()
    - Enlarges this 2D bounding box, if required, so that it contains at least: - interval [ aXmin,aXmax ] in the ‘X Direction’, - interval [ aYmin,aYmax ] in the ‘Y Direction’

    Parameters: | aXmin (float) – aYmin (float) – aXmax (float) – aYmax (float) –
    Return type: | None

    - Adds a point of coordinates (X,Y) to this bounding box.

    Parameters: | X (float) – Y (float) –
    Return type: | None

  `thisown`

    The membership flag

class `Bnd_HArray1OfBox`(*args)

  Bases: `OCC.MMgt.MMgt_TShared`

  Parameters: | Low (int) – Up (int) – Low – Up – V (Bnd_Box &) –
  Return type: | None
  Return type: | None

  `Array1`()

    Return type: | Bnd_Array1OfBox

  `ChangeArray1`()

    Return type: | Bnd_Array1OfBox

  `ChangeValue`()

    Parameters: | Index (int) –
    Return type: | Bnd_Box

  `GetHandle`()
  `Init`()

    Parameters: | V (Bnd_Box &) –
    Return type: | None

  `Length`()

    Return type: | int

  `Lower`()

    Return type: | int

  `SetValue`()

    Parameters: | Index (int) – Value (Bnd_Box &) –
    Return type: | None

  `Upper`()

    Return type: | int

  `Value`()

    Parameters: | Index (int) –
    Return type: | Bnd_Box

  `thisown`

    The membership flag

class `Bnd_HArray1OfBox2d`(*args)

  Bases: `OCC.MMgt.MMgt_TShared`

  Parameters: | Low (int) – Up (int) – Low – Up – V (Bnd_Box2d &) –
  Return type: | None
  Return type: | None

  `Array1`()

    Return type: | Bnd_Array1OfBox2d

  `ChangeArray1`()

    Return type: | Bnd_Array1OfBox2d

  `ChangeValue`()

    Parameters: | Index (int) –
    Return type: | Bnd_Box2d

  `GetHandle`()
  `Init`()

    Parameters: | V (Bnd_Box2d &) –
    Return type: | None

  `Length`()

    Return type: | int

  `Lower`()

    Return type: | int

  `SetValue`()

    Parameters: | Index (int) – Value (Bnd_Box2d &) –
    Return type: | None

  `Upper`()

    Return type: | int

  `Value`()

    Parameters: | Index (int) –
    Return type: | Bnd_Box2d

  `thisown`

    The membership flag

class `Bnd_HArray1OfSphere`(*args)

  Bases: `OCC.MMgt.MMgt_TShared`

  Parameters: | Low (int) – Up (int) – Low – Up – V (Bnd_Sphere &) –
  Return type: | None
  Return type: | None

  `Array1`()

    Return type: | Bnd_Array1OfSphere

  `ChangeArray1`()

    Return type: | Bnd_Array1OfSphere

  `ChangeValue`()

    Parameters: | Index (int) –
    Return type: | Bnd_Sphere

  `GetHandle`()
  `Init`()

    Parameters: | V (Bnd_Sphere &) –
    Return type: | None

  `Length`()

    Return type: | int

  `Lower`()

    Return type: | int

  `SetValue`()

    Parameters: | Index (int) – Value (Bnd_Sphere &) –
    Return type: | None

  `Upper`()

    Return type: | int

  `Value`()

    Parameters: | Index (int) –
    Return type: | Bnd_Sphere

  `thisown`

    The membership flag

class `Bnd_SeqOfBox`(*args)

  Bases: `OCC.TCollection.TCollection_BaseSequence`

  Return type: | None
  Parameters: | Other (Bnd_SeqOfBox &) –
  Return type: | None

  `Append`()

    Parameters: | T (Bnd_Box &) – S (Bnd_SeqOfBox &) –
    Return type: | None
    Return type: | None

  `Assign`()

    Parameters: | Other (Bnd_SeqOfBox &) –
    Return type: | Bnd_SeqOfBox

  `ChangeValue`()

    Parameters: | Index (int) –
    Return type: | Bnd_Box

  `Clear`()

    Return type: | None

  `First`()

    Return type: | Bnd_Box

  `InsertAfter`()

    Parameters: | Index (int) – T (Bnd_Box &) – Index – S (Bnd_SeqOfBox &) –
    Return type: | None
    Return type: | None

  `InsertBefore`()

    Parameters: | Index (int) – T (Bnd_Box &) – Index – S (Bnd_SeqOfBox &) –
    Return type: | None
    Return type: | None

  `Last`()

    Return type: | Bnd_Box

  `Prepend`()

    Parameters: | T (Bnd_Box &) – S (Bnd_SeqOfBox &) –
    Return type: | None
    Return type: | None

  `Remove`()

    Parameters: | Index (int) – FromIndex (int) – ToIndex (int) –
    Return type: | None
    Return type: | None

  `Set`()

    Parameters: | Other (Bnd_SeqOfBox &) –
    Return type: | Bnd_SeqOfBox

  `SetValue`()

    Parameters: | Index (int) – I (Bnd_Box &) –
    Return type: | None

  `Split`()

    Parameters: | Index (int) – Sub (Bnd_SeqOfBox &) –
    Return type: | None

  `Value`()

    Parameters: | Index (int) –
    Return type: | Bnd_Box

  `thisown`

    The membership flag

class `Bnd_SequenceNodeOfSeqOfBox`(*args)

  Bases: `OCC.TCollection.TCollection_SeqNode`

  Parameters: | I (Bnd_Box &) – n (TCollection_SeqNodePtr &) – p (TCollection_SeqNodePtr &) –
  Return type: | None

  `GetHandle`()
  `Value`()

    Return type: | Bnd_Box

  `thisown`

    The membership flag

class `Bnd_Sphere`(*args)

  Bases: `object`

  - Empty constructor

  Return type: | None

  - Constructor of a definite sphere

  Parameters: | theCntr (gp_XYZ) – theRad (float) – theU (int) – theV (int) –
  Return type: | None

  `Add`()

    Parameters: | theOther (Bnd_Sphere &) –
    Return type: | None

  `Center`()
    - Returns center of sphere object

    Return type: | gp_XYZ

  `Distance`()

    Parameters: | theNode (gp_XYZ) –
    Return type: | float

  `Distances`()
    - Calculate and return minimal and maximal distance to sphere. NOTE: This function is tightly optimized; any modifications may affect performance!

    Parameters: | theXYZ (gp_XYZ) – theMin (float &) – theMax (float &) –
    Return type: | None

  `IsOut`()

    Parameters: | theOther (Bnd_Sphere &) – thePnt (gp_XYZ) – theMaxDist (float &) –
    Return type: | bool
    Return type: | bool

  `IsValid`()
    - Returns validity status, indicating that this sphere corresponds to a real entity

    Return type: | bool

  `Project`()
    - Projects a point on entity. Returns true if success

    Parameters: | theNode (gp_XYZ) – theProjNode (gp_XYZ) – theDist (float &) – theInside (bool) –
    Return type: | bool

  `Radius`()
    - Returns the radius value

    Return type: | float

  `SetValid`()

    Parameters: | isValid (bool) –
    Return type: | None

  `SquareDistance`()

    Parameters: | theNode (gp_XYZ) –
    Return type: | float

  `SquareDistances`()
    - Calculate and return minimal and maximal distance to sphere. NOTE: This function is tightly optimized; any modifications may affect performance!

    Parameters: | theXYZ (gp_XYZ) – theMin (float &) – theMax (float &) –
    Return type: | None

  `SquareExtent`()

    Return type: | float

  `U`()
    - Returns the U parameter on shape

    Return type: | int

  `V`()
    - Returns the V parameter on shape

    Return type: | int

  `thisown`

    The membership flag

class `Handle_Bnd_HArray1OfBox`(*args)

  Bases: `OCC.MMgt.Handle_MMgt_TShared`

  static `DownCast`()
  `GetObject`()
  `IsNull`()
  `Nullify`()
  `thisown`

    The membership flag

class `Handle_Bnd_HArray1OfBox2d`(*args)

  Bases: `OCC.MMgt.Handle_MMgt_TShared`

  static `DownCast`()
  `GetObject`()
  `IsNull`()
  `Nullify`()
  `thisown`

    The membership flag

class `Handle_Bnd_HArray1OfSphere`(*args)

  Bases: `OCC.MMgt.Handle_MMgt_TShared`

  static `DownCast`()
  `GetObject`()
  `IsNull`()
  `Nullify`()
  `thisown`

    The membership flag

class `Handle_Bnd_SequenceNodeOfSeqOfBox`(*args)

  Bases: `OCC.TCollection.Handle_TCollection_SeqNode`

  static `DownCast`()
  `GetObject`()
  `IsNull`()
  `Nullify`()
  `thisown`

    The membership flag

class `SwigPyIterator`(*args, **kwargs)

  Bases: `object`

  `advance`()
  `copy`()
  `decr`()
  `distance`()
  `equal`()
  `incr`()
  `next`()
  `previous`()
  `thisown`

    The membership flag

  `value`()

`register_handle`(handle, base_object)

  Inserts the handle into the base object to prevent memory corruption in certain cases