VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvUtil
DtFlatEarthCoordinateConverter.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2007 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/*********************************************************************
6
** $RCSfile: DtFlatEarthCoordinateConverter.h,v $ $Revision: 1.11 $ $State: Exp $
7
*********************************************************************/
8
11
12
#ifndef DtFlatEarthCoordinateConverter_H_
13
#define DtFlatEarthCoordinateConverter_H_
14
15
#include <
vrvUtil/DtCoordinateConverter.h
>
16
17
namespace
makVrv
18
{
19
23
class
DT_DLL_VRVUTIL
DtFlatEarthCoordinateConverter
:
public
DtCoordinateConverter
24
{
25
public
:
26
28
DtFlatEarthCoordinateConverter
();
29
31
virtual
~
DtFlatEarthCoordinateConverter
();
32
34
virtual
DtCoordinateConverter
* clone()
const
;
35
38
virtual
void
init
(
double
lat,
double
lon);
39
41
virtual
void
init
(DtDegMinSec lat, DtDegMinSec lon);
42
45
virtual
void
init
(
const
DtGeodeticCoord& origin);
46
50
virtual
bool
init
(
const
std::string& latlonstring);
51
53
virtual
std::string stringRep();
54
56
virtual
const
DtGeodeticCoord& origin()
const
;
57
59
double
lat()
const
;
60
double
lon()
const
;
61
62
/********************* Conversions *****************************/
64
virtual
void
geocToCig(
const
DtVector
& geoc,
DtVector
& out)
const
;
65
67
virtual
void
cigToGeoc(
const
DtVector
& in,
DtVector
& geoc)
const
;
68
69
public
:
70
71
static
DtCoordinateConverter
* create();
72
73
private
:
74
76
DtFlatEarthCoordinateConverter
(
const
DtFlatEarthCoordinateConverter
& orig);
77
79
DtFlatEarthCoordinateConverter
& operator=(
const
DtFlatEarthCoordinateConverter
& orig);
80
81
};
82
83
}
84
85
#endif
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)