5.7. Center
Prev | Up | Chapter 5. Operators | Home | Next

## 5.7. Center #

The center operator `@@` is a non-boolean unary operator returning the center of an object. In the current implementation of pgSphere, only centers of circles and ellipses are supported. Instead of using the operator, you can use the function `center(object)`.

Example 5.13. Center of a circle

    sql> SELECT @@ scircle '<(0d,20d),30d>';

Prev | Up | Next
5.6. Length and circumference | Home | 5.8. Change the direction