eatc-airspace - v0.0.1
    Preparing search index...

    Class Circle

    A circle approximated from lines, drawn clockwise.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    • Parameters

      • center: Fix

        The centre of the circle.

      • radius: number

        The radius of the circle, in nautical miles.

      • color: Color | RGB

        The color of the circle.

      • Optionalsegments: number = 360

        The number of vertices used to approximate the circle.

      Returns Circle

    Properties

    center: Fix

    The centre of the circle.

    color: Color | RGB = Polyline.Color.AIRSPACE

    The color of the polyline.

    radius: number

    The radius of the circle, in nautical miles.

    Accessors

    • get vertices(): readonly Fix[]

      The vertices that define this shape.

      Returns readonly Fix[]

    Methods

    • Get an arc from the circle.

      Parameters

      • start: number

        Bearing in degrees from true north where the arc starts.

      • end: number

        Bearing in degrees from true north where the arc ends.

      Returns Polyline

    • Get an arc from the circle.

      Parameters

      • start: Fix

        The fix to determine the start bearing of the arc.

      • end: Fix

        The fix to determine the end bearing of the arc.

      Returns Polyline

    • Get an anti-clockwise arc from the circle.

      Parameters

      • start: number

        Bearing in degrees from true north where the arc starts.

      • end: number

        Bearing in degrees from true north where the arc ends.

      Returns Polyline

    • Get an anti-clockwise arc from the circle.

      Parameters

      • start: Fix

        The fix to determine the start bearing of the arc.

      • end: Fix

        The fix to determine the end bearing of the arc.

      Returns Polyline