Struct sdc::point::Point [] [src]

pub struct Point {
    pub time: f64,
    pub range: f32,
    pub theta: f32,
    pub x: f32,
    pub y: f32,
    pub z: f32,
    pub amplitude: u16,
    pub width: u16,
    pub target_type: TargetType,
    pub target: u8,
    pub num_target: u8,
    pub rg_index: u16,
    pub facet_number: u8,
    pub high_channel: bool,
    pub class_id: Option<u8>,
    pub rho: Option<f32>,
    pub reflectance: Option<i16>,
}

An SDC point.

Fields

time
range
theta
x
y
z
amplitude
width
target_type
target
num_target
rg_index
facet_number
high_channel
class_id
rho
reflectance

Methods

impl Point

fn new() -> Point

Creates a new, default point.

Examples

use sdc::point::Point;
let point = Point::new();

fn channel_desc_byte(&self) -> u8

Returns the channel description byte from this point.

Examples

use sdc::point::Point;
let point = Point::new();
let byte = point.channel_desc_byte();

Trait Implementations

Derived Implementations

impl Default for Point

fn default() -> Point

impl Debug for Point

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Copy for Point

impl Clone for Point

fn clone(&self) -> Point

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