AdaptivePath::BoundBox Class Reference
Public Member Functions | |
| void | AddPoint (const IntPoint &pt) |
| BoundBox () | |
| BoundBox (const IntPoint ¢er, 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 | ( | ) |
◆ BoundBox() [2/4]
| AdaptivePath::BoundBox::BoundBox | ( | const IntPoint & | p1 | ) |
References ClipperLib::IntPoint::X, and ClipperLib::IntPoint::Y.
◆ BoundBox() [3/4]
References ClipperLib::IntPoint::X, and ClipperLib::IntPoint::Y.
◆ BoundBox() [4/4]
| AdaptivePath::BoundBox::BoundBox | ( | const IntPoint & | center, |
| long | radius | ||
| ) |
Member Function Documentation
◆ AddPoint()
| void AdaptivePath::BoundBox::AddPoint | ( | const IntPoint & | pt | ) |
References ClipperLib::IntPoint::X, and ClipperLib::IntPoint::Y.
Referenced by AdaptivePath::IntersectionPoint().
◆ CollidesWith()
References maxX, maxY, minX, and minY.
Referenced by AdaptivePath::ClearedArea::GetBoundedClearedPaths(), AdaptivePath::IntersectionPoint(), and AdaptivePath::Line2CircleIntersect().
◆ Contains()
◆ SetFirstPoint()
| void AdaptivePath::BoundBox::SetFirstPoint | ( | const IntPoint & | p1 | ) |
References ClipperLib::IntPoint::X, and ClipperLib::IntPoint::Y.
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 |
Referenced by CollidesWith(), and Contains().
◆ minY
| ClipperLib::cInt AdaptivePath::BoundBox::minY |
Referenced by CollidesWith(), and Contains().
The documentation for this class was generated from the following file:
- src/Mod/Path/libarea/Adaptive.cpp
1.8.17