Open CASCADE Technology  6.9.0
Public Member Functions | Protected Attributes
Bnd_B2d Class Reference

#include <Bnd_B2d.hxx>

Public Member Functions

 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 ( )
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 gp_Pnt2d thePnt)
void Bnd_B2d::Add ( const Bnd_B2d theBox)
void Bnd_B2d::Clear ( )
gp_XY Bnd_B2d::CornerMax ( ) const
gp_XY Bnd_B2d::CornerMin ( ) const
void Bnd_B2d::Enlarge ( const Standard_Real  theDiff)
Standard_Boolean Bnd_B2d::IsIn ( const Bnd_B2d theBox) const
Standard_Boolean Bnd_B2d::IsIn ( const Bnd_B2d theBox,
const gp_Trsf2d theTrsf 
) const
Standard_Boolean Bnd_B2d::IsOut ( const gp_XY thePnt) 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_Ax2d theLine) const
Standard_Boolean Bnd_B2d::IsOut ( const gp_XY theP0,
const gp_XY theP1 
) const
Standard_Boolean Bnd_B2d::IsVoid ( ) const
Standard_Boolean Bnd_B2d::Limit ( const Bnd_B2d theOtherBox)
void Bnd_B2d::SetCenter ( const gp_XY theCenter)
void Bnd_B2d::SetHSize ( const gp_XY theHSize)
Standard_Real Bnd_B2d::SquareExtent ( ) const
Bnd_B2d Bnd_B2d::Transformed ( const gp_Trsf2d theTrsf) const

Field Documentation

Standard_Real Bnd_B2d::myCenter[2]
protected
Standard_Real Bnd_B2d::myHSize[2]
protected

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