AdaptivePath::BoundBox Class Reference

Public Member Functions

void AddPoint (const IntPoint &pt)
 
 BoundBox ()
 
 BoundBox (const IntPoint &center, long radius)
 
 BoundBox (const IntPoint &p1)
 
 BoundBox (const IntPoint &p1, const IntPoint &p2)
 
bool CollidesWith (const BoundBox &bb2)
 
bool Contains (const BoundBox &bb2)
 
void SetFirstPoint (const IntPoint &p1)
 

Public Attributes

ClipperLib::cInt maxX
 
ClipperLib::cInt maxY
 
ClipperLib::cInt minX
 
ClipperLib::cInt minY
 

Constructor & Destructor Documentation

◆ BoundBox() [1/4]

AdaptivePath::BoundBox::BoundBox ( )

References minX.

◆ BoundBox() [2/4]

AdaptivePath::BoundBox::BoundBox ( const IntPoint p1)

◆ BoundBox() [3/4]

AdaptivePath::BoundBox::BoundBox ( const IntPoint p1,
const IntPoint p2 
)

◆ BoundBox() [4/4]

AdaptivePath::BoundBox::BoundBox ( const IntPoint center,
long  radius 
)

References minX.

Member Function Documentation

◆ AddPoint()

◆ CollidesWith()

bool AdaptivePath::BoundBox::CollidesWith ( const BoundBox bb2)

◆ Contains()

bool AdaptivePath::BoundBox::Contains ( const BoundBox bb2)

◆ SetFirstPoint()

Member Data Documentation

◆ maxX

ClipperLib::cInt AdaptivePath::BoundBox::maxX

Referenced by CollidesWith(), and Contains().

◆ maxY

ClipperLib::cInt AdaptivePath::BoundBox::maxY

Referenced by CollidesWith(), and Contains().

◆ minX

ClipperLib::cInt AdaptivePath::BoundBox::minX

◆ minY

ClipperLib::cInt AdaptivePath::BoundBox::minY

Referenced by CollidesWith(), and Contains().


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