to_point

Function to_point 

Source
pub fn to_point(lat: Angle, lon: Angle) -> Vector3d
Expand 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.