From 9501edfd763d6811d8e756be35851b437a26f2ec Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Fri, 7 Sep 2012 19:54:52 +0000 Subject: [PATCH] Fix cunit crash due to lack of proper signature for lwgeom_segmentize_sphere in header. git-svn-id: http://svn.osgeo.org/postgis/trunk@10252 b70326c6-7e19-0410-871a-916f4a2858ee --- liblwgeom/liblwgeom.h.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/liblwgeom/liblwgeom.h.in b/liblwgeom/liblwgeom.h.in index afb151a92..9bfc6ceef 100644 --- a/liblwgeom/liblwgeom.h.in +++ b/liblwgeom/liblwgeom.h.in @@ -1377,6 +1377,12 @@ extern double lwgeom_distance_spheroid(const LWGEOM *lwgeom1, const LWGEOM *lwge */ extern LWPOINT* lwgeom_project_spheroid(const LWPOINT *r, const SPHEROID *spheroid, double distance, double azimuth); +/** +* Derive a new geometry with vertices added to ensure no vertex is more +* than max_seg_length (in radians) from any other vertex. +*/ +extern LWGEOM* lwgeom_segmentize_sphere(const LWGEOM *lwg_in, double max_seg_length); + /** * Calculate the bearing between two points on a spheroid. */ -- 2.40.0