PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ determineSide()

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

Definition at line 671 of file lwgeom_functions_analytic.c.

672 {
673  return ((seg2->x-seg1->x)*(point->y-seg1->y)-(point->x-seg1->x)*(seg2->y-seg1->y));
674 }
double y
Definition: liblwgeom.h:376
double x
Definition: liblwgeom.h:376

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

Referenced by point_in_ring(), and point_in_ring_rtree().

Here is the caller graph for this function: