PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ determineSide()

static double determineSide ( const POINT2D seg1,
const POINT2D seg2,
const POINT2D point 
)
static

Definition at line 631 of file lwgeom_functions_analytic.c.

632 {
633  return ((seg2->x-seg1->x)*(point->y-seg1->y)-(point->x-seg1->x)*(seg2->y-seg1->y));
634 }
double y
Definition: liblwgeom.h:331
double x
Definition: liblwgeom.h:331

References POINT2D::x, and POINT2D::y.

Referenced by point_in_ring(), and point_in_ring_rtree().

Here is the caller graph for this function: