PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ determineSide()

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

Definition at line 658 of file lwgeom_functions_analytic.c.

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

Referenced by point_in_ring(), and point_in_ring_rtree().

659 {
660  return ((seg2->x-seg1->x)*(point->y-seg1->y)-(point->x-seg1->x)*(seg2->y-seg1->y));
661 }
double x
Definition: liblwgeom.h:328
double y
Definition: liblwgeom.h:328
Here is the caller graph for this function: