PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
void ptarray_swap_ordinates | ( | POINTARRAY * | pa, |
LWORD | o1, | ||
LWORD | o2 | ||
) |
Swap ordinate values o1 and o2 on a given POINTARRAY.
Ordinates semantic is: 0=x 1=y 2=z 3=m
Definition at line 387 of file ptarray.c.
References getPoint4d_p(), POINTARRAY::npoints, and ptarray_set_point4d().
Referenced by lwgeom_swap_ordinates().