PostGIS  2.2.7dev-r@@SVN_REVISION@@
double determineSide ( POINT2D seg1,
POINT2D seg2,
POINT2D point 
)

Definition at line 627 of file lwgeom_functions_analytic.c.

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

Referenced by point_in_ring(), and point_in_ring_rtree().

628 {
629  return ((seg2->x-seg1->x)*(point->y-seg1->y)-(point->x-seg1->x)*(seg2->y-seg1->y));
630 }
double x
Definition: liblwgeom.h:312
double y
Definition: liblwgeom.h:312

Here is the caller graph for this function: