]> granicus.if.org Git - postgis/commitdiff
clean up
authorNicklas Avén <nicklas.aven@jordogskog.no>
Fri, 3 Apr 2015 22:31:53 +0000 (22:31 +0000)
committerNicklas Avén <nicklas.aven@jordogskog.no>
Fri, 3 Apr 2015 22:31:53 +0000 (22:31 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13419 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/effectivearea.c

index 703c34efd2feb8fa8f009b8eaad71d2d13e29922..f8d301ef7f89620a1fa6ec56263746a65e493045 100644 (file)
@@ -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;*/
 }
 
 /**