Uses of Class
org.shredzone.commons.suncalc.util.Vector
Package
Description
This package contains internal utility methods.
-
Uses of Vector in org.shredzone.commons.suncalc.util
Modifier and TypeMethodDescriptionstatic Vector
ExtendedMath.equatorialToHorizontal
(double tau, double dec, double dist, double lat) Converts equatorial coordinates to horizontal coordinates.Applies this matrix to aVector
.Vector.multiply
(double scalar) Vector.negate()
Returns the negation of thisVector
.static Vector
Vector.ofPolar
(double φ, double θ) Creates a newVector
of the given polar coordinates, with a radial distance of 1.static Vector
Vector.ofPolar
(double φ, double θ, double r) Creates a newVector
of the given polar coordinates.static Vector
Moon.position
(JulianDate date) Calculates the geocentric position of the moon.static Vector
Sun.position
(JulianDate date) Calculates the geocentric position of the sun.static Vector
Moon.positionEquatorial
(JulianDate date) Calculates the equatorial position of the moon.static Vector
Sun.positionEquatorial
(JulianDate date) Calculates the equatorial position of the sun.static Vector
Moon.positionHorizontal
(JulianDate date, double lat, double lng) Calculates the horizontal position of the moon.static Vector
Sun.positionHorizontal
(JulianDate date, double lat, double lng) Calculates the horizontal position of the sun.