PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ asx3d3_point()

static char * asx3d3_point ( const LWPOINT point,
char *  srs,
int  precision,
int  opts,
const char *  defid 

Definition at line 128 of file lwout_x3d.c.

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

Referenced by lwgeom_to_x3d3().

129 {
130  char *output;
131  int size;
133  size = asx3d3_point_size(point, srs, precision, opts, defid);
134  output = lwalloc(size);
135  asx3d3_point_buf(point, srs, output, precision, opts, defid);
136  return output;
137 }
static size_t asx3d3_point_buf(const LWPOINT *point, char *srs, char *output, int precision, int opts, const char *defid)
Definition: lwout_x3d.c:107
uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:199
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:95
Here is the call graph for this function:
Here is the caller graph for this function: