KiCad PCB EDA Suite
SutherlandHodgman::OutputStage Class Reference

Public Member Functions

 OutputStage ()
 
void SetDestination (pointVector *pDest)
 
void HandleVertex (const PointF &pnt)
 
void Finalize ()
 

Private Attributes

pointVectorm_pDest
 

Detailed Description

Definition at line 238 of file SutherlandHodgmanClipPoly.h.

Constructor & Destructor Documentation

SutherlandHodgman::OutputStage::OutputStage ( )
inline

Definition at line 241 of file SutherlandHodgmanClipPoly.h.

241 : m_pDest( 0 ) { }

Member Function Documentation

void SutherlandHodgman::OutputStage::Finalize ( )
inline

Definition at line 244 of file SutherlandHodgmanClipPoly.h.

244 { } // Do nothing.
void SutherlandHodgman::OutputStage::HandleVertex ( const PointF pnt)
inline

Definition at line 243 of file SutherlandHodgmanClipPoly.h.

References m_pDest.

243 { m_pDest->push_back( pnt ); } // Append the vertex to the output container.
void SutherlandHodgman::OutputStage::SetDestination ( pointVector pDest)
inline

Definition at line 242 of file SutherlandHodgmanClipPoly.h.

References m_pDest.

Referenced by SutherlandHodgman::Clip().

242 { m_pDest = pDest; }

Member Data Documentation

pointVector* SutherlandHodgman::OutputStage::m_pDest
private

Definition at line 246 of file SutherlandHodgmanClipPoly.h.

Referenced by HandleVertex(), and SetDestination().


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