pub struct GnomonicProjection { /* private fields */ }Expand description
§Gnomonic (gnom)
For a sphere, the gnomonic projection is a projection from the center of
the sphere onto a plane tangent to the center point of the projection.
This projects great circles to straight lines. For an ellipsoid, it is
the limit of a doubly azimuthal projection, a projection where the
azimuths from 2 points are preserved, as the two points merge into the
center point. In this case, geodesics project to approximately straight
lines (these are exactly straight if the geodesic includes the center
point). For details, see Section 8 of :cite:Karney2013.
Classification: Azimuthal
Available forms: Forward and inverse, spherical and ellipsoidal
Defined area: Within a quarter circumference of the center point
Alias: gnom
Domain: 2D
Input type: Geodetic coordinates
Output type: Projected coordinates
§Projection String
+proj=gnom +lat_0=90 +lon_0=-50 +R=6.4e6§Required Parameters
- None, all parameters are optional for this projection.
§Optional Parameters
+lon_0: Longitude of origin (central meridian).+lat_0: Latitude of origin.+x_0: False easting.+y_0: False northing.+ellps: Ellipsoid.+R: Earth radius.
Reference: Wolfram Mathworld “Gnomonic Projection” http://mathworld.wolfram.com/GnomonicProjection.html Accessed: 12th November 2009

Trait Implementations§
Source§impl Clone for GnomonicProjection
impl Clone for GnomonicProjection
Source§fn clone(&self) -> GnomonicProjection
fn clone(&self) -> GnomonicProjection
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl CoordinateStep for GnomonicProjection
impl CoordinateStep for GnomonicProjection
Source§impl Debug for GnomonicProjection
impl Debug for GnomonicProjection
Source§impl PartialEq for GnomonicProjection
impl PartialEq for GnomonicProjection
Source§impl ProjectCoordinates for GnomonicProjection
impl ProjectCoordinates for GnomonicProjection
impl StructuralPartialEq for GnomonicProjection
Auto Trait Implementations§
impl !Freeze for GnomonicProjection
impl !RefUnwindSafe for GnomonicProjection
impl !Send for GnomonicProjection
impl !Sync for GnomonicProjection
impl Unpin for GnomonicProjection
impl !UnwindSafe for GnomonicProjection
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more