From 96ea2381370c88f4948ff18cf7cf480edba75ff9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicklas=20Av=C3=A9n?= Date: Fri, 3 Apr 2015 22:31:53 +0000 Subject: [PATCH] clean up git-svn-id: http://svn.osgeo.org/postgis/trunk@13419 b70326c6-7e19-0410-871a-916f4a2858ee --- liblwgeom/effectivearea.c | 12 ------------ 1 file changed, 12 deletions(-) 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;*/ } /** -- 2.50.1