Definition at line 470 of file pgsql2shp-core.c.
471{
472
473 int i,j;
474 double temp;
475 j = num_points -1;
476 for (i=0; i <num_points; i++)
477 {
478 if (j <= i)
479 {
480 break;
481 }
485
489
490 if ( z )
491 {
492 temp = z[j];
493 z[j] = z[i];
494 z[i] = temp;
495 }
496
497 if ( m )
498 {
499 temp = m[j];
500 m[j] = m[i];
501 m[i] = temp;
502 }
503
504 j--;
505 }
506 return 1;
507}
Referenced by create_multipolygon(), and create_polygon().