PostGIS  2.5.7dev-r@@SVN_REVISION@@
lwout_x3d.c File Reference
#include "lwout_x3d.h"
Include dependency graph for lwout_x3d.c:

Go to the source code of this file.

Functions

char * lwgeom_to_x3d3 (const LWGEOM *geom, char *srs, int precision, int opts, const char *defid)
 
static int lwgeom_to_x3d3_sb (const LWGEOM *geom, char *srs, int precision, int opts, const char *defid, stringbuffer_t *sb)
 
static int asx3d3_point_sb (const LWPOINT *point, __attribute__((__unused__)) char *srs, int precision, int opts, __attribute__((__unused__)) const char *defid, stringbuffer_t *sb)
 
static int asx3d3_line_coords_sb (const LWLINE *line, int precision, int opts, stringbuffer_t *sb)
 
static int asx3d3_mline_coordindex_sb (const LWMLINE *mgeom, stringbuffer_t *sb)
 
static int asx3d3_mpoly_coordindex_sb (const LWMPOLY *psur, stringbuffer_t *sb)
 
static int asx3d3_line_sb (const LWLINE *line, __attribute__((__unused__)) char *srs, int precision, int opts, __attribute__((__unused__)) const char *defid, stringbuffer_t *sb)
 Return the linestring as an X3D LineSet. More...
 
static int asx3d3_poly_sb (const LWPOLY *poly, __attribute__((__unused__)) char *srs, int precision, int opts, __attribute__((__unused__)) int is_patch, __attribute__((__unused__)) const char *defid, stringbuffer_t *sb)
 Compute the X3D coordinates of the polygon and add to string buffer. More...
 
static int asx3d3_triangle_sb (const LWTRIANGLE *triangle, __attribute__((__unused__)) char *srs, int precision, int opts, __attribute__((__unused__)) const char *defid, stringbuffer_t *sb)
 
static int asx3d3_multi_sb (const LWCOLLECTION *col, __attribute__((__unused__)) char *srs, int precision, int opts, const char *defid, stringbuffer_t *sb)
 
static int asx3d3_psurface_sb (const LWPSURFACE *psur, char *srs, int precision, int opts, const char *defid, stringbuffer_t *sb)
 
static int asx3d3_tin_sb (const LWTIN *tin, __attribute__((__unused__)) char *srs, int precision, int opts, const char *defid, stringbuffer_t *sb)
 
static int asx3d3_collection_sb (const LWCOLLECTION *col, char *srs, int precision, int opts, const char *defid, stringbuffer_t *sb)
 
static int ptarray_to_x3d3_sb (POINTARRAY *pa, int precision, int opts, int is_closed, stringbuffer_t *sb)
 In X3D3, coordinates are separated by a space separator. More...