AdaptivePath::EngagePoint Class Reference
Classes | |
struct | EngageState |
Public Member Functions | |
EngagePoint (const Paths &p_toolBoundPaths) | |
DoublePoint | getCurrentDir () |
IntPoint | getCurrentPoint () |
EngageState | GetState () |
bool | moveForward (double distance) |
void | moveToClosestPoint (const IntPoint &pt, double step) |
bool | nextEngagePoint (Adaptive2d *parent, ClearedArea &clearedArea, double step, double minCutArea, double maxCutArea, int maxPases=2) |
bool | nextPath () |
void | ResetPasses () |
void | SetPaths (const Paths &paths) |
void | SetState (const EngageState &new_state) |
Constructor & Destructor Documentation
◆ EngagePoint()
AdaptivePath::EngagePoint::EngagePoint | ( | const Paths & | p_toolBoundPaths | ) |
Member Function Documentation
◆ getCurrentDir()
DoublePoint AdaptivePath::EngagePoint::getCurrentDir | ( | ) |
References AdaptivePath::DistanceSqrd(), ClipperLib::IntPoint::X, and ClipperLib::IntPoint::Y.
◆ getCurrentPoint()
IntPoint AdaptivePath::EngagePoint::getCurrentPoint | ( | ) |
References AdaptivePath::DistanceSqrd(), ClipperLib::IntPoint::X, and ClipperLib::IntPoint::Y.
◆ GetState()
EngageState AdaptivePath::EngagePoint::GetState | ( | ) |
◆ moveForward()
bool AdaptivePath::EngagePoint::moveForward | ( | double | distance | ) |
◆ moveToClosestPoint()
void AdaptivePath::EngagePoint::moveToClosestPoint | ( | const IntPoint & | pt, |
double | step | ||
) |
References AdaptivePath::DistanceSqrd(), and AdaptivePath::PopPathWithClosestPoint().
◆ nextEngagePoint()
bool AdaptivePath::EngagePoint::nextEngagePoint | ( | Adaptive2d * | parent, |
ClearedArea & | clearedArea, | ||
double | step, | ||
double | minCutArea, | ||
double | maxCutArea, | ||
int | maxPases = 2 |
||
) |
◆ nextPath()
bool AdaptivePath::EngagePoint::nextPath | ( | ) |
◆ ResetPasses()
void AdaptivePath::EngagePoint::ResetPasses | ( | ) |
◆ SetPaths()
void AdaptivePath::EngagePoint::SetPaths | ( | const Paths & | paths | ) |
◆ SetState()
void AdaptivePath::EngagePoint::SetState | ( | const EngageState & | new_state | ) |
The documentation for this class was generated from the following file:
- src/Mod/Path/libarea/Adaptive.cpp