Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes
Bnd_B2d Class Reference

#include <Bnd_B2d.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC Bnd_B2d ()
 Bnd_B2d (const gp_XY &theCenter, const gp_XY &theHSize)
Standard_Boolean IsVoid () const
void Clear ()
void Add (const gp_XY &thePnt)
void Add (const gp_Pnt2d &thePnt)
void Add (const Bnd_B2d &theBox)
gp_XY CornerMin () const
gp_XY CornerMax () const
Standard_Real SquareExtent () const
void Enlarge (const Standard_Real theDiff)
Standard_Boolean Limit (const Bnd_B2d &theOtherBox)
Bnd_B2d Transformed (const gp_Trsf2d &theTrsf) const
Standard_Boolean IsOut (const gp_XY &thePnt) const
Standard_Boolean IsOut (const gp_XY &theCenter, const Standard_Real theRadius, const Standard_Boolean isCircleHollow=Standard_False) const
Standard_Boolean IsOut (const Bnd_B2d &theOtherBox) const
Standard_Boolean IsOut (const Bnd_B2d &theOtherBox, const gp_Trsf2d &theTrsf) const
Standard_Boolean IsOut (const gp_Ax2d &theLine) const
Standard_Boolean IsOut (const gp_XY &theP0, const gp_XY &theP1) const
Standard_Boolean IsIn (const Bnd_B2d &theBox) const
Standard_Boolean IsIn (const Bnd_B2d &theBox, const gp_Trsf2d &theTrsf) const
void SetCenter (const gp_XY &theCenter)
void SetHSize (const gp_XY &theHSize)

Protected Attributes

Standard_Real myCenter [2]
Standard_Real myHSize [2]

Constructor & Destructor Documentation

Bnd_B2d::Bnd_B2d ( const gp_XY theCenter,
const gp_XY theHSize 
)

Member Function Documentation

void Bnd_B2d::Add ( const gp_XY thePnt)
void Bnd_B2d::Add ( const Bnd_B2d theBox)
Standard_Boolean Bnd_B2d::IsIn ( const Bnd_B2d theBox,
const gp_Trsf2d theTrsf 
) const
Standard_Boolean Bnd_B2d::IsOut ( const gp_XY theCenter,
const Standard_Real  theRadius,
const Standard_Boolean  isCircleHollow = Standard_False 
) const
Standard_Boolean Bnd_B2d::IsOut ( const Bnd_B2d theOtherBox) const
Standard_Boolean Bnd_B2d::IsOut ( const Bnd_B2d theOtherBox,
const gp_Trsf2d theTrsf 
) const
Standard_Boolean Bnd_B2d::IsOut ( const gp_XY theP0,
const gp_XY theP1 
) const
void Bnd_B2d::SetCenter ( const gp_XY theCenter)
void Bnd_B2d::SetHSize ( const gp_XY theHSize)

Field Documentation


The documentation for this class was generated from the following file: