Fill in triangle index
Definition at line 402 of file lwout_x3d.c.
403{
404 uint32_t i;
405 uint32_t k;
406
407
409 k = 0;
411 for (i=0; i<tin->
ngeoms; i++)
412 {
414 if (i < (tin->
ngeoms - 1) )
415 {
417 }
418 k += 3;
419 }
420
423
424 for (i=0; i<tin->
ngeoms; i++)
425 {
427 opts, defid, sb);
428 if (i < (tin->
ngeoms - 1) )
429 {
431 }
432 }
433
434
435
437}
#define LW_X3D_FLIP_XY
Macros for specifying X3D options.
#define X3D_USE_GEOCOORDS(x)
static int asx3d3_triangle_sb(const LWTRIANGLE *triangle, __attribute__((__unused__)) char *srs, int precision, int opts, __attribute__((__unused__)) const char *defid, stringbuffer_t *sb)
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_triangle_sb(), LWTIN::geoms, LW_X3D_FLIP_XY, LWTIN::ngeoms, precision, stringbuffer_aprintf(), and X3D_USE_GEOCOORDS.
Referenced by asx3d3_collection_sb(), and lwgeom_to_x3d3_sb().