MobilityDB 1.3
Loading...
Searching...
No Matches

◆ intervals_from_polygons()

static void intervals_from_polygons ( const POINT2D a,
const POINT2D b,
Edge **  edges,
int  nedges,
Edge **  all_edges,
int  all_nedges 
)
static

Compute the intersection intervals of a trajectory segment with an array of polygon edges.

For the point_in_polygon ray-casting we must use ALL edges, not only those filtered by the R-tree, otherwise the even-odd containment test breaks