Files
astronomy/source/kotlin/doc/-spherical/to-vector.md
Don Cross 4c34245c01 Kotlin doc cleanup: removed more 'jvm' tags.
I found that there were a bunch of lingering 'jvm'
tags in the generated markdown documentation.
Got rid of them with another change to format_kotlin_doc.py.
2022-04-25 17:16:46 -04:00

589 B

//astronomy/io.github.cosinekitty.astronomy/Spherical/toVector

toVector

fun toVector(time: Time): Vector

Converts spherical coordinates to Cartesian coordinates.

Given spherical coordinates and a time at which they are valid, returns a vector of Cartesian coordinates. The returned value includes the time, as required by the type Vector.

Parameters

time The time that should be included in the return value.