PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ asx3d3_point()

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

Definition at line 149 of file lwout_x3d.c.

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

Referenced by lwgeom_to_x3d3().

150 {
151  char *output;
152  int size;
153 
154  size = asx3d3_point_size(point, srs, precision, opts, defid);
155  output = lwalloc(size);
156  asx3d3_point_buf(point, srs, output, precision, opts, defid);
157  return output;
158 }
static size_t asx3d3_point_buf(const LWPOINT *point, char *srs, char *output, int precision, int opts, const char *defid)
Definition: lwout_x3d.c:128
uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:229
opts
Definition: ovdump.py:44
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:116
Here is the call graph for this function:
Here is the caller graph for this function: