PostGIS  3.0.0dev-r@@SVN_REVISION@@

◆ determineSide()

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

Definition at line 628 of file lwgeom_functions_analytic.c.

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

Referenced by point_in_ring(), and point_in_ring_rtree().

629 {
630  return ((seg2->x-seg1->x)*(point->y-seg1->y)-(point->x-seg1->x)*(seg2->y-seg1->y));
631 }
double x
Definition: liblwgeom.h:330
double y
Definition: liblwgeom.h:330
Here is the caller graph for this function: