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)
- constructor(theCurve: Geom_BezierCurve): GeomBndLib_BezierCurveParameters (1)
theCurve
Instance methods(4)
Compute bounding box for full curve.
Parameters (1)theTol
Compute bounding box for arc [theU1, theU2].
Parameters (3)theU1theU2theTol
- BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box
Compute precise bounding box using numerical optimization.
Parameters (3)theU1theU2theTol
GeomBndLib_BezierCurve2d
Computes bounding box for a 2D Bezier curve (Geom2d_BezierCurve). Uses poles convex hull + sampling for deflection estimation.
Constructors(1)
- constructor(theCurve: Geom2d_BezierCurve): GeomBndLib_BezierCurve2dParameters (1)
theCurve
Instance methods(4)
Compute bounding box for full curve.
Parameters (1)theTol
Compute bounding box for arc [theU1, theU2].
Parameters (3)theU1theU2theTol
- BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box2d
Compute precise bounding box using numerical optimization.
Parameters (3)theU1theU2theTol
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)
- Parameters (1)
theSurf
Instance methods(5)
Compute bounding box for full surface.
Parameters (1)theTol
Compute bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].
Parameters (5)theUMintheUMaxtheVMintheVMaxtheTol
- 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)theUMintheUMaxtheVMintheVMaxtheTol
GeomBndLib_BSplineCurve
Computes bounding box for a 3D BSpline curve (Geom_BSplineCurve). Uses poles convex hull with knot-based index selection + sampling.
Constructors(1)
- constructor(theCurve: Geom_BSplineCurve): GeomBndLib_BSplineCurveParameters (1)
theCurve
Instance methods(4)
Compute bounding box for full curve.
Parameters (1)theTol
Compute bounding box for arc [theU1, theU2].
Parameters (3)theU1theU2theTol
- BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box
Compute precise bounding box using numerical optimization.
Parameters (3)theU1theU2theTol
GeomBndLib_BSplineCurve2d
Computes bounding box for a 2D BSpline curve (Geom2d_BSplineCurve). Uses poles convex hull with knot-based index selection + sampling.
Constructors(1)
- constructor(theCurve: Geom2d_BSplineCurve): GeomBndLib_BSplineCurve2dParameters (1)
theCurve
Instance methods(4)
Compute bounding box for full curve.
Parameters (1)theTol
Compute bounding box for arc [theU1, theU2].
Parameters (3)theU1theU2theTol
- BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box2d
Compute precise bounding box using numerical optimization.
Parameters (3)theU1theU2theTol
GeomBndLib_BSplineSurface
Computes bounding box for a BSpline surface (Geom_BSplineSurface). Uses poles convex hull with knot-based index selection via ComputePolesIndexes.
Constructors(1)
- Parameters (1)
theSurf
Instance methods(5)
Compute bounding box for full surface.
Parameters (1)theTol
Compute bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].
Parameters (5)theUMintheUMaxtheVMintheVMaxtheTol
- 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)theUMintheUMaxtheVMintheVMaxtheTol
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)
- constructor(theCircle: Geom_Circle): GeomBndLib_CircleParameters (1)
theCircle
Static methods(2)
Instance methods(4)
Compute bounding box for full circle.
Parameters (1)theTol
Compute bounding box for arc [theU1, theU2].
Parameters (3)theU1theU2theTol
- BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box
For analytical curves, BoxOptimal is same as Box.
Parameters (3)theU1theU2theTol
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)
- constructor(theCircle: Geom2d_Circle): GeomBndLib_Circle2dParameters (1)
theCircle
Static methods(2)
Instance methods(4)
Compute bounding box for full circle.
Parameters (1)theTol
Compute bounding box for arc [theU1, theU2].
Parameters (3)theU1theU2theTol
- BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box2d
For analytical curves, BoxOptimal is same as Box.
Parameters (3)theU1theU2theTol
GeomBndLib_Cone
Computes bounding box for a conical surface (Geom_ConicalSurface). Uses ElSLib iso-curves and GeomBndLib_ConicHelpers for circle arc bounding.
Constructors(1)
- constructor(theSurf: Geom_ConicalSurface): GeomBndLib_ConeParameters (1)
theSurf
Instance methods(5)
Compute bounding box for full cone.
Parameters (1)theTol
Compute bounding box for cone patch [theUMin, theUMax] x [theVMin, theVMax].
Parameters (5)theUMintheUMaxtheVMintheVMaxtheTol
- BoxOptimal(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box
For analytical surfaces, BoxOptimal is same as Box.
Parameters (5)theUMintheUMaxtheVMintheVMaxtheTol
- 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)
- constructor(theCurve: Adaptor3d_Curve): GeomBndLib_Curve
Construct from an adaptor curve.
Parameters (1)theCurve
- constructor(theCurve: Geom_Curve): GeomBndLib_Curve
Construct from a
Geom_Curvehandle.Parameters (1)theCurve
Instance methods(9)
Return detected curve type.
Compute bounding box for full curve.
Parameters (1)theTol
Compute bounding box for arc [theU1, theU2].
Parameters (3)theU1theU2theTol
- 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)theU1theU2theTol
Add bounding box for full curve.
Parameters (2)theToltheBox—Mutated in place; read the updated value from this argument after the call.
Add bounding box for arc [theU1, theU2].
Parameters (4)theU1theU2theToltheBox—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)theToltheBox—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)theU1theU2theToltheBox—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)
- constructor(theCurve: Adaptor2d_Curve2d): GeomBndLib_Curve2d
Construct from an adaptor curve.
Parameters (1)theCurve
- constructor(theCurve: Geom2d_Curve): GeomBndLib_Curve2d
Construct from a
Geom2d_Curvehandle.Parameters (1)theCurve
Instance methods(9)
Return detected curve type.
Compute bounding box for full curve.
Parameters (1)theTol
Compute bounding box for arc [theU1, theU2].
Parameters (3)theU1theU2theTol
- 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)theU1theU2theTol
Add bounding box for full curve.
Parameters (2)theToltheBox—Mutated in place; read the updated value from this argument after the call.
Add bounding box for arc [theU1, theU2].
Parameters (4)theU1theU2theToltheBox—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)theToltheBox—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)theU1theU2theToltheBox—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)
- Parameters (1)
theSurf
Instance methods(5)
Compute bounding box for full cylinder.
Parameters (1)theTol
Compute bounding box for cylinder patch [theUMin, theUMax] x [theVMin, theVMax].
Parameters (5)theUMintheUMaxtheVMintheVMaxtheTol
- BoxOptimal(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box
For analytical surfaces, BoxOptimal is same as Box.
Parameters (5)theUMintheUMaxtheVMintheVMaxtheTol
- 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)
- constructor(theEllipse: Geom_Ellipse): GeomBndLib_EllipseParameters (1)
theEllipse
Static methods(2)
Instance methods(4)
Compute bounding box for full ellipse.
Parameters (1)theTol
Compute bounding box for arc [theU1, theU2].
Parameters (3)theU1theU2theTol
- BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box
For analytical curves, BoxOptimal is same as Box.
Parameters (3)theU1theU2theTol
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)
- constructor(theEllipse: Geom2d_Ellipse): GeomBndLib_Ellipse2dParameters (1)
theEllipse
Static methods(2)
- Box(theElips: gp_Elips2d, theTol: number): Bnd_Box2d
Compute bounding box for a full ellipse defined by
gp_Elips2d.Parameters (2)theElipstheTol
- 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)theElipstheU1theU2theTol
Instance methods(4)
Compute bounding box for full ellipse.
Parameters (1)theTol
Compute bounding box for arc [theU1, theU2].
Parameters (3)theU1theU2theTol
- BoxOptimal(theU1: number, theU2: number, theTol: number): Bnd_Box2d
For analytical curves, BoxOptimal is same as Box.
Parameters (3)theU1theU2theTol
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)
- constructor(theHyperbola: Geom_Hyperbola): GeomBndLib_HyperbolaParameters (1)
theHyperbola
Static methods(1)
Compute bounding box for a hyperbola arc [theU1, theU2] defined by
gp_Hypr.Parameters (4)theHyprtheU1theU2theTol
Instance methods(4)
Compute bounding box for arc [theU1, theU2].
Parameters (3)theU1theU2theTol
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)theU1theU2theTol
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)
- constructor(theHyperbola: Geom2d_Hyperbola): GeomBndLib_Hyperbola2dParameters (1)
theHyperbola
Static methods(1)
Compute bounding box for a 2D hyperbola arc [theU1, theU2] defined by
gp_Hypr2d.Parameters (4)theHyprtheU1theU2theTol
Instance methods(4)
Compute bounding box for arc [theU1, theU2].
Parameters (3)theU1theU2theTol
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)theU1theU2theTol
GeomBndLib_Line
Constructors(1)
- constructor(theLine: Geom_Line): GeomBndLib_LineParameters (1)
theLine
Static methods(1)
Compute bounding box for a line segment [theU1, theU2] defined by
gp_Lin.Parameters (4)theLintheU1theU2theTol
Instance methods(4)
Compute bounding box for line segment [theU1, theU2].
Parameters (3)theU1theU2theTol
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)theU1theU2theTol
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)
- constructor(theLine: Geom2d_Line): GeomBndLib_Line2dParameters (1)
theLine
Static methods(1)
Compute bounding box for a 2D line segment [theU1, theU2] defined by
gp_Lin2d.Parameters (4)theLintheU1theU2theTol
Instance methods(4)
Compute bounding box for line segment [theU1, theU2].
Parameters (3)theU1theU2theTol
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)theU1theU2theTol
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)
- constructor(theCurve: Geom_OffsetCurve): GeomBndLib_OffsetCurveParameters (1)
theCurve
Instance methods(5)
Compute bounding box for full curve.
Parameters (1)theTol
Compute bounding box for arc [theU1, theU2].
Parameters (3)theU1theU2theTol
- 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)theU1theU2theTol
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)
- constructor(theCurve: Geom2d_OffsetCurve): GeomBndLib_OffsetCurve2dParameters (1)
theCurve
Instance methods(5)
Compute bounding box for full curve.
Parameters (1)theTol
Compute bounding box for arc [theU1, theU2].
Parameters (3)theU1theU2theTol
- 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)theU1theU2theTol
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)
- Parameters (1)
theSurf
Instance methods(5)
Compute bounding box for full surface.
Parameters (1)theTol
Compute bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].
Parameters (5)theUMintheUMaxtheVMintheVMaxtheTol
- 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)theUMintheUMaxtheVMintheVMaxtheTol
GeomBndLib_OtherCurve
Computes bounding box for a general 3D curve via adaptor. Uses sampling + PSO/Brent numerical optimization for BoxOptimal.
Constructors(1)
- constructor(theCurve: Adaptor3d_Curve): GeomBndLib_OtherCurveParameters (1)
theCurve
Instance methods(4)
Compute bounding box for full curve.
Parameters (1)theTol
Compute bounding box for arc [theU1, theU2].
Parameters (3)theU1theU2theTol
- 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)theU1theU2theTol
GeomBndLib_OtherCurve2d
Computes bounding box for a general 2D curve via adaptor. Uses sampling + PSO/Brent numerical optimization for BoxOptimal.
Constructors(1)
- constructor(theCurve: Adaptor2d_Curve2d): GeomBndLib_OtherCurve2dParameters (1)
theCurve
Instance methods(4)
Compute bounding box for full curve.
Parameters (1)theTol
Compute bounding box for arc [theU1, theU2].
Parameters (3)theU1theU2theTol
- 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)theU1theU2theTol
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)
- constructor(theSurf: Adaptor3d_Surface): GeomBndLib_OtherSurfaceParameters (1)
theSurf
Instance methods(4)
Compute bounding box for full surface.
Parameters (1)theTol
Compute bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].
Parameters (5)theUMintheUMaxtheVMintheVMaxtheTol
- 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)theUMintheUMaxtheVMintheVMaxtheTol
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)
- constructor(theParabola: Geom_Parabola): GeomBndLib_ParabolaParameters (1)
theParabola
Static methods(1)
Compute bounding box for a parabola arc [theU1, theU2] defined by
gp_Parab.Parameters (4)theParabtheU1theU2theTol
Instance methods(4)
Compute bounding box for arc [theU1, theU2].
Parameters (3)theU1theU2theTol
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)theU1theU2theTol
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)
- constructor(theParabola: Geom2d_Parabola): GeomBndLib_Parabola2dParameters (1)
theParabola
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)theParabtheU1theU2theTol
Instance methods(4)
Compute bounding box for arc [theU1, theU2].
Parameters (3)theU1theU2theTol
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)theU1theU2theTol
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)
- constructor(thePlane: Geom_Plane): GeomBndLib_PlaneParameters (1)
thePlane
Instance methods(5)
Compute bounding box for full plane (infinite).
Parameters (1)theTol
Compute bounding box for plane patch [theUMin, theUMax] x [theVMin, theVMax].
Parameters (5)theUMintheUMaxtheVMintheVMaxtheTol
- BoxOptimal(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box
For analytical surfaces, BoxOptimal is same as Box.
Parameters (5)theUMintheUMaxtheVMintheVMaxtheTol
- 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)
- constructor(theSurf: Geom_SphericalSurface): GeomBndLib_SphereParameters (1)
theSurf
Instance methods(5)
Compute bounding box for full sphere.
Parameters (1)theTol
Compute bounding box for sphere patch [theUMin, theUMax] x [theVMin, theVMax].
Parameters (5)theUMintheUMaxtheVMintheVMaxtheTol
- BoxOptimal(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box
For analytical surfaces, BoxOptimal is same as Box.
Parameters (5)theUMintheUMaxtheVMintheVMaxtheTol
- 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)
- constructor(theSurf: Adaptor3d_Surface): GeomBndLib_Surface
Construct from an adaptor surface.
Parameters (1)theSurf
- constructor(theSurf: Geom_Surface): GeomBndLib_Surface
Construct from a
Geom_Surfacehandle.Parameters (1)theSurf
Instance methods(9)
Return detected surface type.
Compute bounding box for full surface.
Parameters (1)theTol
Compute bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].
Parameters (5)theUMintheUMaxtheVMintheVMaxtheTol
- 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)theUMintheUMaxtheVMintheVMaxtheTol
Add bounding box for full surface.
Parameters (2)theToltheBox—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)theUMintheUMaxtheVMintheVMaxtheToltheBox—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)theToltheBox—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)theUMintheUMaxtheVMintheVMaxtheToltheBox—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)
- Parameters (1)
theSurf
Instance methods(5)
Compute bounding box for full surface.
Parameters (1)theTol
Compute bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].
Parameters (5)theUMintheUMaxtheVMintheVMaxtheTol
- BoxOptimal(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box
Compute precise bounding box using tight basis curve bounds.
Parameters (5)theUMintheUMaxtheVMintheVMaxtheTol
- 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)
- Parameters (1)
theSurf
Instance methods(5)
Compute bounding box for full surface.
Parameters (1)theTol
Compute bounding box for surface patch [theUMin, theUMax] x [theVMin, theVMax].
Parameters (5)theUMintheUMaxtheVMintheVMaxtheTol
- BoxOptimal(theUMin: number, theUMax: number, theVMin: number, theVMax: number, theTol: number): Bnd_Box
Compute precise bounding box using tight basis curve bounds.
Parameters (5)theUMintheUMaxtheVMintheVMaxtheTol
- 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)
- constructor(theSurf: Geom_ToroidalSurface): GeomBndLib_TorusParameters (1)
theSurf
Instance methods(5)
Compute bounding box for full torus.
Parameters (1)theTol
Compute bounding box for torus patch [theUMin, theUMax] x [theVMin, theVMax].
Parameters (5)theUMintheUMaxtheVMintheVMaxtheTol
- 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)theUMintheUMaxtheVMintheVMaxtheTol
- BoxOptimal(theTol: number): Bnd_Box
Compute precise bounding box for full torus.
Parameters (1)theTol
Geom2dConvert
OCCT package Geom2dConvert: Geom2dConvert, Geom2dConvert_ApproxArcsSegments, Geom2dConvert_ApproxCurve, Geom2dConvert_BSplineCurveKnotSplitting, and 3…
GeomConvert
OCCT package GeomConvert: GeomConvert, GeomConvert_ApproxCurve, GeomConvert_ApproxSurface, GeomConvert_BSplineCurveKnotSplitting, and 12 more bound classes.