Function unit_sphere::vector::to_point
source ยท pub fn to_point(lat: Angle, lon: Angle) -> Vector3dExpand description
Convert a latitude and longitude to a point on the unit sphere. @pre |lat| <= 90.0 degrees.
lat- the latitude.lon- the longitude.
returns a Vector3d of the point on the unit sphere.