PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ determineSide()

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

Definition at line 649 of file lwgeom_functions_analytic.c.

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

Referenced by point_in_ring(), and point_in_ring_rtree().

650 {
651  return ((seg2->x-seg1->x)*(point->y-seg1->y)-(point->x-seg1->x)*(seg2->y-seg1->y));
652 }
double x
Definition: liblwgeom.h:327
double y
Definition: liblwgeom.h:327
Here is the caller graph for this function: