OpenCascade.js
API ReferenceModelingDataTKGeomBase

GeomBndLib

OCCT package GeomBndLib: GeomBndLib_BezierCurve, GeomBndLib_BezierCurve2d, GeomBndLib_BezierSurface, GeomBndLib_BSplineCurve, and 28 more bound classes.

GeomBndLib_BezierCurve

Computes bounding box for a 3D Bezier curve (Geom_BezierCurve). Uses poles convex hull + sampling for deflection estimation.

Constructors(1)

Instance methods(4)

  • Box(theTol: number): Bnd_Box

    Compute bounding box for full curve.

    Parameters (1)
    • theTol
  • Box(theU1: number, theU2: number, theTol: number): Bnd_Box

    Compute bounding box for arc [theU1, theU2].

    Parameters (3)
    • theU1
    • theU2
    • theTol
  • BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box

    Compute precise bounding box using numerical optimization.

    Parameters (3)
    • theU1
    • theU2
    • theTol

GeomBndLib_BezierCurve2d

Computes bounding box for a 2D Bezier curve (Geom2d_BezierCurve). Uses poles convex hull + sampling for deflection estimation.

Constructors(1)

Instance methods(4)

  • Box(theTol: number): Bnd_Box2d

    Compute bounding box for full curve.

    Parameters (1)
    • theTol
  • Box(theU1: number, theU2: number, theTol: number): Bnd_Box2d

    Compute bounding box for arc [theU1, theU2].

    Parameters (3)
    • theU1
    • theU2
    • theTol
  • BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box2d

    Compute precise bounding box using numerical optimization.

    Parameters (3)
    • theU1
    • theU2
    • theTol

GeomBndLib_BezierSurface

Computes bounding box for a Bezier surface (Geom_BezierSurface). Uses poles convex hull for full surface, grid sampling for trimmed patches.

Constructors(1)

Instance methods(5)

  • Box(theTol: number): Bnd_Box

    Compute bounding box for full surface.

    Parameters (1)
    • theTol
  • Box(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box

    Compute bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].

    Parameters (5)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol
  • BoxOptimal(theTol: number): Bnd_Box

    Compute precise bounding box for full surface.

    Parameters (1)
    • theTol
  • BoxOptimal(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box

    Compute precise bounding box using numerical optimization.

    Parameters (5)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol

GeomBndLib_BSplineCurve

Computes bounding box for a 3D BSpline curve (Geom_BSplineCurve). Uses poles convex hull with knot-based index selection + sampling.

Constructors(1)

Instance methods(4)

  • Box(theTol: number): Bnd_Box

    Compute bounding box for full curve.

    Parameters (1)
    • theTol
  • Box(theU1: number, theU2: number, theTol: number): Bnd_Box

    Compute bounding box for arc [theU1, theU2].

    Parameters (3)
    • theU1
    • theU2
    • theTol
  • BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box

    Compute precise bounding box using numerical optimization.

    Parameters (3)
    • theU1
    • theU2
    • theTol

GeomBndLib_BSplineCurve2d

Computes bounding box for a 2D BSpline curve (Geom2d_BSplineCurve). Uses poles convex hull with knot-based index selection + sampling.

Constructors(1)

Instance methods(4)

  • Box(theTol: number): Bnd_Box2d

    Compute bounding box for full curve.

    Parameters (1)
    • theTol
  • Box(theU1: number, theU2: number, theTol: number): Bnd_Box2d

    Compute bounding box for arc [theU1, theU2].

    Parameters (3)
    • theU1
    • theU2
    • theTol
  • BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box2d

    Compute precise bounding box using numerical optimization.

    Parameters (3)
    • theU1
    • theU2
    • theTol

GeomBndLib_BSplineSurface

Computes bounding box for a BSpline surface (Geom_BSplineSurface). Uses poles convex hull with knot-based index selection via ComputePolesIndexes.

Constructors(1)

Instance methods(5)

  • Box(theTol: number): Bnd_Box

    Compute bounding box for full surface.

    Parameters (1)
    • theTol
  • Box(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box

    Compute bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].

    Parameters (5)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol
  • BoxOptimal(theTol: number): Bnd_Box

    Compute precise bounding box for full surface.

    Parameters (1)
    • theTol
  • BoxOptimal(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box

    Compute precise bounding box using numerical optimization.

    Parameters (5)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol

GeomBndLib_Circle

Computes bounding box for a 3D circle (Geom_Circle). Uses analytical per-coordinate extrema computation.
Static methods accepting gp_Circ can be used directly without constructing a Geom_Circle handle.

Constructors(1)

Static methods(2)

  • Box(theCirc: gp_Circ, theTol: number): Bnd_Box

    Compute bounding box for a full circle defined by gp_Circ.

    Parameters (2)
    • theCirc
    • theTol
  • Box(theCirc: gp_Circ, theU1: number, theU2: number, theTol: number): Bnd_Box

    Compute bounding box for a circle arc [theU1, theU2] defined by gp_Circ.

    Parameters (4)
    • theCirc
    • theU1
    • theU2
    • theTol

Instance methods(4)

  • Box(theTol: number): Bnd_Box

    Compute bounding box for full circle.

    Parameters (1)
    • theTol
  • Box(theU1: number, theU2: number, theTol: number): Bnd_Box

    Compute bounding box for arc [theU1, theU2].

    Parameters (3)
    • theU1
    • theU2
    • theTol
  • BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box

    For analytical curves, BoxOptimal is same as Box.

    Parameters (3)
    • theU1
    • theU2
    • theTol

GeomBndLib_Circle2d

Computes bounding box for a 2D circle (Geom2d_Circle). Uses analytical per-coordinate extrema computation.
Static methods accepting gp_Circ2d can be used directly without constructing a Geom2d_Circle handle.

Constructors(1)

Static methods(2)

  • Box(theCirc: gp_Circ2d, theTol: number): Bnd_Box2d

    Compute bounding box for a full circle defined by gp_Circ2d.

    Parameters (2)
    • theCirc
    • theTol
  • Box(theCirc: gp_Circ2d, theU1: number, theU2: number, theTol: number): Bnd_Box2d

    Compute bounding box for a circle arc [theU1, theU2] defined by gp_Circ2d.

    Parameters (4)
    • theCirc
    • theU1
    • theU2
    • theTol

Instance methods(4)

  • Box(theTol: number): Bnd_Box2d

    Compute bounding box for full circle.

    Parameters (1)
    • theTol
  • Box(theU1: number, theU2: number, theTol: number): Bnd_Box2d

    Compute bounding box for arc [theU1, theU2].

    Parameters (3)
    • theU1
    • theU2
    • theTol
  • BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box2d

    For analytical curves, BoxOptimal is same as Box.

    Parameters (3)
    • theU1
    • theU2
    • theTol

GeomBndLib_Cone

Computes bounding box for a conical surface (Geom_ConicalSurface). Uses ElSLib iso-curves and GeomBndLib_ConicHelpers for circle arc bounding.

Constructors(1)

Instance methods(5)

  • Box(theTol: number): Bnd_Box

    Compute bounding box for full cone.

    Parameters (1)
    • theTol
  • Box(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box

    Compute bounding box for cone patch [theUMin, theUMax] x [theVMin, theVMax].

    Parameters (5)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol
  • BoxOptimal(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box

    For analytical surfaces, BoxOptimal is same as Box.

    Parameters (5)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol
  • BoxOptimal(theTol: number): Bnd_Box

    Compute optimal bounding box for full surface.

    Parameters (1)
    • theTol

GeomBndLib_Curve

Variant-based dispatcher for 3D curve bounding box computation. Auto-detects the curve type and delegates to the appropriate specialized class.

Constructors(2)

Instance methods(9)

  • Return detected curve type.

  • Box(theTol: number): Bnd_Box

    Compute bounding box for full curve.

    Parameters (1)
    • theTol
  • Box(theU1: number, theU2: number, theTol: number): Bnd_Box

    Compute bounding box for arc [theU1, theU2].

    Parameters (3)
    • theU1
    • theU2
    • theTol
  • BoxOptimal(theTol: number): Bnd_Box

    Compute precise bounding box for full curve.

    Parameters (1)
    • theTol
  • BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box

    Compute precise bounding box for arc [theU1, theU2].

    Parameters (3)
    • theU1
    • theU2
    • theTol
  • Add(theTol: number, theBox: Bnd_Box): void

    Add bounding box for full curve.

    Parameters (2)
    • theTol
    • theBox
      Mutated in place; read the updated value from this argument after the call.
  • Add(theU1: number, theU2: number, theTol: number, theBox: Bnd_Box): void

    Add bounding box for arc [theU1, theU2].

    Parameters (4)
    • theU1
    • theU2
    • theTol
    • theBox
      Mutated in place; read the updated value from this argument after the call.
  • AddOptimal(theTol: number, theBox: Bnd_Box): void

    Add precise bounding box for full curve.

    Parameters (2)
    • theTol
    • theBox
      Mutated in place; read the updated value from this argument after the call.
  • AddOptimal(theU1: number, theU2: number, theTol: number, theBox: Bnd_Box): void

    Add precise bounding box for arc [theU1, theU2].

    Parameters (4)
    • theU1
    • theU2
    • theTol
    • theBox
      Mutated in place; read the updated value from this argument after the call.

GeomBndLib_Curve2d

Variant-based dispatcher for 2D curve bounding box computation. Auto-detects the curve type and delegates to the appropriate specialized class.

Constructors(2)

Instance methods(9)

  • Return detected curve type.

  • Box(theTol: number): Bnd_Box2d

    Compute bounding box for full curve.

    Parameters (1)
    • theTol
  • Box(theU1: number, theU2: number, theTol: number): Bnd_Box2d

    Compute bounding box for arc [theU1, theU2].

    Parameters (3)
    • theU1
    • theU2
    • theTol
  • BoxOptimal(theTol: number): Bnd_Box2d

    Compute precise bounding box for full curve.

    Parameters (1)
    • theTol
  • BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box2d

    Compute precise bounding box for arc [theU1, theU2].

    Parameters (3)
    • theU1
    • theU2
    • theTol
  • Add(theTol: number, theBox: Bnd_Box2d): void

    Add bounding box for full curve.

    Parameters (2)
    • theTol
    • theBox
      Mutated in place; read the updated value from this argument after the call.
  • Add(theU1: number, theU2: number, theTol: number, theBox: Bnd_Box2d): void

    Add bounding box for arc [theU1, theU2].

    Parameters (4)
    • theU1
    • theU2
    • theTol
    • theBox
      Mutated in place; read the updated value from this argument after the call.
  • AddOptimal(theTol: number, theBox: Bnd_Box2d): void

    Add precise bounding box for full curve.

    Parameters (2)
    • theTol
    • theBox
      Mutated in place; read the updated value from this argument after the call.
  • AddOptimal(theU1: number, theU2: number, theTol: number, theBox: Bnd_Box2d): void

    Add precise bounding box for arc [theU1, theU2].

    Parameters (4)
    • theU1
    • theU2
    • theTol
    • theBox
      Mutated in place; read the updated value from this argument after the call.

GeomBndLib_Cylinder

Computes bounding box for a cylindrical surface (Geom_CylindricalSurface). Uses ElSLib iso-curves and GeomBndLib_ConicHelpers for circle arc bounding.

Constructors(1)

Instance methods(5)

  • Box(theTol: number): Bnd_Box

    Compute bounding box for full cylinder.

    Parameters (1)
    • theTol
  • Box(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box

    Compute bounding box for cylinder patch [theUMin, theUMax] x [theVMin, theVMax].

    Parameters (5)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol
  • BoxOptimal(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box

    For analytical surfaces, BoxOptimal is same as Box.

    Parameters (5)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol
  • BoxOptimal(theTol: number): Bnd_Box

    Compute optimal bounding box for full surface.

    Parameters (1)
    • theTol

GeomBndLib_Ellipse

Computes bounding box for a 3D ellipse (Geom_Ellipse). Uses analytical per-coordinate extrema computation.
Static methods accepting gp_Elips can be used directly without constructing a Geom_Ellipse handle.

Constructors(1)

Static methods(2)

  • Box(theElips: gp_Elips, theTol: number): Bnd_Box

    Compute bounding box for a full ellipse defined by gp_Elips.

    Parameters (2)
    • theElips
    • theTol
  • Box(theElips: gp_Elips, theU1: number, theU2: number, theTol: number): Bnd_Box

    Compute bounding box for an ellipse arc [theU1, theU2] defined by gp_Elips.

    Parameters (4)
    • theElips
    • theU1
    • theU2
    • theTol

Instance methods(4)

  • Box(theTol: number): Bnd_Box

    Compute bounding box for full ellipse.

    Parameters (1)
    • theTol
  • Box(theU1: number, theU2: number, theTol: number): Bnd_Box

    Compute bounding box for arc [theU1, theU2].

    Parameters (3)
    • theU1
    • theU2
    • theTol
  • BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box

    For analytical curves, BoxOptimal is same as Box.

    Parameters (3)
    • theU1
    • theU2
    • theTol

GeomBndLib_Ellipse2d

Computes bounding box for a 2D ellipse (Geom2d_Ellipse). Uses analytical per-coordinate extrema computation.
Static methods accepting gp_Elips2d can be used directly without constructing a Geom2d_Ellipse handle.

Constructors(1)

Static methods(2)

  • Box(theElips: gp_Elips2d, theTol: number): Bnd_Box2d

    Compute bounding box for a full ellipse defined by gp_Elips2d.

    Parameters (2)
    • theElips
    • theTol
  • Box(theElips: gp_Elips2d, theU1: number, theU2: number, theTol: number): Bnd_Box2d

    Compute bounding box for an ellipse arc [theU1, theU2] defined by gp_Elips2d.

    Parameters (4)
    • theElips
    • theU1
    • theU2
    • theTol

Instance methods(4)

  • Box(theTol: number): Bnd_Box2d

    Compute bounding box for full ellipse.

    Parameters (1)
    • theTol
  • Box(theU1: number, theU2: number, theTol: number): Bnd_Box2d

    Compute bounding box for arc [theU1, theU2].

    Parameters (3)
    • theU1
    • theU2
    • theTol
  • BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box2d

    For analytical curves, BoxOptimal is same as Box.

    Parameters (3)
    • theU1
    • theU2
    • theTol

GeomBndLib_Hyperbola

Computes bounding box for a 3D hyperbola (Geom_Hyperbola). Handles infinite parameters by opening the box in appropriate directions.
Static method accepting gp_Hypr can be used directly without constructing a Geom_Hyperbola handle.

Constructors(1)

Static methods(1)

  • Box(theHypr: gp_Hypr, theU1: number, theU2: number, theTol: number): Bnd_Box

    Compute bounding box for a hyperbola arc [theU1, theU2] defined by gp_Hypr.

    Parameters (4)
    • theHypr
    • theU1
    • theU2
    • theTol

Instance methods(4)

  • Box(theU1: number, theU2: number, theTol: number): Bnd_Box

    Compute bounding box for arc [theU1, theU2].

    Parameters (3)
    • theU1
    • theU2
    • theTol
  • Box(theTol: number): Bnd_Box

    Compute bounding box for full curve.

    Parameters (1)
    • theTol
  • BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box

    For analytical curves, BoxOptimal is same as Box.

    Parameters (3)
    • theU1
    • theU2
    • theTol

GeomBndLib_Hyperbola2d

Computes bounding box for a 2D hyperbola (Geom2d_Hyperbola). Handles infinite parameters by opening the box in appropriate directions.
Static method accepting gp_Hypr2d can be used directly without constructing a Geom2d_Hyperbola handle.

Constructors(1)

Static methods(1)

  • Box(theHypr: gp_Hypr2d, theU1: number, theU2: number, theTol: number): Bnd_Box2d

    Compute bounding box for a 2D hyperbola arc [theU1, theU2] defined by gp_Hypr2d.

    Parameters (4)
    • theHypr
    • theU1
    • theU2
    • theTol

Instance methods(4)

  • Box(theU1: number, theU2: number, theTol: number): Bnd_Box2d

    Compute bounding box for arc [theU1, theU2].

    Parameters (3)
    • theU1
    • theU2
    • theTol
  • Box(theTol: number): Bnd_Box2d

    Compute bounding box for full curve.

    Parameters (1)
    • theTol
  • BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box2d

    For analytical curves, BoxOptimal is same as Box.

    Parameters (3)
    • theU1
    • theU2
    • theTol

GeomBndLib_Line

Computes bounding box for a 3D line (Geom_Line). Handles infinite parameters by opening the box in appropriate directions.
Static method accepting gp_Lin can be used directly without constructing a Geom_Line handle.

Constructors(1)

Static methods(1)

  • Box(theLin: gp_Lin, theU1: number, theU2: number, theTol: number): Bnd_Box

    Compute bounding box for a line segment [theU1, theU2] defined by gp_Lin.

    Parameters (4)
    • theLin
    • theU1
    • theU2
    • theTol

Instance methods(4)

  • Box(theU1: number, theU2: number, theTol: number): Bnd_Box

    Compute bounding box for line segment [theU1, theU2].

    Parameters (3)
    • theU1
    • theU2
    • theTol
  • Box(theTol: number): Bnd_Box

    Compute bounding box for full curve.

    Parameters (1)
    • theTol
  • BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box

    For analytical curves, BoxOptimal is same as Box.

    Parameters (3)
    • theU1
    • theU2
    • theTol

GeomBndLib_Line2d

Computes bounding box for a 2D line (Geom2d_Line). Handles infinite parameters by opening the box in appropriate directions.
Static method accepting gp_Lin2d can be used directly without constructing a Geom2d_Line handle.

Constructors(1)

Static methods(1)

  • Box(theLin: gp_Lin2d, theU1: number, theU2: number, theTol: number): Bnd_Box2d

    Compute bounding box for a 2D line segment [theU1, theU2] defined by gp_Lin2d.

    Parameters (4)
    • theLin
    • theU1
    • theU2
    • theTol

Instance methods(4)

  • Box(theU1: number, theU2: number, theTol: number): Bnd_Box2d

    Compute bounding box for line segment [theU1, theU2].

    Parameters (3)
    • theU1
    • theU2
    • theTol
  • Box(theTol: number): Bnd_Box2d

    Compute bounding box for full curve.

    Parameters (1)
    • theTol
  • BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box2d

    For analytical curves, BoxOptimal is same as Box.

    Parameters (3)
    • theU1
    • theU2
    • theTol

GeomBndLib_OffsetCurve

Computes bounding box for a 3D offset curve (Geom_OffsetCurve). Computes the bounding box of the basis curve and enlarges it by |offset|.

Constructors(1)

Instance methods(5)

  • Box(theTol: number): Bnd_Box

    Compute bounding box for full curve.

    Parameters (1)
    • theTol
  • Box(theU1: number, theU2: number, theTol: number): Bnd_Box

    Compute bounding box for arc [theU1, theU2].

    Parameters (3)
    • theU1
    • theU2
    • theTol
  • BoxOptimal(theTol: number): Bnd_Box

    Compute precise bounding box for full curve.

    Parameters (1)
    • theTol
  • BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box

    Compute precise bounding box for arc [theU1, theU2] by sampling the offset curve.

    Parameters (3)
    • theU1
    • theU2
    • theTol

GeomBndLib_OffsetCurve2d

Computes bounding box for a 2D offset curve (Geom2d_OffsetCurve). Computes the bounding box of the basis curve and enlarges it by |offset|.

Constructors(1)

Instance methods(5)

  • Box(theTol: number): Bnd_Box2d

    Compute bounding box for full curve.

    Parameters (1)
    • theTol
  • Box(theU1: number, theU2: number, theTol: number): Bnd_Box2d

    Compute bounding box for arc [theU1, theU2].

    Parameters (3)
    • theU1
    • theU2
    • theTol
  • BoxOptimal(theTol: number): Bnd_Box2d

    Compute precise bounding box for full curve.

    Parameters (1)
    • theTol
  • BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box2d

    Compute precise bounding box for arc [theU1, theU2] by sampling the offset curve.

    Parameters (3)
    • theU1
    • theU2
    • theTol

GeomBndLib_OffsetSurface

Computes bounding box for an offset surface (Geom_OffsetSurface). Computes the bounding box of the basis surface and enlarges it by |offset|.

Constructors(1)

Instance methods(5)

  • Box(theTol: number): Bnd_Box

    Compute bounding box for full surface.

    Parameters (1)
    • theTol
  • Box(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box

    Compute bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].

    Parameters (5)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol
  • BoxOptimal(theTol: number): Bnd_Box

    Compute precise bounding box for full surface.

    Parameters (1)
    • theTol
  • BoxOptimal(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box

    Compute precise bounding box for surface patch using PSO numerical optimization.

    Parameters (5)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol

GeomBndLib_OtherCurve

Computes bounding box for a general 3D curve via adaptor. Uses sampling + PSO/Brent numerical optimization for BoxOptimal.

Constructors(1)

Instance methods(4)

  • Box(theTol: number): Bnd_Box

    Compute bounding box for full curve.

    Parameters (1)
    • theTol
  • Box(theU1: number, theU2: number, theTol: number): Bnd_Box

    Compute bounding box for arc [theU1, theU2].

    Parameters (3)
    • theU1
    • theU2
    • theTol
  • BoxOptimal(theTol: number): Bnd_Box

    Compute precise bounding box for full curve.

    Parameters (1)
    • theTol
  • BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box

    Compute precise bounding box using PSO + Brent optimization.

    Parameters (3)
    • theU1
    • theU2
    • theTol

GeomBndLib_OtherCurve2d

Computes bounding box for a general 2D curve via adaptor. Uses sampling + PSO/Brent numerical optimization for BoxOptimal.

Constructors(1)

Instance methods(4)

  • Box(theTol: number): Bnd_Box2d

    Compute bounding box for full curve.

    Parameters (1)
    • theTol
  • Box(theU1: number, theU2: number, theTol: number): Bnd_Box2d

    Compute bounding box for arc [theU1, theU2].

    Parameters (3)
    • theU1
    • theU2
    • theTol
  • BoxOptimal(theTol: number): Bnd_Box2d

    Compute precise bounding box for full curve.

    Parameters (1)
    • theTol
  • BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box2d

    Compute precise bounding box using PSO + Brent optimization.

    Parameters (3)
    • theU1
    • theU2
    • theTol

GeomBndLib_OtherSurface

Computes bounding box for a general surface via adaptor. Uses grid sampling for Box and PSO/Powell numerical optimization for BoxOptimal.

Constructors(1)

Instance methods(4)

  • Box(theTol: number): Bnd_Box

    Compute bounding box for full surface.

    Parameters (1)
    • theTol
  • Box(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box

    Compute bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].

    Parameters (5)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol
  • BoxOptimal(theTol: number): Bnd_Box

    Compute precise bounding box for full surface.

    Parameters (1)
    • theTol
  • BoxOptimal(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box

    Compute precise bounding box using PSO + Powell optimization.

    Parameters (5)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol

GeomBndLib_Parabola

Computes bounding box for a 3D parabola (Geom_Parabola). Handles infinite parameters by opening the box in appropriate directions.
Static method accepting gp_Parab can be used directly without constructing a Geom_Parabola handle.

Constructors(1)

Static methods(1)

  • Box(theParab: gp_Parab, theU1: number, theU2: number, theTol: number): Bnd_Box

    Compute bounding box for a parabola arc [theU1, theU2] defined by gp_Parab.

    Parameters (4)
    • theParab
    • theU1
    • theU2
    • theTol

Instance methods(4)

  • Box(theU1: number, theU2: number, theTol: number): Bnd_Box

    Compute bounding box for arc [theU1, theU2].

    Parameters (3)
    • theU1
    • theU2
    • theTol
  • Box(theTol: number): Bnd_Box

    Compute bounding box for full curve.

    Parameters (1)
    • theTol
  • BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box

    For analytical curves, BoxOptimal is same as Box.

    Parameters (3)
    • theU1
    • theU2
    • theTol

GeomBndLib_Parabola2d

Computes bounding box for a 2D parabola (Geom2d_Parabola). Handles infinite parameters by opening the box in appropriate directions.
Static method accepting gp_Parab2d can be used directly without constructing a Geom2d_Parabola handle.

Constructors(1)

Static methods(1)

  • Box(theParab: gp_Parab2d, theU1: number, theU2: number, theTol: number): Bnd_Box2d

    Compute bounding box for a 2D parabola arc [theU1, theU2] defined by gp_Parab2d.

    Parameters (4)
    • theParab
    • theU1
    • theU2
    • theTol

Instance methods(4)

  • Box(theU1: number, theU2: number, theTol: number): Bnd_Box2d

    Compute bounding box for arc [theU1, theU2].

    Parameters (3)
    • theU1
    • theU2
    • theTol
  • Box(theTol: number): Bnd_Box2d

    Compute bounding box for full curve.

    Parameters (1)
    • theTol
  • BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box2d

    For analytical curves, BoxOptimal is same as Box.

    Parameters (3)
    • theU1
    • theU2
    • theTol

GeomBndLib_Plane

Computes bounding box for a 3D plane (Geom_Plane). Handles infinite parameters by opening box sides based on the plane normal direction.

Constructors(1)

Instance methods(5)

  • Box(theTol: number): Bnd_Box

    Compute bounding box for full plane (infinite).

    Parameters (1)
    • theTol
  • Box(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box

    Compute bounding box for plane patch [theUMin, theUMax] x [theVMin, theVMax].

    Parameters (5)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol
  • BoxOptimal(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box

    For analytical surfaces, BoxOptimal is same as Box.

    Parameters (5)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol
  • BoxOptimal(theTol: number): Bnd_Box

    Compute optimal bounding box for full surface.

    Parameters (1)
    • theTol

GeomBndLib_Sphere

Computes bounding box for a spherical surface (Geom_SphericalSurface). Uses direct extremal-point computation and ElSLib iso-curves with GeomBndLib_ConicHelpers for circle arc bounding.

Constructors(1)

Instance methods(5)

  • Box(theTol: number): Bnd_Box

    Compute bounding box for full sphere.

    Parameters (1)
    • theTol
  • Box(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box

    Compute bounding box for sphere patch [theUMin, theUMax] x [theVMin, theVMax].

    Parameters (5)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol
  • BoxOptimal(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box

    For analytical surfaces, BoxOptimal is same as Box.

    Parameters (5)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol
  • BoxOptimal(theTol: number): Bnd_Box

    Compute optimal bounding box for full surface.

    Parameters (1)
    • theTol

GeomBndLib_Surface

Variant-based dispatcher for 3D surface bounding box computation. Auto-detects the surface type and delegates to the appropriate specialized class.

Constructors(2)

Instance methods(9)

  • Return detected surface type.

  • Box(theTol: number): Bnd_Box

    Compute bounding box for full surface.

    Parameters (1)
    • theTol
  • Box(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box

    Compute bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].

    Parameters (5)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol
  • BoxOptimal(theTol: number): Bnd_Box

    Compute precise bounding box for full surface.

    Parameters (1)
    • theTol
  • BoxOptimal(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box

    Compute precise bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].

    Parameters (5)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol
  • Add(theTol: number, theBox: Bnd_Box): void

    Add bounding box for full surface.

    Parameters (2)
    • theTol
    • theBox
      Mutated in place; read the updated value from this argument after the call.
  • Add(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number, theBox: Bnd_Box): void

    Add bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].

    Parameters (6)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol
    • theBox
      Mutated in place; read the updated value from this argument after the call.
  • AddOptimal(theTol: number, theBox: Bnd_Box): void

    Add precise bounding box for full surface.

    Parameters (2)
    • theTol
    • theBox
      Mutated in place; read the updated value from this argument after the call.
  • AddOptimal(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number, theBox: Bnd_Box): void

    Add precise bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].

    Parameters (6)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol
    • theBox
      Mutated in place; read the updated value from this argument after the call.

GeomBndLib_SurfaceOfExtrusion

Computes bounding box for a surface of linear extrusion (Geom_SurfaceOfLinearExtrusion). Uses pure analytical approach: P(U, V) = BasisCurve(U) + V * Direction, so the box is computed from the basis curve box extended along the direction.

Constructors(1)

Instance methods(5)

  • Box(theTol: number): Bnd_Box

    Compute bounding box for full surface.

    Parameters (1)
    • theTol
  • Box(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box

    Compute bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].

    Parameters (5)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol
  • BoxOptimal(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box

    Compute precise bounding box using tight basis curve bounds.

    Parameters (5)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol
  • BoxOptimal(theTol: number): Bnd_Box

    Compute precise bounding box for full surface.

    Parameters (1)
    • theTol

GeomBndLib_SurfaceOfRevolution

Computes bounding box for a surface of revolution (Geom_SurfaceOfRevolution). Uses analytical approach: samples the basis curve at multiple V values, constructs the revolution circle for each sample point, and bounds each circle arc using GeomBndLib_Circle.

Constructors(1)

Instance methods(5)

  • Box(theTol: number): Bnd_Box

    Compute bounding box for full surface.

    Parameters (1)
    • theTol
  • Box(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box

    Compute bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].

    Parameters (5)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol
  • BoxOptimal(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box

    Compute precise bounding box using tight basis curve bounds.

    Parameters (5)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol
  • BoxOptimal(theTol: number): Bnd_Box

    Compute precise bounding box for full surface.

    Parameters (1)
    • theTol

GeomBndLib_Torus

Computes bounding box for a toroidal surface (Geom_ToroidalSurface). Uses 8-point polygon approximation via GeomBndLib_ConicHelpers and extremal-point computation for degenerate torus (Ra < Ri).

Constructors(1)

Instance methods(5)

  • Box(theTol: number): Bnd_Box

    Compute bounding box for full torus.

    Parameters (1)
    • theTol
  • Box(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box

    Compute bounding box for torus patch [theUMin, theUMax] x [theVMin, theVMax].

    Parameters (5)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol
  • BoxOptimal(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box

    Compute precise bounding box for torus patch using PSO + Powell optimization.

    Parameters (5)
    • theUMin
    • theUMax
    • theVMin
    • theVMax
    • theTol
  • BoxOptimal(theTol: number): Bnd_Box

    Compute precise bounding box for full torus.

    Parameters (1)
    • theTol