Classes |
struct | point |
Defines |
#define | INSIDE(ix, iy) ( BETW( ix, xmin, xmax ) && BETW( iy, ymin, ymax ) ) |
#define | DTOR ( PI / 180. ) |
#define | BINC 50 |
#define | PL_NBCC 2 |
#define | BETW_NBCC(ix, ia, ib) ( ( ( ix ) <= ( ia + PL_NBCC ) && ( ix ) >= ( ib - PL_NBCC ) ) || ( ( ix ) >= ( ia - PL_NBCC ) && ( ix ) <= ( ib + PL_NBCC ) ) ) |
#define | NEW_NOTPOINTINPOLYGON_CODE |
#define | MAX_RECURSION_DEPTH 10 |
Enumerations |
enum | PL_CrossedStatus {
PL_NOT_CROSSED = 0x1,
PL_NEAR_A1 = 0x2,
PL_NEAR_A2 = 0x4,
PL_NEAR_B1 = 0x8,
PL_NEAR_B2 = 0x10,
PL_NEAR_PARALLEL = 0x20,
PL_PARALLEL = 0x40
} |
Functions |
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, const PLINT *x, const PLINT *y, PLINT xp, PLINT yp) |
static int | circulation (PLINT *x, PLINT *y, PLINT npts) |
static void | fill_intersection_polygon (PLINT recursion_depth, PLINT ifextrapolygon, PLINT fill_status, void(*fill)(short *, short *, PLINT), const PLINT *x1, const PLINT *y1, PLINT i1start, PLINT n1, const PLINT *x2, const PLINT *y2, const PLINT *if2, PLINT n2) |
static int | notcrossed (PLINT *xintersect, PLINT *yintersect, PLINT xA1, PLINT yA1, PLINT xA2, PLINT yA2, PLINT xB1, PLINT yB1, PLINT xB2, PLINT yB2) |
static int | positive_orientation (PLINT n, const PLINT *x, const PLINT *y) |
static int | number_crossings (PLINT *xcross, PLINT *ycross, PLINT *i2cross, PLINT ncross, PLINT i1, PLINT n1, const PLINT *x1, const PLINT *y1, PLINT n2, const PLINT *x2, const PLINT *y2) |
void | c_plfill (PLINT n, const PLFLT *x, const PLFLT *y) |
void | c_plfill3 (PLINT n, const PLFLT *x, const PLFLT *y, const PLFLT *z) |
void | plfill_soft (short *x, short *y, PLINT n) |
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, const PLFLT *x, const PLFLT *y, PLFLT xp, PLFLT yp) |
Variables |
static PLINT | bufferleng |
static PLINT | buffersize |
static PLINT * | buffer |