Runway.py 298 B

123456789101112
  1. #!/usr/bin/env python
  2. from aman.types.Waypoint import Waypoint
  3. class Runway:
  4. def __init__(self, start : Waypoint, end : Waypoint):
  5. self.Name = start.Name
  6. self.Start = start
  7. self.End = end
  8. def heading(self):
  9. return self.Start.bearing(self.End)