From b5174dcf5cf40ccddd271661026e71f73c29977b Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Fri, 28 Sep 2012 21:52:51 +0000 Subject: [PATCH] Remove no longer used function, lwgeom_pt_inside_circle. git-svn-id: http://svn.osgeo.org/postgis/trunk@10341 b70326c6-7e19-0410-871a-916f4a2858ee --- liblwgeom/measures.c | 14 -------------- 1 file changed, 14 deletions(-) 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. -- 2.40.0