Struct pos::point::Point [] [src]

pub struct Point {
    pub time: f64,
    pub longitude: Radians<f64>,
    pub latitude: Radians<f64>,
    pub altitude: f64,
    pub roll: Radians<f64>,
    pub pitch: Radians<f64>,
    pub yaw: Radians<f64>,
    pub distance: Option<f64>,
    pub x_velocity: Option<f64>,
    pub y_velocity: Option<f64>,
    pub z_velocity: Option<f64>,
    pub wander_angle: Option<Radians<f64>>,
    pub x_acceleration: Option<f64>,
    pub y_acceleration: Option<f64>,
    pub z_acceleration: Option<f64>,
    pub x_angular_rate: Option<Radians<f64>>,
    pub y_angular_rate: Option<Radians<f64>>,
    pub z_angular_rate: Option<Radians<f64>>,
    pub accuracy: Option<Accuracy>,
}

A position point.

This must contain position and attidue information, and may contain error information.

Fields

Methods

impl Point
[src]

Linearly interpolate a new point between these two.

Examples

use pos::point::Point;
let mut p1: Point = Default::default();
p1.time = 10.0;
let mut p2: Point = Default::default();
p2.time = 20.0;
let p3 = p1.interpolate(&p2, 15.0);

Trait Implementations

impl Clone for Point
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Point
[src]

impl Debug for Point
[src]

Formats the value using the given formatter.

impl Default for Point
[src]

Returns the "default value" for a type. Read more

impl PartialEq for Point
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.