pub struct TMBuilder { /* private fields */ }
Available on crate feature
std
only.Expand description
Builds a transverse mercator map projection
Implementations§
Source§impl TMBuilder
impl TMBuilder
Sourcepub fn with_scale_factor(self, scale_factor: f64) -> Self
pub fn with_scale_factor(self, scale_factor: f64) -> Self
Opt for a specific scale factor
Sourcepub fn with_shape(self, shape: Ellipsoid) -> Self
pub fn with_shape(self, shape: Ellipsoid) -> Self
Opt for a custom, non-WGS84 Ellipsoid
Sourcepub fn with_center(self, center: EllipticalCoordinate) -> Self
pub fn with_center(self, center: EllipticalCoordinate) -> Self
Opt for a specific center of map projection, the 0,0 coordinates
Sourcepub fn with_false_northing(self, false_northing: Length) -> Self
pub fn with_false_northing(self, false_northing: Length) -> Self
Opt for a specific ‘False Northing’ offset of the Y-axis.
Sourcepub fn with_false_easting(self, false_easting: Length) -> Self
pub fn with_false_easting(self, false_easting: Length) -> Self
Opt for a specific ‘False Easting’ offset of the X-axis.
pub fn build(self) -> TransverseMercator
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TMBuilder
impl RefUnwindSafe for TMBuilder
impl Send for TMBuilder
impl Sync for TMBuilder
impl Unpin for TMBuilder
impl UnwindSafe for TMBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more