pub struct DTEDMetadata {
pub filename: String,
pub origin: AxisElement<f64>,
pub origin_angle: AxisElement<Angle>,
pub interval: AxisElement<f64>,
pub interval_secs: AxisElement<f32>,
pub accuracy: Option<u16>,
pub count: AxisElement<u16>,
}Expand description
DTED metadata
§Fields
filename- filenameorigin- position of the lower left corner of the grid (floating point precision)origin_angle- position of the lower left corner of the gridinterval- interval (floating point precision)interval_secs- interval (as seconds of an Angle)accuracy- absolute vertical accuracy in meters (with 90% assurance that the linear errors will not exceed this value relative to mean sea level)count- number of longitude lines and latitude points
Fields§
§filename: String§origin: AxisElement<f64>§origin_angle: AxisElement<Angle>§interval: AxisElement<f64>§interval_secs: AxisElement<f32>§accuracy: Option<u16>§count: AxisElement<u16>Implementations§
Source§impl DTEDMetadata
impl DTEDMetadata
Sourcepub fn from_header(raw: &RawDTEDHeader, fname: &str) -> DTEDMetadata
pub fn from_header(raw: &RawDTEDHeader, fname: &str) -> DTEDMetadata
Create a DTEDMetadata from a RawDTEDHeader
§Arguments
raw- RawDTEDHeaderfname- filename
§Returns
- DTEDMetadata: DTED metadata
Trait Implementations§
Source§impl Clone for DTEDMetadata
impl Clone for DTEDMetadata
Source§fn clone(&self) -> DTEDMetadata
fn clone(&self) -> DTEDMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DTEDMetadata
impl RefUnwindSafe for DTEDMetadata
impl Send for DTEDMetadata
impl Sync for DTEDMetadata
impl Unpin for DTEDMetadata
impl UnwindSafe for DTEDMetadata
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