| 2587 | |
| 2588 | |
| 2589 | int Gis_polygon::centroid(String *result) const |
| 2590 | { |
| 2591 | double x, y; |
| 2592 | if (centroid_xy(&x, &y)) |
| 2593 | return 1; |
| 2594 | return create_point(result, x, y); |
| 2595 | } |
| 2596 | |
| 2597 | |
| 2598 | int Gis_polygon::store_shapes(Gcalc_shape_transporter *trn) const |
no test coverage detected