PostGIS  2.1.10dev-r@@SVN_REVISION@@
static char * asx3d3_point ( const LWPOINT point,
char *  srs,
int  precision,
int  opts,
const char *  defid 

Definition at line 129 of file lwout_x3d.c.

References asx3d3_point_buf(), asx3d3_point_size(), and lwalloc().

Referenced by lwgeom_to_x3d3().

130 {
131  char *output;
132  int size;
134  size = asx3d3_point_size(point, srs, precision, opts, defid);
135  output = lwalloc(size);
136  asx3d3_point_buf(point, srs, output, precision, opts, defid);
137  return output;
138 }
static size_t asx3d3_point_buf(const LWPOINT *point, char *srs, char *output, int precision, int opts, const char *defid)
Definition: lwout_x3d.c:108
void * lwalloc(size_t size)
Definition: lwutil.c:175
static size_t asx3d3_point_size(const LWPOINT *point, char *srs, int precision, int opts, const char *defid)
defid is the id of the coordinate can be used to hold other elements DEF='abc' transform='' etc...
Definition: lwout_x3d.c:96

Here is the call graph for this function:

Here is the caller graph for this function: