From: Paul Ramsey Date: Fri, 7 Sep 2012 19:54:52 +0000 (+0000) Subject: Fix cunit crash due to lack of proper signature for lwgeom_segmentize_sphere in header. X-Git-Tag: 2.1.0beta2~667 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9501edfd763d6811d8e756be35851b437a26f2ec;p=postgis 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 --- 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. */