#include <clipper.hpp>
Public Member Functions | |
void | AddPath (const Path &path, JoinType joinType, EndType endType) |
void | AddPaths (const Paths &paths, JoinType joinType, EndType endType) |
void | Clear () |
ClipperOffset (double miterLimit=2.0, double roundPrecision=0.25) | |
void | Execute (Paths &solution, double delta) |
void | Execute (PolyTree &solution, double delta) |
~ClipperOffset () | |
Public Attributes | |
double | ArcTolerance |
double | MiterLimit |
ClipperLib::ClipperOffset::ClipperOffset | ( | double | miterLimit = 2.0 , |
double | roundPrecision = 0.25 |
||
) |
References ArcTolerance, MiterLimit, and ClipperLib::IntPoint::X.
ClipperLib::ClipperOffset::~ClipperOffset | ( | ) |
References Clear().
References ClipperLib::PolyNode::ChildCount(), ClipperLib::PolyNode::Childs, ClipperLib::PolyNode::Contour, ClipperLib::etClosedLine, ClipperLib::etClosedPolygon, ClipperLib::IntPoint::X, and ClipperLib::IntPoint::Y.
Referenced by AddPaths(), AdaptivePath::Adaptive2d::Execute(), AdaptivePath::ClearedArea::ExpandCleared(), and CArea::OffsetWithClipper().
void ClipperLib::ClipperOffset::AddPaths | ( | const Paths & | paths, |
JoinType | joinType, | ||
EndType | endType | ||
) |
References AddPath().
Referenced by AdaptivePath::Adaptive2d::Execute().
void ClipperLib::ClipperOffset::Clear | ( | void | ) |
void ClipperLib::ClipperOffset::Execute | ( | Paths & | solution, |
double | delta | ||
) |
References ClipperLib::ClipperBase::AddPath(), ClipperLib::ClipperBase::AddPaths(), ClipperLib::ctUnion, ClipperLib::Clipper::Execute(), ClipperLib::ClipperBase::GetBounds(), ClipperLib::pftNegative, ClipperLib::pftPositive, ClipperLib::ptSubject, and ClipperLib::Clipper::ReverseSolution().
Referenced by PathScripts.PathJobCmd.CommandJobCreate::Activated(), AdaptivePath::Adaptive2d::Execute(), AdaptivePath::ClearedArea::ExpandCleared(), CArea::OffsetWithClipper(), and PathScripts.PathJobCmd.CommandJobTemplateExport::SaveDialog().
void ClipperLib::ClipperOffset::Execute | ( | PolyTree & | solution, |
double | delta | ||
) |
References ClipperLib::ClipperBase::AddPath(), ClipperLib::ClipperBase::AddPaths(), ClipperLib::PolyNode::ChildCount(), ClipperLib::PolyNode::Childs, ClipperLib::PolyTree::Clear(), ClipperLib::ctUnion, ClipperLib::Clipper::Execute(), ClipperLib::ClipperBase::GetBounds(), ClipperLib::pftNegative, ClipperLib::pftPositive, ClipperLib::ptSubject, and ClipperLib::Clipper::ReverseSolution().
Referenced by PathScripts.PathJobCmd.CommandJobCreate::Activated(), and PathScripts.PathJobCmd.CommandJobTemplateExport::SaveDialog().
double ClipperLib::ClipperOffset::ArcTolerance |
Referenced by ClipperOffset().
double ClipperLib::ClipperOffset::MiterLimit |
Referenced by ClipperOffset().