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

Definition at line 857 of file lwgeom_functions_analytic.c.

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

Referenced by point_in_ring(), and point_in_ring_rtree().

858 {
859  return ((seg2->x-seg1->x)*(point->y-seg1->y)-(point->x-seg1->x)*(seg2->y-seg1->y));
860 }
double x
Definition: liblwgeom.h:284
double y
Definition: liblwgeom.h:284

Here is the caller graph for this function: