Advanced Strategic Command
Public Member Functions | Protected Member Functions | List of all members
PolygonPainterSquareCoordinate Class Referenceabstract

#include <mappolygons.h>

Inheritance diagram for PolygonPainterSquareCoordinate:
Inheritance graph

Public Member Functions

void setspecificpoint (int x, int y)
bool paintPolygon (const Poly_gon &poly)

Protected Member Functions

virtual void setpoint (int x, int y)
virtual void setpointabs (int x, int y)=0
- Protected Member Functions inherited from PolygonPainter< Poly_gon >
virtual void sortpolygon (Poly_gon &a)
virtual void painttriangle (typename Poly_gon::Point p[])
virtual void painthorizline (int x1, int x2, int y)
virtual void paintline (int x1, int y1, int x2, int y2)
virtual int getpolydir (const Poly_gon &a)
virtual double getsegmentdir (int dx, int dy)
virtual bool checkpolygon (const Poly_gon &poly)
 returns true if polygon correct More...
virtual bool checkline (typename Poly_gon::Point a, typename Poly_gon::Point b, typename Poly_gon::Point d, typename Poly_gon::Point e)
 returns true if lines a-b and c-d don't intersect More...
virtual ~PolygonPainter ()
bool paintPolygon (const Poly_gon &poly)

Detailed Description

Definition at line 46 of file mappolygons.h.

Member Function Documentation

bool PolygonPainterSquareCoordinate::paintPolygon ( const Poly_gon poly)
void PolygonPainterSquareCoordinate::setpoint ( int  x,
int  y 

Implements PolygonPainter< Poly_gon >.

Definition at line 36 of file mappolygons.cpp.

References setpointabs().

virtual void PolygonPainterSquareCoordinate::setpointabs ( int  x,
int  y 
protectedpure virtual

Implemented in ShowPolygonUsingTemps, and FieldAddressing.

Referenced by setpoint(), and setspecificpoint().

void PolygonPainterSquareCoordinate::setspecificpoint ( int  x,
int  y 

Definition at line 51 of file mappolygons.h.

References setpointabs().

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