Definition at line 448 of file pgsql2shp-core.c.
449{
450
451 int i,j;
452 double temp;
453 j = num_points -1;
454 for (i=0; i <num_points; i++)
455 {
456 if (j <= i)
457 {
458 break;
459 }
463
467
468 if ( z )
469 {
470 temp = z[j];
471 z[j] = z[i];
472 z[i] = temp;
473 }
474
475 if ( m )
476 {
477 temp = m[j];
478 m[j] = m[i];
479 m[i] = temp;
480 }
481
482 j--;
483 }
484 return 1;
485}
Referenced by create_multipolygon(), and create_polygon().