]> granicus.if.org Git - postgis/commitdiff
Fix cunit crash due to lack of proper signature for lwgeom_segmentize_sphere in header.
authorPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 7 Sep 2012 19:54:52 +0000 (19:54 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 7 Sep 2012 19:54:52 +0000 (19:54 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10252 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/liblwgeom.h.in

index afb151a9253848fa035a4e5330c2a6f6e14c4977..9bfc6ceef338585cd8907877c5ec9c093a3c15e7 100644 (file)
@@ -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.
 */