From: Nicklas Avén Date: Fri, 3 Apr 2015 22:31:53 +0000 (+0000) Subject: clean up X-Git-Tag: 2.2.0rc1~562 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=96ea2381370c88f4948ff18cf7cf480edba75ff9;p=postgis clean up git-svn-id: http://svn.osgeo.org/postgis/trunk@13419 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/effectivearea.c b/liblwgeom/effectivearea.c index 703c34efd..f8d301ef7 100644 --- a/liblwgeom/effectivearea.c +++ b/liblwgeom/effectivearea.c @@ -57,19 +57,7 @@ Calculate the area of a triangle in 2d */ static double triarea2d(const double *P1, const double *P2, const double *P3) { -// LWDEBUG(2, "Entered triarea2d"); -/* double ax,bx,ay,by, area; - - ax=P1[0]-P2[0]; - bx=P3[0]-P2[0]; - ay=P1[1]-P2[1]; - by=P3[1]-P2[1]; - - area= fabs(0.5*(ax*by-ay*bx));*/ - return fabs(0.5*((P1[0]-P2[0])*(P3[1]-P2[1])-(P1[1]-P2[1])*(P3[0]-P2[0]))); - - /*return area;*/ } /**