[][src]Enum openair::Geometry

pub enum Geometry {
    Polygon {
        segments: Vec<PolygonSegment>,
    },
    Circle {
        centerpoint: Coord,
        radius: f32,
    },
}

Variants

Polygon

Fields of Polygon

segments: Vec<PolygonSegment>

Segments describing the polygon.

The polygon may be open or closed.

Circle

Fields of Circle

centerpoint: Coord

The centerpoint of the circle.

radius: f32

Radius of the circle in nautical miles (1 NM = 1852 m).

Trait Implementations

impl PartialEq<Geometry> for Geometry[src]

impl Debug for Geometry[src]

impl Display for Geometry[src]

Auto Trait Implementations

impl Send for Geometry

impl Sync for Geometry

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]