OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
mipoly.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _EdgeTableEntry
 
struct  _ScanLineList
 
struct  EdgeTable
 
struct  _ScanLineListBlock
 

Macros

#define CLOCKWISE   1
 
#define COUNTERCLOCKWISE   -1
 
#define SLLSPERBLOCK   25
 
#define NUMPTSTOBUFFER   200
 
#define EVALUATEEDGEWINDING(pAET, pPrevAET, y, fixWAET)
 
#define EVALUATEEDGEEVENODD(pAET, pPrevAET, y)
 

Macro Definition Documentation

◆ CLOCKWISE

#define CLOCKWISE   1

Definition at line 57 of file mipoly.h.

◆ COUNTERCLOCKWISE

#define COUNTERCLOCKWISE   -1

Definition at line 58 of file mipoly.h.

◆ EVALUATEEDGEEVENODD

#define EVALUATEEDGEEVENODD (   pAET,
  pPrevAET,
 
)
Value:
{ \
if (pAET->ymax == y) { /* leaving this edge */ \
pPrevAET->next = pAET->next; \
pAET = pPrevAET->next; \
if (pAET) \
pAET->back = pPrevAET; \
} \
else { \
BRESINCRPGONSTRUCT(pAET->bres); \
pPrevAET = pAET; \
pAET = pAET->next; \
} \
}

Definition at line 137 of file mipoly.h.

◆ EVALUATEEDGEWINDING

#define EVALUATEEDGEWINDING (   pAET,
  pPrevAET,
  y,
  fixWAET 
)
Value:
{ \
if (pAET->ymax == y) { /* leaving this edge */ \
pPrevAET->next = pAET->next; \
pAET = pPrevAET->next; \
fixWAET = 1; \
if (pAET) \
pAET->back = pPrevAET; \
} \
else { \
BRESINCRPGONSTRUCT(pAET->bres); \
pPrevAET = pAET; \
pAET = pAET->next; \
} \
}

Definition at line 114 of file mipoly.h.

◆ NUMPTSTOBUFFER

#define NUMPTSTOBUFFER   200

Definition at line 98 of file mipoly.h.

◆ SLLSPERBLOCK

#define SLLSPERBLOCK   25

Definition at line 87 of file mipoly.h.