Step

Enum Step 

Source
pub enum Step {
Show 59 variants AxisSwap(Box<AxisSwapConverter>), Cartesian(Box<CartesianConverter>), GeoLat(Box<GeocentricLatitudeConverter>), Geocentric(Box<GeocentricConverter>), Aea(Box<AlbersConicEqualAreaProjection>), Aeqd(Box<AzimuthalEquidistantProjection>), Airy(Box<AiryProjection>), Base(Box<BaseProjection>), Bonne(Box<BonneProjection>), Cass(Box<CassiniProjection>), Cea(Box<EqualAreaCylindricalProjection>), Eck6(Box<EckertVIProjection>), Eqc(Box<EquidistantCylindricalProjection>), Eqdc(Box<EquidistantConicProjection>), Eqearth(Box<EqualEarthProjection>), Etmerc(Box<ExtendedTransverseMercatorProjection>), GnSinu(Box<GeneralSinusoidalSeriesProjection>), Gnom(Box<GnomonicProjection>), Goode(Box<GoodeHomolosineProjection>), Gstmerc(Box<GaussSchreiberTransverseMercatorProjection>), HotineA(Box<HotineObliqueMercatorVariantAProjection>), HotineB(Box<HotineObliqueMercatorVariantBProjection>), Krovak(Box<KrovakProjection>), KrovakNO(Box<KrovakNorthOrientedProjection>), KrovakM(Box<KrovakModifiedProjection>), KrovakMNO(Box<KrovakModifiedNorthOrientedProjection>), Labrd(Box<LabordeProjection>), Laea(Box<LambertAzimuthalEqualAreaProjection>), LaeaS(Box<LambertAzimuthalEqualAreaSphericalProjection>), Leac(Box<LambertEqualAreaConicProjection>), Lcc1SP(Box<LambertConformalConic1SPProjection>), Lcc2SP(Box<LambertConformalConic2SPProjection>), LccA(Box<LambertConformalConicAlternativeProjection>), MBTfps(Box<McBrydeThomasFlatPolarSinusoidalProjection>), Merc(Box<MercatorProjection>), Mill(Box<MillerCylindricalProjection>), Moll(Box<MollweideProjection>), Nzmg(Box<NewZealandMapGridProjection>), Ocea(Box<ObliqueCylindricalEqualAreaProjection>), Oea(Box<OblatedEqualAreaProjection>), Ortho(Box<OrthographicProjection>), PSterA(Box<PolarStereographicVariantAProjection>), PSterB(Box<PolarStereographicVariantBProjection>), PSterC(Box<PolarStereographicVariantCProjection>), Poly(Box<PolyconicProjection>), Robin(Box<RobinsonProjection>), Sinu(Box<SinusoidalProjection>), Somerc(Box<SwissOblMercatorProjection>), Stere(Box<StereographicProjection>), Sterea(Box<ObliqueStereographicAlternativeProjection>), Tcc(Box<TransverseCentralCylindricalProjection>), Tcea(Box<TransverseCylindricalEqualArealProjection>), Tmerc(Box<TransverseMercatorProjection>), TmercSO(Box<TransverseMercatorSouthOrientedProjection>), Utm(Box<UniversalTransverseMercatorProjection>), Vandg(Box<VanDerGrintenIProjection>), WagIV(Box<WagnerIVProjection>), WagV(Box<WagnerVProjection>), WebMerc(Box<WebMercatorProjection>),
}
Expand description

Conversion/Transform/Projection step

Variants§

§

AxisSwap(Box<AxisSwapConverter>)

Axis Swapping

§

Cartesian(Box<CartesianConverter>)

Cartesian

§

GeoLat(Box<GeocentricLatitudeConverter>)

Geocentric Latitude

§

Geocentric(Box<GeocentricConverter>)

Geocentric

§

Aea(Box<AlbersConicEqualAreaProjection>)

Albers Conic Equal Area Projection

§

Aeqd(Box<AzimuthalEquidistantProjection>)

Azimuthal Equidistant Projection

§

Airy(Box<AiryProjection>)

Airy Projection

§

Base(Box<BaseProjection>)

Base Projection

§

Bonne(Box<BonneProjection>)

BonneProjection

§

Cass(Box<CassiniProjection>)

Cassini Projection

§

Cea(Box<EqualAreaCylindricalProjection>)

Equal Area Cylindrical Projection

§

Eck6(Box<EckertVIProjection>)

Eckert VI Projection

§

Eqc(Box<EquidistantCylindricalProjection>)

Equidistant Cylindrica Projection

§

Eqdc(Box<EquidistantConicProjection>)

Equidistant Conic rojection

§

Eqearth(Box<EqualEarthProjection>)

Equal Earth Projection

§

Etmerc(Box<ExtendedTransverseMercatorProjection>)

Extended Transverse Mercator Projection

§

GnSinu(Box<GeneralSinusoidalSeriesProjection>)

General Sinusoidal Series Projection

§

Gnom(Box<GnomonicProjection>)

Gnomonic Projection

§

Goode(Box<GoodeHomolosineProjection>)

Goode Homolosine Projection

§

Gstmerc(Box<GaussSchreiberTransverseMercatorProjection>)

Gauss Schreiber Transverse Mercator Projection

§

HotineA(Box<HotineObliqueMercatorVariantAProjection>)

Hotine Oblique Mercator Variant A Projection

§

HotineB(Box<HotineObliqueMercatorVariantBProjection>)

Hotine Oblique Mercator Variant B Projection

§

Krovak(Box<KrovakProjection>)

Krovak Projection

§

KrovakNO(Box<KrovakNorthOrientedProjection>)

Krovak North Oriented Projection

§

KrovakM(Box<KrovakModifiedProjection>)

Krovak Modified Projection

§

KrovakMNO(Box<KrovakModifiedNorthOrientedProjection>)

Krovak Modified North Oriented Projection

§

Labrd(Box<LabordeProjection>)

Laborde Projection

§

Laea(Box<LambertAzimuthalEqualAreaProjection>)

Lambert Azimuthal Equal Area Projection

§

LaeaS(Box<LambertAzimuthalEqualAreaSphericalProjection>)

Lambert Azimuthal Equal Area Spherical Projection

§

Leac(Box<LambertEqualAreaConicProjection>)

Lambert Equal Area Conic Projection

§

Lcc1SP(Box<LambertConformalConic1SPProjection>)

Lambert Conformal Conic 1SP Projection

§

Lcc2SP(Box<LambertConformalConic2SPProjection>)

Lambert Conformal Conic 2SP Projection

§

LccA(Box<LambertConformalConicAlternativeProjection>)

Lambert Conformal Conic Alternative Projection

§

MBTfps(Box<McBrydeThomasFlatPolarSinusoidalProjection>)

McBryde Thomas Flat Polar Sinusoidal Projection

§

Merc(Box<MercatorProjection>)

Mercator Projection

§

Mill(Box<MillerCylindricalProjection>)

Miller Cylindrical Projection

§

Moll(Box<MollweideProjection>)

Mollweide Projection

§

Nzmg(Box<NewZealandMapGridProjection>)

New Zealand Map Grid Projection

§

Ocea(Box<ObliqueCylindricalEqualAreaProjection>)

Oblique Cylindrical Equal Area Projection

§

Oea(Box<OblatedEqualAreaProjection>)

Oblated Equal Area Projection

§

Ortho(Box<OrthographicProjection>)

Orthographic Projection

§

PSterA(Box<PolarStereographicVariantAProjection>)

Polar Stereographic Variant A Projection

§

PSterB(Box<PolarStereographicVariantBProjection>)

Polar Stereographic Variant B Projection

§

PSterC(Box<PolarStereographicVariantCProjection>)

Polar Stereographic Variant C Projection

§

Poly(Box<PolyconicProjection>)

Polyconic Projection

§

Robin(Box<RobinsonProjection>)

Robinson Projection

§

Sinu(Box<SinusoidalProjection>)

Sinusoidal Projection

§

Somerc(Box<SwissOblMercatorProjection>)

Swiss OblMercator Projection

§

Stere(Box<StereographicProjection>)

Stereographic Projection

§

Sterea(Box<ObliqueStereographicAlternativeProjection>)

Oblique Stereographic Alternative Projection

§

Tcc(Box<TransverseCentralCylindricalProjection>)

Transverse CentralCylindrical Projection

§

Tcea(Box<TransverseCylindricalEqualArealProjection>)

Transverse Cylindrical Equal Areal Projection

§

Tmerc(Box<TransverseMercatorProjection>)

Transverse Mercator Projection

§

TmercSO(Box<TransverseMercatorSouthOrientedProjection>)

Transverse Mercator South Oriented Projection

§

Utm(Box<UniversalTransverseMercatorProjection>)

Universal Transverse Mercator Projection

§

Vandg(Box<VanDerGrintenIProjection>)

Van Der Grinten (I) Projection

§

WagIV(Box<WagnerIVProjection>)

Wagner IV Projection

§

WagV(Box<WagnerVProjection>)

Wagner V Projection

§

WebMerc(Box<WebMercatorProjection>)

WebMercatorProjection

Implementations§

Source§

impl Step

Source

pub fn same_step(&self, other: &Step) -> bool

Check if there is another step that has the same name

Source

pub fn name(&self) -> &str

Get the name of the step

Source

pub fn forward<P: TransformCoordinates>(&self, point: &mut P)

forward conversion

Source

pub fn inverse<P: TransformCoordinates>(&self, point: &mut P)

inverse conversion

Source

pub fn from_method(method: &Method, proj: Rc<RefCell<Proj>>) -> Option<Step>

Create a Step from JSON Method

Source

pub fn from_id(id: i64, proj: Rc<RefCell<Proj>>) -> Option<Step>

Create a Step from ID

Source

pub fn from_name(name: &str, proj: Rc<RefCell<Proj>>) -> Option<Step>

Create a Step from Projection name

Trait Implementations§

Source§

impl Clone for Step

Source§

fn clone(&self) -> Step

Returns a duplicate of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Step

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<BaseProjection> for Step

Source§

fn from(p: BaseProjection) -> Step

Converts to this type from the input type.
Source§

impl PartialEq for Step

Source§

fn eq(&self, other: &Step) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for Step

Auto Trait Implementations§

§

impl Freeze for Step

§

impl !RefUnwindSafe for Step

§

impl !Send for Step

§

impl !Sync for Step

§

impl Unpin for Step

§

impl !UnwindSafe for Step

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V