34 #define RAL_POINT_IN_RECTANGLE(p,r) \
35 (((p).x >= (r).min.x) AND ((p).x <= (r).max.x) AND \
36 ((p).y >= (r).min.y) AND ((p).y <= (r).max.y))
38 #define RAL_RECTANGLES_OVERLAP(r1, r2) \
39 (!((r1.max.x < r2.min.x) OR \
40 (r1.min.y > r2.max.y) OR \
41 (r1.min.x > r2.max.x) OR \
42 (r1.max.y < r2.min.y)))
54 int RAL_CALL ral_polygon_init(
ral_polygon p,
int n);
62 #define RAL_CONCAVE -1
94 void RAL_CALL ral_delete_scanline(
double **x);
104 OGRwkbGeometryType *part_types;
105 OGRwkbGeometryType type;
125 void RAL_CALL ral_layer_destroy(
ral_layer **l);
int RAL_CALL ral_scanline_at(ral_active_edge_table *aet_list, int n, double y, double **x, int *nx)
ral_active_edge_table_handle RAL_CALL ral_get_active_edge_tables(ral_polygon *p, int n)
two points: begin and end
an array of points (nodes)
an array of points, which represent a simple geometry
for rendering a polygon with holes
two points: SW and NE corners