#include <clipper.hpp>
Public Member Functions | |
| Clipper (int initOptions=0) | |
| bool | Execute (ClipType clipType, Paths &solution, PolyFillType subjFillType=pftEvenOdd, PolyFillType clipFillType=pftEvenOdd) |
| bool | Execute (ClipType clipType, PolyTree &polytree, PolyFillType subjFillType=pftEvenOdd, PolyFillType clipFillType=pftEvenOdd) |
| bool | ReverseSolution () |
| void | ReverseSolution (bool value) |
| bool | StrictlySimple () |
| void | StrictlySimple (bool value) |
| ~Clipper () | |
Public Member Functions inherited from ClipperLib::ClipperBase | |
| bool | AddPath (const Path &pg, PolyType PolyTyp, bool Closed) |
| bool | AddPaths (const Paths &ppg, PolyType PolyTyp, bool Closed) |
| virtual void | Clear () |
| ClipperBase () | |
| IntRect | GetBounds () |
| bool | PreserveCollinear () |
| void | PreserveCollinear (bool value) |
| virtual | ~ClipperBase () |
Protected Member Functions | |
| virtual bool | ExecuteInternal () |
| void | Reset () |
Protected Member Functions inherited from ClipperLib::ClipperBase | |
| TEdge * | AddBoundsToLML (TEdge *e, bool IsClosed) |
| void | AscendToMax (TEdge *&E, bool Appending, bool IsClosed) |
| TEdge * | DescendToMin (TEdge *&E) |
| void | DisposeLocalMinimaList () |
| void | DoMinimaLML (TEdge *E1, TEdge *E2, bool IsClosed) |
| void | PopLocalMinima () |
| TEdge * | ProcessBound (TEdge *E, bool IsClockwise) |
| virtual void | Reset () |
Additional Inherited Members | |
Protected Types inherited from ClipperLib::ClipperBase | |
| typedef std::vector< LocalMinimum > | MinimaList |
Protected Attributes inherited from ClipperLib::ClipperBase | |
| MinimaList::iterator | m_CurrentLM |
| EdgeList | m_edges |
| bool | m_HasOpenPaths |
| MinimaList | m_MinimaList |
| bool | m_PreserveCollinear |
| bool | m_UseFullRange |
| ClipperLib::Clipper::Clipper | ( | int | initOptions = 0 | ) |
| ClipperLib::Clipper::~Clipper | ( | ) |
References ClipperLib::ClipperBase::Clear().
| bool ClipperLib::Clipper::Execute | ( | ClipType | clipType, |
| Paths & | solution, | ||
| PolyFillType | subjFillType = pftEvenOdd, |
||
| PolyFillType | clipFillType = pftEvenOdd |
||
| ) |
References ExecuteInternal(), and ClipperLib::ClipperBase::m_HasOpenPaths.
Referenced by PathScripts.PathJobCmd.CommandJobCreate::Activated(), AdaptivePath::Adaptive2d::Execute(), ClipperLib::ClipperOffset::Execute(), AdaptivePath::ClearedArea::ExpandCleared(), AdaptivePath::ClearedArea::GetBoundedClearedAreaClipped(), and PathScripts.PathJobCmd.CommandJobTemplateExport::SaveDialog().
| bool ClipperLib::Clipper::Execute | ( | ClipType | clipType, |
| PolyTree & | polytree, | ||
| PolyFillType | subjFillType = pftEvenOdd, |
||
| PolyFillType | clipFillType = pftEvenOdd |
||
| ) |
References ExecuteInternal().
Referenced by PathScripts.PathJobCmd.CommandJobCreate::Activated(), and PathScripts.PathJobCmd.CommandJobTemplateExport::SaveDialog().
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from ClipperLib::ClipperBase.
References ClipperLib::ClipperBase::m_MinimaList, and ClipperLib::ClipperBase::Reset().
Referenced by ExecuteInternal().
| bool ClipperLib::Clipper::ReverseSolution | ( | ) |
Referenced by ClipperLib::ClipperOffset::Execute().
| void ClipperLib::Clipper::ReverseSolution | ( | bool | value | ) |
| bool ClipperLib::Clipper::StrictlySimple | ( | ) |
| void ClipperLib::Clipper::StrictlySimple | ( | bool | value | ) |