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

defid is the id of the coordinate can be used to hold other elements DEF='abc' transform='' etc.

Definition at line 96 of file lwout_x3d.c.

References LWPOINT::point, and pointArray_X3Dsize().

Referenced by asx3d3_collection_size(), asx3d3_multi_size(), and asx3d3_point().

97 {
98  int size;
99  /* size_t defidlen = strlen(defid); */
100 
101  size = pointArray_X3Dsize(point->point, precision);
102  /* size += ( sizeof("<point><pos>/") + (defidlen*2) ) * 2; */
103  /* if (srs) size += strlen(srs) + sizeof(" srsName=.."); */
104  return size;
105 }
static size_t pointArray_X3Dsize(POINTARRAY *pa, int precision)
Returns maximum size of rendered pointarray in bytes.
Definition: lwout_x3d.c:858
POINTARRAY * point
Definition: liblwgeom.h:367

Here is the call graph for this function:

Here is the caller graph for this function: