Go to the source code of this file.
|
static int | compar (const void *, const void *) |
|
static void | addcoord (PLINT, PLINT) |
|
static void | tran (PLINT *, PLINT *, PLFLT, PLFLT) |
|
static void | buildlist (PLINT, PLINT, PLINT, PLINT, PLINT, PLINT, PLINT) |
|
static int | notpointinpolygon (PLINT n, PLINT_VECTOR x, PLINT_VECTOR y, PLINT xp, PLINT yp) |
|
static int | circulation (PLINT *x, PLINT *y, PLINT npts) |
|
static int | notcrossed (PLINT *xintersect, PLINT *yintersect, PLINT xA1, PLINT yA1, PLINT xA2, PLINT yA2, PLINT xB1, PLINT yB1, PLINT xB2, PLINT yB2) |
|
void | c_plfill (PLINT n, PLFLT_VECTOR x, PLFLT_VECTOR y) |
|
void | c_plfill3 (PLINT n, PLFLT_VECTOR x, PLFLT_VECTOR y, PLFLT_VECTOR z) |
|
void | plfill_soft (short *x, short *y, PLINT n) |
|
void | buildlist (PLINT xp1, PLINT yp1, PLINT xp2, PLINT yp2, PLINT PL_UNUSED(xp3), PLINT yp3, PLINT dinc) |
|
void | plP_plfclp (PLINT *x, PLINT *y, PLINT npts, PLINT xmin, PLINT xmax, PLINT ymin, PLINT ymax, void(*draw)(short *, short *, PLINT)) |
|
int | plP_pointinpolygon (PLINT n, PLFLT_VECTOR x, PLFLT_VECTOR y, PLFLT xp, PLFLT yp) |
|
#define BETW_NBCC |
( |
|
ix, |
|
|
|
ia, |
|
|
|
ib |
|
) |
| ( ( ( ix ) <= ( ia + PL_NBCC ) && ( ix ) >= ( ib - PL_NBCC ) ) || ( ( ix ) >= ( ia - PL_NBCC ) && ( ix ) <= ( ib + PL_NBCC ) ) ) |
#define DTOR ( PI / 180. ) |
#define INSIDE |
( |
|
ix, |
|
|
|
iy |
|
) |
| ( BETW( ix, xmin, xmax ) && BETW( iy, ymin, ymax ) ) |
#define MAX_RECURSION_DEPTH 10 |
#define NEW_NOTPOINTINPOLYGON_CODE |
Enumerator |
---|
PL_NOT_CROSSED |
|
PL_NEAR_A1 |
|
PL_NEAR_A2 |
|
PL_NEAR_B1 |
|
PL_NEAR_B2 |
|
PL_NEAR_PARALLEL |
|
PL_PARALLEL |
|
Definition at line 59 of file plfill.c.
int compar |
( |
const void * |
pnum1, |
|
|
const void * |
pnum2 |
|
) |
| |
|
static |
void plfill_soft |
( |
short * |
x, |
|
|
short * |
y, |
|
|
PLINT |
n |
|
) |
| |