//[astronomy](../../../index.md)/[io.github.cosinekitty.astronomy](../index.md)/[Vector](index.md)/[toSpherical](to-spherical.md) # toSpherical fun [toSpherical](to-spherical.md)(): [Spherical](../-spherical/index.md) Converts Cartesian coordinates to spherical coordinates. Given a Cartesian vector, returns latitude, longitude, and distance.