pub struct OrthographicProjection { /* private fields */ }Expand description
§Orthographic
The orthographic projection is a perspective azimuthal projection centered around a given latitude and longitude.
Classification: Azimuthal
Available forms: Forward and inverse, spherical and ellipsoidal
Defined area: Global, although only one hemisphere can be seen at a time
Alias: ortho
Domain: 2D
Input type: Geodetic coordinates
Output type: Projected coordinates
§Projection String
+proj=ortho§Required Parameters
- None
§Optional Parameters
+alpha=<value>: Azimuth clockwise from north at the center of projection. Defaults to 0.0. (added in PROJ 9.5.0)+k_0=<value>: Scale factor. Determines scale factor used in the projection. Defaults to 1.0. (added in PROJ 9.5.0)+lon_0=<value>+lat_0=<value>+ellps=<value>+R=<value>+x_0=<value>+y_0=<value>
§Notes
- Before PROJ 7.2, only the spherical formulation was implemented. To replicate PROJ < 7.2 results with newer versions, force the ellipsoid to a sphere using
+f=0. - This projection method corresponds to
EPSG:9840(orEPSG:1130withk_0oralpha).

Trait Implementations§
Source§impl Clone for OrthographicProjection
impl Clone for OrthographicProjection
Source§fn clone(&self) -> OrthographicProjection
fn clone(&self) -> OrthographicProjection
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OrthographicProjection
impl Debug for OrthographicProjection
Source§impl PartialEq for OrthographicProjection
impl PartialEq for OrthographicProjection
Source§impl ProjectCoordinates for OrthographicProjection
impl ProjectCoordinates for OrthographicProjection
impl StructuralPartialEq for OrthographicProjection
Auto Trait Implementations§
impl !Freeze for OrthographicProjection
impl !RefUnwindSafe for OrthographicProjection
impl !Send for OrthographicProjection
impl !Sync for OrthographicProjection
impl Unpin for OrthographicProjection
impl !UnwindSafe for OrthographicProjection
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
Mutably borrows from an owned value. Read more
§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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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