inline atc_type GetType() { return TOWER; }
inline FGGround* GetGroundPtr() { return ground; }
+
+ // Returns true if positions of crosswind/downwind/base leg turns should be constrained by previous traffic
+ // plus the constraint position as a rwy orientated orthopos (meters)
+ bool GetCrosswindConstraint(double& cpos);
+ bool GetDownwindConstraint(double& dpos);
+ bool GetBaseConstraint(double& bpos);
private:
FGATCMgr* ATCmgr;
string trans_ident; // transmitted ident
bool tower_failed; // tower failed?
- // Pointers to current users position and orientation
- SGPropertyNode* user_lon_node;
- SGPropertyNode* user_lat_node;
- SGPropertyNode* user_elev_node;
+ // Pointers to current users position and orientation
+ SGPropertyNode* user_lon_node;
+ SGPropertyNode* user_lat_node;
+ SGPropertyNode* user_elev_node;
SGPropertyNode* user_hdg_node;
// Details of the general traffic flow etc in the circuit