VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
serializableUtmCS.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2001 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: ser_utm.h,v $ $Revision: 1.13 $ $State: Exp $
7 *********************************************************************/
8 #ifndef serializableUtmCS_H_
9 #define serializableUtmCS_H_
10 
11 //
12 // \file ser_utm.h Contains the serializable UTM coordinate system class declaration.
13 //
15 #include <stdio.h>
16 #include "tdbutil/serializable.h"
17 #include "terrainCS/utmCS.h"
18 
19 //
20 // DtSerializableUtmCS is a serializable version of the DtUtmCS.
21 //
23 {
24 public:
25  DtSerializableUtmCS(FILE* fp, int gdbVersion = 0, double scaleFactor = 0.9996);
26 
27  DtSerializableUtmCS(int zone, DtFloat64 northing, DtFloat64 easting, double scaleFactor = 0.9996);
28 
29  DtSerializableUtmCS(double refLatitude, // in Radians
30  double refLongitude, // in Radians
31  int standardOffsets,
32  long zone = 0,
33  bool setUseDynamicSceneOrigin = false,
34  double dynamicSceneOriginDeadband = 0.0,
35  double scaleFactor = 0.9996);
36 
37  DtSerializableUtmCS(const DtDegMinSec &refLatitude,
38  const DtDegMinSec &refLongitude,
39  int standardOffsets,
40  long zone = 0,
41  bool setUseDynamicSceneOrigin = false,
42  double dynamicSceneOriginDeadband = 0.0,
43  double scaleFactor = 0.9996);
44 
45  // Copy Constructor
47 
48  // Destructor
49  virtual ~DtSerializableUtmCS();
50 
51  // Assignment operator
53 
54  // Clone operator
55  virtual Coordinate_System* clone() const;
56 
57  // Note that in readFrom and writeTo, the std offsets is now comprised of
58  // two words -- the high word is the zone that this gdb needs to be placed
59  // in and the low word is whether or not to use std offsets
60  virtual bool readFrom(FILE* fp);
61  virtual bool writeTo(FILE* fp);
62 
63 protected:
65 };
66 
67 #endif

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)