ClipperLib::ClipperBase Class Reference

#include <clipper.hpp>

Public Member Functions

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 Types

typedef std::vector< LocalMinimumMinimaList
 

Protected Member Functions

TEdgeAddBoundsToLML (TEdge *e, bool IsClosed)
 
void AscendToMax (TEdge *&E, bool Appending, bool IsClosed)
 
TEdgeDescendToMin (TEdge *&E)
 
void DisposeLocalMinimaList ()
 
void DoMinimaLML (TEdge *E1, TEdge *E2, bool IsClosed)
 
void PopLocalMinima ()
 
TEdgeProcessBound (TEdge *E, bool IsClockwise)
 
virtual void Reset ()
 

Protected Attributes

MinimaList::iterator m_CurrentLM
 
EdgeList m_edges
 
bool m_HasOpenPaths
 
MinimaList m_MinimaList
 
bool m_PreserveCollinear
 
bool m_UseFullRange
 

Member Typedef Documentation

◆ MinimaList

typedef std::vector<LocalMinimum> ClipperLib::ClipperBase::MinimaList
protected

Constructor & Destructor Documentation

◆ ClipperBase()

ClipperLib::ClipperBase::ClipperBase ( )

◆ ~ClipperBase()

ClipperLib::ClipperBase::~ClipperBase ( )
virtual

References Clear().

Member Function Documentation

◆ AddBoundsToLML()

TEdge * ClipperLib::ClipperBase::AddBoundsToLML ( TEdge e,
bool  IsClosed 
)
protected

◆ AddPath()

◆ AddPaths()

◆ AscendToMax()

void ClipperLib::ClipperBase::AscendToMax ( TEdge *&  E,
bool  Appending,
bool  IsClosed 
)
protected

◆ Clear()

◆ DescendToMin()

TEdge * ClipperLib::ClipperBase::DescendToMin ( TEdge *&  E)
protected

◆ DisposeLocalMinimaList()

void ClipperLib::ClipperBase::DisposeLocalMinimaList ( )
protected

References m_CurrentLM, and m_MinimaList.

Referenced by Clear().

◆ DoMinimaLML()

void ClipperLib::ClipperBase::DoMinimaLML ( TEdge E1,
TEdge E2,
bool  IsClosed 
)
protected

◆ GetBounds()

IntRect ClipperLib::ClipperBase::GetBounds ( )

◆ PopLocalMinima()

void ClipperLib::ClipperBase::PopLocalMinima ( )
protected

References m_CurrentLM, and m_MinimaList.

◆ PreserveCollinear() [1/2]

bool ClipperLib::ClipperBase::PreserveCollinear ( )

References m_PreserveCollinear.

◆ PreserveCollinear() [2/2]

void ClipperLib::ClipperBase::PreserveCollinear ( bool  value)

References m_PreserveCollinear.

◆ ProcessBound()

◆ Reset()

void ClipperLib::ClipperBase::Reset ( )
protectedvirtual

Member Data Documentation

◆ m_CurrentLM

MinimaList::iterator ClipperLib::ClipperBase::m_CurrentLM
protected

◆ m_edges

EdgeList ClipperLib::ClipperBase::m_edges
protected

Referenced by AddPath(), and Clear().

◆ m_HasOpenPaths

bool ClipperLib::ClipperBase::m_HasOpenPaths
protected

◆ m_MinimaList

◆ m_PreserveCollinear

bool ClipperLib::ClipperBase::m_PreserveCollinear
protected

◆ m_UseFullRange

bool ClipperLib::ClipperBase::m_UseFullRange
protected

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