From: Sandro Santilli Date: Tue, 28 Oct 2003 11:16:46 +0000 (+0000) Subject: Added postgis_algo.c prototypes X-Git-Tag: pgis_0_8_0~48 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d0c8a7f3cc999f9551270f372011ca146000faea;p=postgis Added postgis_algo.c prototypes git-svn-id: http://svn.osgeo.org/postgis/trunk@334 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/postgis.h b/postgis.h index 51f9d1159..2f9a5c44d 100644 --- a/postgis.h +++ b/postgis.h @@ -11,6 +11,9 @@ * ********************************************************************** * $Log$ + * Revision 1.35 2003/10/28 11:16:46 strk + * Added postgis_algo.c prototypes + * * Revision 1.34 2003/10/16 16:35:42 dblasby * added #include for people using freeBSD (strk@keybit.net patch) * @@ -439,6 +442,11 @@ GEOMETRY *makeNullGeometry(int SRID); void compressType(GEOMETRY *g); +void DP_findsplit(POINT3D *, int, int, int, int *, double *); +void DP_simplify(POINT3D *, int, POINT3D **, int *, double); +char *simplify_line3d(LINE3D *, double); +char *simplify_polygon3d(POLYGON3D *, double); +char *simplify_point3d(POINT3D *, double); //exposed to psql @@ -605,6 +613,7 @@ Datum geometry_from_text_line(PG_FUNCTION_ARGS); Datum geometry_from_text_mline(PG_FUNCTION_ARGS); Datum geometry_from_text_gc(PG_FUNCTION_ARGS); Datum isempty(PG_FUNCTION_ARGS); +Datum simplify(PG_FUNCTION_ARGS); /*-------------------------------------------------------------------- * Useful floating point utilities and constants.