Uses of Class
org.shredzone.commons.suncalc.util.Vector
Packages that use Vector
Package
Description
This package contains internal utility methods.
-
Uses of Vector in org.shredzone.commons.suncalc.util
Methods in org.shredzone.commons.suncalc.util that return VectorModifier and TypeMethodDescriptionstatic VectorExtendedMath.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 VectorVector.ofPolar(double φ, double θ) Creates a newVectorof the given polar coordinates, with a radial distance of 1.static VectorVector.ofPolar(double φ, double θ, double r) Creates a newVectorof the given polar coordinates.static VectorMoon.position(JulianDate date) Calculates the geocentric position of the moon.static VectorSun.position(JulianDate date) Calculates the geocentric position of the sun.static VectorMoon.positionEquatorial(JulianDate date) Calculates the equatorial position of the moon.static VectorSun.positionEquatorial(JulianDate date) Calculates the equatorial position of the sun.static VectorMoon.positionHorizontal(JulianDate date, double lat, double lng) Calculates the horizontal position of the moon.static VectorSun.positionHorizontal(JulianDate date, double lat, double lng) Calculates the horizontal position of the sun.Methods in org.shredzone.commons.suncalc.util with parameters of type Vector