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


Detailed Description

Definition at line 238 of file SutherlandHodgmanClipPoly.h.

Constructor & Destructor Documentation

◆ OutputStage()

SutherlandHodgman::OutputStage::OutputStage ( )

Definition at line 241 of file SutherlandHodgmanClipPoly.h.

Member Function Documentation

◆ Finalize()

void SutherlandHodgman::OutputStage::Finalize ( )

Definition at line 244 of file SutherlandHodgmanClipPoly.h.

244 { } // Do nothing.

◆ HandleVertex()

void SutherlandHodgman::OutputStage::HandleVertex ( const PointF pnt)

Definition at line 243 of file SutherlandHodgmanClipPoly.h.

243 { m_pDest->push_back( pnt ); } // Append the vertex to the output container.

References m_pDest.

◆ SetDestination()

void SutherlandHodgman::OutputStage::SetDestination ( pointVector pDest)

Definition at line 242 of file SutherlandHodgmanClipPoly.h.

242 { m_pDest = pDest; }

References m_pDest.

Referenced by SutherlandHodgman::Clip().

Member Data Documentation

◆ m_pDest

pointVector* SutherlandHodgman::OutputStage::m_pDest

Definition at line 246 of file SutherlandHodgmanClipPoly.h.

Referenced by HandleVertex(), and SetDestination().

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