]> granicus.if.org Git - postgis/commitdiff
Remove no longer used function, lwgeom_pt_inside_circle.
authorPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 28 Sep 2012 21:52:51 +0000 (21:52 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 28 Sep 2012 21:52:51 +0000 (21:52 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10341 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/measures.c

index 85d03057a5b3057d81c05b2fc87b6d0fdbe81137..e7410df6f4b4d4faf5d09bd78e43ab97fb978e50 100644 (file)
@@ -1957,20 +1957,6 @@ distance2d_pt_seg(const POINT2D *p, const POINT2D *A, const POINT2D *B)
 }
 
 
-
-int
-lwgeom_pt_inside_circle(POINT2D *p, double cx, double cy, double rad)
-{
-       POINT2D center;
-
-       center.x = cx;
-       center.y = cy;
-
-       if ( distance2d_pt_pt(p, &center) < rad ) return 1;
-       else return 0;
-
-}
-
 /**
  * Compute the azimuth of segment AB in radians.
  * Return 0 on exception (same point), 1 otherwise.