WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
GridPoint.h
1#ifndef _WINC_GRIDPOINT
2#define _WINC_GRIDPOINT
3
4namespace WXP {
5 struct GridPoint { /* Coordinate data structure */
6 float gx, gy;
7
8 int init();
9 GridPoint();
10 GridPoint( float gx, float gy );
11 int set( float gx, float gy );
12 int set( GridPoint gpt );
13 int offset( float gx, float gy );
15 inline float getGX(){ return gx; };
17 inline float getGY(){ return gy; };
18 int print();
19 };
20}
21#endif
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct defines basic gridpoint values.
Definition GridPoint.h:5
int offset(float gx, float gy)
Definition GridPoint.cc:66
int print()
Definition GridPoint.cc:75
float getGY()
Definition GridPoint.h:17
float getGX()
Definition GridPoint.h:15
int set(float gx, float gy)
Definition GridPoint.cc:46
int init()
Definition GridPoint.cc:18
GridPoint()
Definition GridPoint.cc:27