From: Paul Ramsey Date: Fri, 28 Sep 2012 21:52:51 +0000 (+0000) Subject: Remove no longer used function, lwgeom_pt_inside_circle. X-Git-Tag: 2.1.0beta2~610 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b5174dcf5cf40ccddd271661026e71f73c29977b;p=postgis Remove no longer used function, lwgeom_pt_inside_circle. git-svn-id: http://svn.osgeo.org/postgis/trunk@10341 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/measures.c b/liblwgeom/measures.c index 85d03057a..e7410df6f 100644 --- a/liblwgeom/measures.c +++ b/liblwgeom/measures.c @@ -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, ¢er) < rad ) return 1; - else return 0; - -} - /** * Compute the azimuth of segment AB in radians. * Return 0 on exception (same point), 1 otherwise.