OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
mipolyutil.c File Reference
#include <stdlib.h>
#include "miscstruct.h"
#include "gc.h"
#include "miscanfill.h"
#include "mipoly.h"
Include dependency graph for mipolyutil.c:

Go to the source code of this file.

Macros

#define MAXINT   0x7fffffff
 
#define MININT   -MAXINT
 

Functions

void miFreeStorage ()
 
Bool miInsertEdgeInET (EdgeTable *ET, EdgeTableEntry *ETE, int scanline, ScanLineListBlock **SLLBlock, int *iSLLBlock)
 
Bool miCreateETandAET (int count, DDXPointPtr pts, EdgeTable *ET, EdgeTableEntry *AET, EdgeTableEntry *pETEs, ScanLineListBlock *pSLLBlock)
 
void miloadAET (EdgeTableEntry *AET, EdgeTableEntry *ETEs)
 
void micomputeWAET (EdgeTableEntry *AET)
 
int miInsertionSort (EdgeTableEntry *AET)
 
void miFreeStorage (ScanLineListBlock *pSLLBlock)
 

Macro Definition Documentation

◆ MAXINT

#define MAXINT   0x7fffffff

Definition at line 33 of file mipolyutil.c.

◆ MININT

#define MININT   -MAXINT

Definition at line 34 of file mipolyutil.c.

Function Documentation

◆ micomputeWAET()

void micomputeWAET ( EdgeTableEntry *  AET)

Definition at line 279 of file mipolyutil.c.

◆ miCreateETandAET()

Bool miCreateETandAET ( int  count,
DDXPointPtr  pts,
EdgeTable ET,
EdgeTableEntry *  AET,
EdgeTableEntry *  pETEs,
ScanLineListBlock *  pSLLBlock 
)

Definition at line 143 of file mipolyutil.c.

◆ miFreeStorage() [1/2]

void miFreeStorage ( )

◆ miFreeStorage() [2/2]

void miFreeStorage ( ScanLineListBlock *  pSLLBlock)

Definition at line 351 of file mipolyutil.c.

◆ miInsertEdgeInET()

Bool miInsertEdgeInET ( EdgeTable ET,
EdgeTableEntry *  ETE,
int  scanline,
ScanLineListBlock **  SLLBlock,
int *  iSLLBlock 
)

Definition at line 56 of file mipolyutil.c.

◆ miInsertionSort()

int miInsertionSort ( EdgeTableEntry *  AET)

Definition at line 316 of file mipolyutil.c.

◆ miloadAET()

void miloadAET ( EdgeTableEntry *  AET,
EdgeTableEntry *  ETEs 
)

Definition at line 233 of file mipolyutil.c.