pub struct TransverseMercatorBaseProjection<const C: i64> { /* private fields */ }Expand description
§Transverse Mercator
Classification: Transverse and oblique cylindrical
Available forms: Forward and inverse, spherical and ellipsoidal
Defined area: Global, with full accuracy within 3900 km of the central meridian
Alias: tmerc
Domain: 2D
Input type: Geodetic coordinates
Output type: Projected coordinates
§Projection String
+proj=tmerc§Required Parameters
+lon_0: Longitude of the central meridian.
§Optional Parameters
+approx: Use the faster Evenden-Snyder algorithm, less accurate beyond 3°.+algo: Select algorithm from “auto”, “evenden_snyder”, or “poder_engsager”.+lat_0: Latitude of origin.+k_0: Scale factor on the central meridian.+x_0: False easting.+y_0: False northing.
§Notes
- exact transverse mercator only exists in ellipsoidal form, use approximate version if +a sphere is requested

Trait Implementations§
Source§impl<const C: i64> Clone for TransverseMercatorBaseProjection<C>
impl<const C: i64> Clone for TransverseMercatorBaseProjection<C>
Source§fn clone(&self) -> TransverseMercatorBaseProjection<C>
fn clone(&self) -> TransverseMercatorBaseProjection<C>
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<const C: i64> CoordinateStep for TransverseMercatorBaseProjection<C>
impl<const C: i64> CoordinateStep for TransverseMercatorBaseProjection<C>
Source§impl<const C: i64> Debug for TransverseMercatorBaseProjection<C>
impl<const C: i64> Debug for TransverseMercatorBaseProjection<C>
Source§impl<const C: i64> PartialEq for TransverseMercatorBaseProjection<C>
impl<const C: i64> PartialEq for TransverseMercatorBaseProjection<C>
Source§impl<const C: i64> ProjectCoordinates for TransverseMercatorBaseProjection<C>
impl<const C: i64> ProjectCoordinates for TransverseMercatorBaseProjection<C>
impl<const C: i64> StructuralPartialEq for TransverseMercatorBaseProjection<C>
Auto Trait Implementations§
impl<const C: i64> !Freeze for TransverseMercatorBaseProjection<C>
impl<const C: i64> !RefUnwindSafe for TransverseMercatorBaseProjection<C>
impl<const C: i64> !Send for TransverseMercatorBaseProjection<C>
impl<const C: i64> !Sync for TransverseMercatorBaseProjection<C>
impl<const C: i64> Unpin for TransverseMercatorBaseProjection<C>
impl<const C: i64> !UnwindSafe for TransverseMercatorBaseProjection<C>
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