pub enum ObservationZone {
Cylinder {
radius: f64,
},
Line {
length: f64,
},
Keyhole,
FAISector,
Sector {
radius: f64,
start_radial: f64,
end_radial: f64,
inner_radius: Option<f64>,
},
SymmetricQuadrant {
radius: Option<f64>,
angle: Option<f64>,
},
CustomKeyhole {
radius: Option<f64>,
angle: Option<f64>,
inner_radius: Option<f64>,
},
MatCylinder,
BGAStartSector,
BGAFixedCourse,
BGAEnhancedOption,
}Variants§
Cylinder
A cylinder with configurable radius. Scored from center.
Line
A straight line gate, typically used for start/finish.
Keyhole
DAeC keyhole: 500m cylinder or 10km 90° sector. Scored from center.
FAISector
FAI 90° sector with infinite length sides. Scored from corner.
Sector
A sector with configurable radius and radial angles.
If inner_radius is set, creates an annular sector.
SymmetricQuadrant
A symmetric quadrant with configurable radius and angle.
Defaults: radius = 10000m.
CustomKeyhole
A keyhole with configurable outer radius, inner radius, and sector angle.
Defaults: radius=10000m, inner_radius=500m, angle=90°.
MatCylinder
Fixed 1-mile radius cylinder for Modified Area Tasks.
BGAStartSector
BGA start sector: 5km 180° sector.
BGAFixedCourse
BGA fixed course: 500m cylinder or 20km 90° sector.
BGAEnhancedOption
BGA enhanced option: 500m cylinder or 10km 180° sector.
Trait Implementations§
Source§impl Clone for ObservationZone
impl Clone for ObservationZone
Source§fn clone(&self) -> ObservationZone
fn clone(&self) -> ObservationZone
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObservationZone
impl Debug for ObservationZone
Source§impl<'de> Deserialize<'de> for ObservationZone
impl<'de> Deserialize<'de> for ObservationZone
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ObservationZone
impl PartialEq for ObservationZone
Source§impl Serialize for ObservationZone
impl Serialize for ObservationZone
impl StructuralPartialEq for ObservationZone
Auto Trait Implementations§
impl Freeze for ObservationZone
impl RefUnwindSafe for ObservationZone
impl Send for ObservationZone
impl Sync for ObservationZone
impl Unpin for ObservationZone
impl UnsafeUnpin for ObservationZone
impl UnwindSafe for ObservationZone
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