VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rwKeplerOrbitalElements.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #pragma once
10 
11 #include "vrfutil/vrfutilDefines.h"
14 #include <readerWriter/rwReal.h>
15 #include <readerWriter/rwString.h>
16 
17 
19 {
23 };
24 
27 
32 {
33 public:
34 
37 
39  parentRegistry = 0);
40 
42  DtReaderWriterRegistry* parentRegistry = 0);
43 
45  DtReaderWriterRegistry* parentRegistry = 0);
46 
48  virtual ~DtRwKeplerOrbitalElements();
49 
52 
53  virtual const char* readerWriterType() const;
54 
55  virtual DtString tleLine1() const;
56  virtual void setTleLine1(const DtString& s);
57 
58  virtual DtString tleLine2() const;
59  virtual void setTleLine2(const DtString& s);
60 
61  virtual DtString stringRep() const;
62 
63 
64 protected:
67 
68  /*
69  DtRwReal myEccentricity;
70  DtRwReal myMeanMotion;
71  DtRwReal myInclination;
72  DtRwReal myLongitudeOfAscendingNode;
73  DtRwReal myArgumentOfPeriapsis;
74  DtRwReal myMeanAnomaly;
75  DtRwReal myEpoch;
76  */
77 
79 
80  mutable double myMutableSemiMajorAxis;
83 };
84 
85 namespace DtBufferSerialize
86 {
89 
95  DT_DLL_vrfutil char *encode(const DtRwKeplerOrbitalElements& val, char *buffer);
96 
102  DT_DLL_vrfutil const char *decode(DtRwKeplerOrbitalElements &val, const char *buffer);
103 };

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)