public class SunCalc extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.locationtech.jts.geom.Coordinate |
getPosition(Date date,
double lat,
double lng)
Returns the sun position as a coordinate with the following properties
x: sun azimuth in radians (direction along the horizon, measured from south to
west), e.g. 0 is south and Math.PI * 3/4 is northwest.
|
static boolean |
isGeographic(double latitude,
double longitude)
Test if the point has valid latitude and longitude coordinates.
|
public static org.locationtech.jts.geom.Coordinate getPosition(Date date, double lat, double lng)
date - lat - lng - public static boolean isGeographic(double latitude,
double longitude)
latitude - longitude - Copyright © 2019 CNRS. All rights reserved.