awips2/ncep/gov.noaa.nws.ncep.viz.rsc.ncgrid/dgdriv_c/scnfll.h
Brad Gonzales 632020195a Issue #628 committing PGEN code received from Plummer on 4-19-2012.
Former-commit-id: fda897d2d0 [formerly 253e8bc948] [formerly fda897d2d0 [formerly 253e8bc948] [formerly 295cbf95e5 [formerly 0816cd253c86acc699cb90866131619c4679f631]]]
Former-commit-id: 295cbf95e5
Former-commit-id: 2a3bf4ec32 [formerly ae3d17c698]
Former-commit-id: a610dcde73
2012-05-10 16:50:45 -05:00

37 lines
1.2 KiB
C
Executable file

/************************************************************************
* SCNFLL.H *
* *
* This header file declares the variables used in scan converting *
* filled polygons. *
* *
** *
* Log: *
* E. Wehner/EAI 6/96 *
***********************************************************************/
#define MAX_X 1728
#define MAX_Y 2400
#define MAX_YSZ 5000
#define MaxScreenY 2500 /* reset once integrated to Ysize */
#define MAX_POINTS 100 /* number of points allowed */
#define MAX_3D_POLYVERTS 4 /* man number verts in 3d figure */
#define MAX_POLYS_3D 10 /* max number of polygons in the 3d figure */
/* two dimensional point record. */
typedef struct dcpt2
{
int x;
int y;
}dcPt2, dcPts2[MAX_POINTS];
/* edge table record */
typedef struct edgerec
{
int yUpper;
float xIntersect;
float dxPerScan;
struct edgerec * next;
} edgeRec, *edgePtr;