Open CASCADE Technology
6.5.4
|
Computes the bounding box for a curve in 2d .
Functions to add a 2D curve to a bounding box.
The 2D curve is defined from a Geom2d curve.
#include <BndLib_Add2dCurve.hxx>
Static Public Member Functions | |
static DEFINE_STANDARD_ALLOC void | Add (const Adaptor2d_Curve2d &C, const Standard_Real Tol, Bnd_Box2d &B) |
Adds to the bounding box B the curve C B is then enlarged by the tolerance value Tol. Note: depending on the type of curve, one of the following representations of the curve C is used to include it in the bounding box B: | |
static void | Add (const Adaptor2d_Curve2d &C, const Standard_Real U1, const Standard_Real U2, const Standard_Real Tol, Bnd_Box2d &B) |
Adds to the bounding box Bthe arc of the curve C limited by the two parameter values P1 and P2. B is then enlarged by the tolerance value Tol. Note: depending on the type of curve, one of the following representations of the curve C is used to include it in the bounding box B: |
static DEFINE_STANDARD_ALLOC void BndLib_Add2dCurve::Add | ( | const Adaptor2d_Curve2d & | C, |
const Standard_Real | Tol, | ||
Bnd_Box2d & | B | ||
) | [static] |
static void BndLib_Add2dCurve::Add | ( | const Adaptor2d_Curve2d & | C, |
const Standard_Real | U1, | ||
const Standard_Real | U2, | ||
const Standard_Real | Tol, | ||
Bnd_Box2d & | B | ||
) | [static] |