Definition at line 361 of file lwout_x3d.c.
362{
363 uint32_t i;
364 uint32_t j;
365 uint32_t k;
366 uint32_t np;
368
369
371
372 j = 0;
373 for (i=0; i<psur->
ngeoms; i++)
374 {
377 for (k=0; k < np ; k++)
378 {
379 if (k)
380 {
382 }
384 }
385 if (i < (psur->
ngeoms - 1) )
386 {
388 }
389 j += k;
390 }
391
394 ( (opts &
LW_X3D_FLIP_XY) ?
"latitude_first" :
"longitude_first") );
396
397 for (i=0; i<psur->
ngeoms; i++)
398 {
400 if (i < (psur->
ngeoms - 1) )
401 {
403 }
404 }
405
406
408}
#define LW_X3D_FLIP_XY
Macros for specifying X3D options.
#define X3D_USE_GEOCOORDS(x)
static int asx3d3_poly_sb(const LWPOLY *poly, 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.
int stringbuffer_aprintf(stringbuffer_t *s, const char *fmt,...)
Appends a formatted string to the current string buffer, using the format and argument list provided.
References asx3d3_poly_sb(), LWPSURFACE::geoms, LW_X3D_FLIP_XY, LWPSURFACE::ngeoms, POINTARRAY::npoints, precision, LWPOLY::rings, stringbuffer_aprintf(), and X3D_USE_GEOCOORDS.
Referenced by asx3d3_collection_sb(), and lwgeom_to_x3d3_sb().