User-defined stars
Now you can define up to eight custom points in space that have a fixed heliocentric right ascension, declination, and distance. These are called user-defined stars, although they don't literally have to be stars. They can be any object that is more than one light-year away from the Sun.
To create a user-defined star, call the function for your language:
- C/C++: Astronomy_DefineStar.
- C#: Astronomy.DefineStar
- TypeScript/JavaScript: DefineStar
- Python: DefineStar
- Kotlin/Java: defineStar
Once you have associated a custom star with a Body
value, you can pass that value to functions like SearchRiseSet
, GeoVector
, etc.