SRGCoordinate Class

class SRGCoordinate

Manages a single floating point coordinate pair -- used for scaleable polygons

Defined in: SRGCPly.h

Class Members

public data members

float  x

X coordinate

float  y

Y coordinate

public member functions

inline  SRGCoordinate()

Initializing constructor -- sets X and Y to 0

virtual  ~SRGCoordinate()

Destructor

virtual void  SetX(float f)

Sets the floating point X coordinate

virtual void  SetX(double f)

Sets the floating point X coordinate

virtual void  SetX(int f)

Sets the floating point X coordinate

virtual float  GetX()

Returns the floating point X coordinate

virtual void  SetY(float f)

Sets the floating point Y coordinate

virtual void  SetY(double f)

Sets the floating point Y coordinate

virtual void  SetY(int f)

Sets the floating point Y coordinate

virtual float  GetY()

Returns the floating point Y coordinate