GeographicLib: CassiniSoldner.hpp Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10#if !defined(GEOGRAPHICLIB_CASSINISOLDNER_HPP)

11#define GEOGRAPHICLIB_CASSINISOLDNER_HPP 1

12

16

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

70 private:

74 real _sbet0, _cbet0;

75 static const unsigned maxit_ = 10;

76

77 public:

78

79

80

81

82

83

84

85

86

87

89

90

91

92

93

94

95

96

97

98

99

101 const Geodesic& earth = Geodesic::WGS84());

102

103

104

105

106

107

108

109

110

111 void Reset(real lat0, real lon0);

112

113

114

115

116

117

118

119

120

121

122

123

124

125

126

127

128 void Forward(real lat, real lon,

129 real& x, real& y, real& azi, real& rk) const;

130

131

132

133

134

135

136

137

138

139

140

141

142

143

144

145

146 void Reverse(real x, real y,

147 real& lat, real& lon, real& azi, real& rk) const;

148

149

150

151

153 real& x, real& y) const {

154 real azi, rk;

155 Forward(lat, lon, x, y, azi, rk);

156 }

157

158

159

160

162 real& lat, real& lon) const {

163 real azi, rk;

164 Reverse(x, y, lat, lon, azi, rk);

165 }

166

167

168

169

170

171

172

173 bool Init() const { return _meridian.Init(); }

174

175

176

177

180

181

182

183

186

187

188

189

190

192

193

194

195

196

198

199

200 };

201

202}

203

204#endif

Header for GeographicLib::Constants class.

#define GEOGRAPHICLIB_EXPORT

GeographicLib::Math::real real

Header for GeographicLib::GeodesicLine class.

Header for GeographicLib::Geodesic class.

Cassini-Soldner projection.

Definition CassiniSoldner.hpp:69

Math::real LatitudeOrigin() const

Definition CassiniSoldner.hpp:178

void Reverse(real x, real y, real &lat, real &lon) const

Definition CassiniSoldner.hpp:161

bool Init() const

Definition CassiniSoldner.hpp:173

Math::real EquatorialRadius() const

Definition CassiniSoldner.hpp:191

Math::real Flattening() const

Definition CassiniSoldner.hpp:197

void Forward(real lat, real lon, real &x, real &y) const

Definition CassiniSoldner.hpp:152

Math::real LongitudeOrigin() const

Definition CassiniSoldner.hpp:184

Math::real Latitude() const

Math::real Longitude() const

Math::real Flattening() const

Math::real EquatorialRadius() const

Namespace for GeographicLib.