-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathWCV_TAUMOD.h
99 lines (73 loc) · 2.64 KB
/
WCV_TAUMOD.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
/*
* Copyright (c) 2015-2021 United States Government as represented by
* the National Aeronautics and Space Administration. No copyright
* is claimed in the United States under Title 17, U.S.Code. All Other
* Rights Reserved.
*/
#ifndef WCV_TAUMOD_H_
#define WCV_TAUMOD_H_
#include "Vect3.h"
#include "Velocity.h"
#include "WCVTable.h"
#include "WCV_tvar.h"
#include "LossData.h"
#include <string>
namespace larcfm {
class WCV_TAUMOD : public WCV_tvar {
public:
/** Constructor that a default instance of the WCV tables. */
WCV_TAUMOD();
WCV_TAUMOD(const std::string& id, const WCVTable& table);
WCV_TAUMOD(const WCV_TAUMOD& wcv);
explicit WCV_TAUMOD(WCV_Vertical* wcv_vertical);
virtual ~WCV_TAUMOD() {}
/**
* @return one static WCV_TAUMOD
*/
static const WCV_TAUMOD& A_WCV_TAUMOD();
/**
* @return DO-365 preventive thresholds Phase I (en-route), i.e., DTHR=0.66nmi, ZTHR=700ft,
* TTHR=35s, TCOA=0.
*/
static const WCV_TAUMOD& DO_365_Phase_I_preventive();
/**
* @return DO-365 Well-Clear thresholds Phase I (en-route), i.e., DTHR=0.66nmi, ZTHR=450ft,
* TTHR=35s, TCOA=0.
*/
static const WCV_TAUMOD& DO_365_DWC_Phase_I();
/**
* @return DO-365 Well-Clear thresholds Phase II (DTA), i.e., DTHR=1500 [ft], ZTHR=450ft,
* TTHR=0s, TCOA=0.
*/
static const WCV_TAUMOD& DO_365_DWC_Phase_II();
/**
* @return DO-365 Well-Clear thresholds Non-Cooperative, i.e., DTHR=2200 [ft], ZTHR=450ft,
* TTHR=0s, TCOA=0.
*/
static const WCV_TAUMOD& DO_365_DWC_Non_Coop();
/**
* @return buffered preventive thresholds Phase I (en-route), i.e., DTHR=1nmi, ZTHR=750ft,
* TTHR=35s, TCOA=20.
*/
static const WCV_TAUMOD& Buffered_Phase_I_preventive();
/**
* @return buffered Well-Clear thresholds Phase I (en-route), i.e., DTHR=1.0nmi, ZTHR=450ft,
* TTHR=35s, TCOA=20.
*/
static const WCV_TAUMOD& Buffered_DWC_Phase_I();
virtual double horizontal_tvar(const Vect2& s, const Vect2& v) const;
virtual LossData horizontal_WCV_interval(double T, const Vect2& s, const Vect2& v) const ;
virtual Detection3D* make() const;
/**
* Returns a deep copy of this WCV_TAUMOD object, including any results that have been calculated.
*/
virtual Detection3D* copy() const;
virtual std::string getSimpleClassName() const;
virtual bool contains(const Detection3D& cd) const;
static Position TAU_center(const Position& po, const Velocity& v, double TTHR, double T);
static double TAU_radius(const Velocity& v, double DTHR, double TTHR);
virtual void hazard_zone_far_end(std::vector<Position>& haz,
const Position& po, const Velocity& v, const Vect3& pu, double T) const;
};
}
#endif