VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtCloudDriverCommon.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2011 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vector>
13 
14 namespace makVrv
15 {
16  namespace vrvExampleCloudDriver
17  {
20  class DtWind
21  {
22  public:
28  DtWind(double directionN2E,
29  double minAltitude = 0,
30  double maxAltitude = 100000,
31  double speedInMps = 100);
32 
35  bool withinAltitude(double alt) const;
36 
37  double dirNtoE;
38  double northVel;
39  double eastVel;
40  double minAlt;
41  double maxAlt;
42  double speed;
43  };
44 
45  typedef std::vector<DtWind> WindList;
46  }
47 }
double dirNtoE
Definition: DtCloudDriverCommon.h:37
double speed
Definition: DtCloudDriverCommon.h:42
A class for storing wind volume information. A wind volume consists of a direction, minimum and maximum altitude, and a speed.
Definition: DtCloudDriverCommon.h:20
bool withinAltitude(double alt) const
Returns true if the given altitude falls between the wind volumes minimum and maximum altitude...
std::vector< DtWind > WindList
Definition: DtCloudDriverCommon.h:45
double maxAlt
Definition: DtCloudDriverCommon.h:41
double minAlt
Definition: DtCloudDriverCommon.h:40
double northVel
Definition: DtCloudDriverCommon.h:38
double eastVel
Definition: DtCloudDriverCommon.h:39
DtWind(double directionN2E, double minAltitude=0, double maxAltitude=100000, double speedInMps=100)
CTOR.

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)