Trait de_types::projection::ToAltitude

source ·
pub trait ToAltitude<T> {
    // Required method
    fn to_altitude(self, altitude: f32) -> T;

    // Provided method
    fn to_msl(self) -> T
       where Self: Sized { ... }
}
Expand description

Trait for conversion of various geometrical objects to their 3D equivalents placed to an altitude.

Required Methods§

source

fn to_altitude(self, altitude: f32) -> T

Provided Methods§

source

fn to_msl(self) -> T
where Self: Sized,

Converts / moves to object to mean sea level.

Implementations on Foreign Types§

source§

impl ToAltitude<Aabb> for Aabb

source§

fn to_altitude(self, altitude: f32) -> Aabb3D

source§

impl ToAltitude<Vec3> for Vec2

source§

fn to_altitude(self, altitude: f32) -> Vec3

source§

impl ToAltitude<Vec3> for Vec3

source§

fn to_altitude(self, altitude: f32) -> Vec3

Implementors§