SunPosition.GetPosition Method
GetPosition(Point point)
Tells the apparent position of the sun, according to this instance of SunPosition.Syntax
public Point GetPosition (
Point point
)
Parameters
A place on Earth, specified as a point in Wgs84LongLat.
Return Value
A point, where the x value is the apparent direction to the sun, in degrees clockwise from north, while the y value is the apparent elevation angle to the sun, in degrees above the horizon.
Remarks
If the SunPosition instance was constructed from a given time, this method will return a point representing the apparent sun position as seen from the given place, at the given time. It is important that the given place is expressed in a LongLat-based CRS with Greenwich as prime meridian, but is it not really important that the geodetic datum is Wgs84. (Because datums usually differ by less than 1 km, which corresponds to a difference of only 0.01 degrees for the apparent sun position.)
If the other constructor was used, the method will just return a point representing the current values of the Direction and Elevation properties.
Platforms
Windows, Linux, Android