13 lines
		
	
	
		
			298 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			298 B
		
	
	
	
		
			Python
		
	
	
	
	
	
#!/usr/bin/env python
 | 
						|
 | 
						|
from aman.types.Waypoint import Waypoint
 | 
						|
 | 
						|
class Runway:
 | 
						|
    def __init__(self, start : Waypoint, end : Waypoint):
 | 
						|
        self.name = start.name
 | 
						|
        self.start = start
 | 
						|
        self.end = end
 | 
						|
 | 
						|
    def heading(self):
 | 
						|
        return self.start.bearing(self.end)
 |