/usr/share/doc/geographiclib/html/classGeographicLib_1_1CassiniSoldner.html is in geographiclib-tools 1.8-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>GeographicLib: GeographicLib::CassiniSoldner Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div class="navpath">
<ul>
<li><a class="el" href="namespaceGeographicLib.html">GeographicLib</a> </li>
<li><a class="el" href="classGeographicLib_1_1CassiniSoldner.html">GeographicLib::CassiniSoldner</a> </li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> </div>
<div class="headertitle">
<h1>GeographicLib::CassiniSoldner Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="GeographicLib::CassiniSoldner" -->
<p>Cassini-Soldner Projection.
<a href="#_details">More...</a></p>
<p><code>#include <<a class="el" href="CassiniSoldner_8hpp_source.html">GeographicLib/CassiniSoldner.hpp</a>></code></p>
<p><a href="classGeographicLib_1_1CassiniSoldner-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1CassiniSoldner.html#a948f9d934615c4120eb23740635200bc">CassiniSoldner</a> (const <a class="el" href="classGeographicLib_1_1Geodesic.html">Geodesic</a> &earth=<a class="el" href="classGeographicLib_1_1Geodesic.html#ae918bb7e1555fba38483449cbbac0ca1">Geodesic::WGS84</a>) throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1CassiniSoldner.html#a1b19cedb287ec9bbe59ec18a0ad2a5e4">CassiniSoldner</a> (real lat0, real lon0, const <a class="el" href="classGeographicLib_1_1Geodesic.html">Geodesic</a> &earth=<a class="el" href="classGeographicLib_1_1Geodesic.html#ae918bb7e1555fba38483449cbbac0ca1">Geodesic::WGS84</a>) throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1CassiniSoldner.html#af9bdc7088bca547dcc191691b2737759">Reset</a> (real lat0, real lon0) throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1CassiniSoldner.html#a37656c7551b10ad75a40758d0bba570d">Forward</a> (real lat, real lon, real &x, real &y, real &azi, real &rk) const throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1CassiniSoldner.html#aea917b790f577026184a0bb262102db4">Reverse</a> (real x, real y, real &lat, real &lon, real &azi, real &rk) const throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1CassiniSoldner.html#a87bf8d3b416bbfd8b7a2c5269245e693">Forward</a> (real lat, real lon, real &x, real &y) const throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1CassiniSoldner.html#a27a675e995d2c1fdd0ab4c0ab397e065">Reverse</a> (real x, real y, real &lat, real &lon) const throw ()</td></tr>
<tr><td colspan="2"><div class="groupHeader">Inspector functions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp59c92495387f56c5711d0f52918a49b2"></a> </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1CassiniSoldner.html#a3f71bb8b662438a7954be174315ce974">Init</a> () const throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1CassiniSoldner.html#a2aa51120af199603f57d54b8c9a0bdde">LatitudeOrigin</a> () const throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1CassiniSoldner.html#aeb5c42b5cb6202a2371ba84bf76e0161">LongitudeOrigin</a> () const throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1CassiniSoldner.html#a0019eeb70b5493de687c5cc36ae7f43c">MajorRadius</a> () const throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1CassiniSoldner.html#aae869d96e9267c13e675e3a3804eb0e2">InverseFlattening</a> () const throw ()</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Cassini-Soldner Projection. </p>
<p>Cassini-Soldner projection centered at an arbitrary position, <em>lat0</em>, <em>lon0</em>, on the ellipsoid. This projection is a transverse cylindrical equidistant projection. The projection from (<em>lat</em>, <em>lon</em>) to easting and northing (<em>x</em>, <em>y</em>) is defined by geodesics as follows. Go north along a geodesic a distance <em>y</em> from the central point; then turn clockwise 90<sup>o</sup> and go a distance <em>x</em> along a geodesic. (Although the initial heading is north, this changes to south if the pole is crossed.) This procedure uniquely defines the reverse projection. The forward projection is constructed as follows. Find the point (<em>lat1</em>, <em>lon1</em>) on the meridian closest to (<em>lat</em>, <em>lon</em>). Here we consider the full meridian so that <em>lon1</em> may be either <em>lon0</em> or <em>lon0</em> + 180<sup>o</sup>. <em>x</em> is the geodesic distance from (<em>lat1</em>, <em>lon1</em>) to (<em>lat</em>, <em>lon</em>), appropriately signed according to which side of the central meridian (<em>lat</em>, <em>lon</em>) lies. <em>y</em> is the shortest distance along the meridian from (<em>lat0</em>, <em>lon0</em>) to (<em>lat1</em>, <em>lon1</em>), again, appropriately signed according to the initial heading. [Note that, in the case of prolate ellipsoids, the shortest meridional path from (<em>lat0</em>, <em>lon0</em>) to (<em>lat1</em>, <em>lon1</em>) may not be the shortest path.] This procedure uniquely defines the forward projection except for a small class of points for which there may be two equally short routes for either leg of the path.</p>
<p>Because of the properties of geodesics, the (<em>x</em>, <em>y</em>) grid is orthogonal. The scale in the easting direction is unity. The scale, <em>k</em>, in the northing direction is unity on the central meridian and increases away from the central meridian. The projection routines return <em>azi</em>, the true bearing of the easting direction, and <em>rk</em> = 1/<em>k</em>, the reciprocal of the scale in the northing direction.</p>
<p>The conversions all take place using a <a class="el" href="classGeographicLib_1_1Geodesic.html" title="Geodesic calculations">Geodesic</a> object (by default <a class="el" href="classGeographicLib_1_1Geodesic.html#ae918bb7e1555fba38483449cbbac0ca1">Geodesic::WGS84</a>). For more information on geodesics see <a class="el" href="geodesic.html">Geodesics on the Ellipsoid</a>. The determination of (<em>lat1</em>, <em>lon1</em>) in the forward projection is by solving the inverse geodesic problem for (<em>lat</em>, <em>lon</em>) and its twin obtained by reflection in the meridional plane. The scale is found by determining where two neighboring geodesics intersecting the central meridan at <em>lat1</em> and <em>lat1</em> + <em>dlat1</em> intersect and taking the ratio of the reduced lengths for the two geodesics between that point and, respectively, (<em>lat1</em>, <em>lon1</em>) and (<em>lat</em>, <em>lon</em>). </p>
<p>Definition at line <a class="el" href="CassiniSoldner_8hpp_source.html#l00062">62</a> of file <a class="el" href="CassiniSoldner_8hpp_source.html">CassiniSoldner.hpp</a>.</p>
<hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="a948f9d934615c4120eb23740635200bc"></a><!-- doxytag: member="GeographicLib::CassiniSoldner::CassiniSoldner" ref="a948f9d934615c4120eb23740635200bc" args="(const Geodesic &earth=Geodesic::WGS84)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GeographicLib::CassiniSoldner::CassiniSoldner </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classGeographicLib_1_1Geodesic.html">Geodesic</a> & </td>
<td class="paramname"> <em>earth</em> = <code><a class="el" href="classGeographicLib_1_1Geodesic.html#ae918bb7e1555fba38483449cbbac0ca1">Geodesic::WGS84</a></code></td>
<td> ) </td>
<td> throw ()<code> [inline, explicit]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructor for <a class="el" href="classGeographicLib_1_1CassiniSoldner.html" title="Cassini-Soldner Projection.">CassiniSoldner</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>earth</em> </td><td>the <a class="el" href="classGeographicLib_1_1Geodesic.html" title="Geodesic calculations">Geodesic</a> object to use for geodesic calculations. By default this uses the WGS84 ellipsoid.</td></tr>
</table>
</dd>
</dl>
<p>This constructor makes an "uninitialized" object. Call Reset to set the central latitude and longuitude, prior to calling Forward and Reverse. </p>
<p>Definition at line <a class="el" href="CassiniSoldner_8hpp_source.html#l00105">105</a> of file <a class="el" href="CassiniSoldner_8hpp_source.html">CassiniSoldner.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a1b19cedb287ec9bbe59ec18a0ad2a5e4"></a><!-- doxytag: member="GeographicLib::CassiniSoldner::CassiniSoldner" ref="a1b19cedb287ec9bbe59ec18a0ad2a5e4" args="(real lat0, real lon0, const Geodesic &earth=Geodesic::WGS84)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GeographicLib::CassiniSoldner::CassiniSoldner </td>
<td>(</td>
<td class="paramtype">real </td>
<td class="paramname"> <em>lat0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">real </td>
<td class="paramname"> <em>lon0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classGeographicLib_1_1Geodesic.html">Geodesic</a> & </td>
<td class="paramname"> <em>earth</em> = <code><a class="el" href="classGeographicLib_1_1Geodesic.html#ae918bb7e1555fba38483449cbbac0ca1">Geodesic::WGS84</a></code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> throw ()<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructor for <a class="el" href="classGeographicLib_1_1CassiniSoldner.html" title="Cassini-Soldner Projection.">CassiniSoldner</a> specifying a center point.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>lat0</em> </td><td>latitude of center point of projection (degrees). </td></tr>
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>lon0</em> </td><td>longitude of center point of projection (degrees). </td></tr>
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>earth</em> </td><td>the <a class="el" href="classGeographicLib_1_1Geodesic.html" title="Geodesic calculations">Geodesic</a> object to use for geodesic calculations. By default this uses the WGS84 ellipsoid.</td></tr>
</table>
</dd>
</dl>
<p><em>lat0</em> should be in the range [-90, 90] and <em>lon0</em> should be in the range [-180, 360]. </p>
<p>Definition at line <a class="el" href="CassiniSoldner_8hpp_source.html#l00119">119</a> of file <a class="el" href="CassiniSoldner_8hpp_source.html">CassiniSoldner.hpp</a>.</p>
<p>References <a class="el" href="CassiniSoldner_8cpp_source.html#l00026">Reset()</a>.</p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="af9bdc7088bca547dcc191691b2737759"></a><!-- doxytag: member="GeographicLib::CassiniSoldner::Reset" ref="af9bdc7088bca547dcc191691b2737759" args="(real lat0, real lon0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GeographicLib::CassiniSoldner::Reset </td>
<td>(</td>
<td class="paramtype">real </td>
<td class="paramname"> <em>lat0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">real </td>
<td class="paramname"> <em>lon0</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> throw ()</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Set the central point of the projection</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>lat0</em> </td><td>latitude of center point of projection (degrees). </td></tr>
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>lon0</em> </td><td>longitude of center point of projection (degrees).</td></tr>
</table>
</dd>
</dl>
<p><em>lat0</em> should be in the range [-90, 90] and <em>lon0</em> should be in the range [-180, 360]. </p>
<p>Definition at line <a class="el" href="CassiniSoldner_8cpp_source.html#l00026">26</a> of file <a class="el" href="CassiniSoldner_8cpp_source.html">CassiniSoldner.cpp</a>.</p>
<p>Referenced by <a class="el" href="CassiniSoldner_8hpp_source.html#l00119">CassiniSoldner()</a>.</p>
</div>
</div>
<a class="anchor" id="a37656c7551b10ad75a40758d0bba570d"></a><!-- doxytag: member="GeographicLib::CassiniSoldner::Forward" ref="a37656c7551b10ad75a40758d0bba570d" args="(real lat, real lon, real &x, real &y, real &azi, real &rk) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GeographicLib::CassiniSoldner::Forward </td>
<td>(</td>
<td class="paramtype">real </td>
<td class="paramname"> <em>lat</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">real </td>
<td class="paramname"> <em>lon</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">real & </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">real & </td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">real & </td>
<td class="paramname"> <em>azi</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">real & </td>
<td class="paramname"> <em>rk</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const throw ()</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Forward projection, from geographic to Cassini-Soldner.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>lat</em> </td><td>latitude of point (degrees). </td></tr>
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>lon</em> </td><td>longitude of point (degrees). </td></tr>
<tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>x</em> </td><td>easting of point (meters). </td></tr>
<tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>y</em> </td><td>northing of point (meters). </td></tr>
<tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>azi</em> </td><td>azimuth of easting direction at point (degrees). </td></tr>
<tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>rk</em> </td><td>reciprocal of azimuthal northing scale at point.</td></tr>
</table>
</dd>
</dl>
<p><em>lat</em> should be in the range [-90, 90] and <em>lon</em> should be in the range [-180, 360]. A call to Forward followed by a call to Reverse will return the original (<em>lat</em>, <em>lon</em>) (to within roundoff). The routine does nothing if the origin has not been set. </p>
<p>Definition at line <a class="el" href="CassiniSoldner_8cpp_source.html#l00039">39</a> of file <a class="el" href="CassiniSoldner_8cpp_source.html">CassiniSoldner.cpp</a>.</p>
<p>Referenced by <a class="el" href="CassiniSoldner_8hpp_source.html#l00175">Forward()</a>.</p>
</div>
</div>
<a class="anchor" id="aea917b790f577026184a0bb262102db4"></a><!-- doxytag: member="GeographicLib::CassiniSoldner::Reverse" ref="aea917b790f577026184a0bb262102db4" args="(real x, real y, real &lat, real &lon, real &azi, real &rk) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GeographicLib::CassiniSoldner::Reverse </td>
<td>(</td>
<td class="paramtype">real </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">real </td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">real & </td>
<td class="paramname"> <em>lat</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">real & </td>
<td class="paramname"> <em>lon</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">real & </td>
<td class="paramname"> <em>azi</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">real & </td>
<td class="paramname"> <em>rk</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const throw ()</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Reverse projection, from Cassini-Soldner to geographic.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>x</em> </td><td>easting of point (meters). </td></tr>
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>y</em> </td><td>northing of point (meters). </td></tr>
<tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>lat</em> </td><td>latitude of point (degrees). </td></tr>
<tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>lon</em> </td><td>longitude of point (degrees). </td></tr>
<tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>azi</em> </td><td>azimuth of easting direction at point (degrees). </td></tr>
<tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>rk</em> </td><td>reciprocal of azimuthal northing scale at point.</td></tr>
</table>
</dd>
</dl>
<p>A call to Reverse followed by a call to Forward will return the original (<em>x</em>, <em>y</em>) (to within roundoff), provided that <em>x</em> and <em>y</em> are sufficiently small not to "wrap around" the earth. The routine does nothing if the origin has not been set. </p>
<p>Definition at line <a class="el" href="CassiniSoldner_8cpp_source.html#l00087">87</a> of file <a class="el" href="CassiniSoldner_8cpp_source.html">CassiniSoldner.cpp</a>.</p>
<p>Referenced by <a class="el" href="CassiniSoldner_8hpp_source.html#l00184">Reverse()</a>.</p>
</div>
</div>
<a class="anchor" id="a87bf8d3b416bbfd8b7a2c5269245e693"></a><!-- doxytag: member="GeographicLib::CassiniSoldner::Forward" ref="a87bf8d3b416bbfd8b7a2c5269245e693" args="(real lat, real lon, real &x, real &y) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GeographicLib::CassiniSoldner::Forward </td>
<td>(</td>
<td class="paramtype">real </td>
<td class="paramname"> <em>lat</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">real </td>
<td class="paramname"> <em>lon</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">real & </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">real & </td>
<td class="paramname"> <em>y</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const throw ()<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="classGeographicLib_1_1CassiniSoldner.html#a37656c7551b10ad75a40758d0bba570d">CassiniSoldner::Forward</a> without returning the azimuth and scale. </p>
<p>Definition at line <a class="el" href="CassiniSoldner_8hpp_source.html#l00175">175</a> of file <a class="el" href="CassiniSoldner_8hpp_source.html">CassiniSoldner.hpp</a>.</p>
<p>References <a class="el" href="CassiniSoldner_8cpp_source.html#l00039">Forward()</a>.</p>
</div>
</div>
<a class="anchor" id="a27a675e995d2c1fdd0ab4c0ab397e065"></a><!-- doxytag: member="GeographicLib::CassiniSoldner::Reverse" ref="a27a675e995d2c1fdd0ab4c0ab397e065" args="(real x, real y, real &lat, real &lon) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GeographicLib::CassiniSoldner::Reverse </td>
<td>(</td>
<td class="paramtype">real </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">real </td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">real & </td>
<td class="paramname"> <em>lat</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">real & </td>
<td class="paramname"> <em>lon</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const throw ()<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="classGeographicLib_1_1CassiniSoldner.html#aea917b790f577026184a0bb262102db4">CassiniSoldner::Reverse</a> without returning the azimuth and scale. </p>
<p>Definition at line <a class="el" href="CassiniSoldner_8hpp_source.html#l00184">184</a> of file <a class="el" href="CassiniSoldner_8hpp_source.html">CassiniSoldner.hpp</a>.</p>
<p>References <a class="el" href="CassiniSoldner_8cpp_source.html#l00087">Reverse()</a>.</p>
</div>
</div>
<a class="anchor" id="a3f71bb8b662438a7954be174315ce974"></a><!-- doxytag: member="GeographicLib::CassiniSoldner::Init" ref="a3f71bb8b662438a7954be174315ce974" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool GeographicLib::CassiniSoldner::Init </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const throw ()<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the object has been initialized. </dd></dl>
<p>Definition at line <a class="el" href="CassiniSoldner_8hpp_source.html#l00196">196</a> of file <a class="el" href="CassiniSoldner_8hpp_source.html">CassiniSoldner.hpp</a>.</p>
<p>References <a class="el" href="GeodesicLine_8hpp_source.html#l00528">GeographicLib::GeodesicLine::Init()</a>.</p>
</div>
</div>
<a class="anchor" id="a2aa51120af199603f57d54b8c9a0bdde"></a><!-- doxytag: member="GeographicLib::CassiniSoldner::LatitudeOrigin" ref="a2aa51120af199603f57d54b8c9a0bdde" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::CassiniSoldner::LatitudeOrigin </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const throw ()<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><em>lat0</em> the latitude of origin (degrees). </dd></dl>
<p>Definition at line <a class="el" href="CassiniSoldner_8hpp_source.html#l00201">201</a> of file <a class="el" href="CassiniSoldner_8hpp_source.html">CassiniSoldner.hpp</a>.</p>
<p>References <a class="el" href="GeodesicLine_8hpp_source.html#l00533">GeographicLib::GeodesicLine::Latitude()</a>.</p>
</div>
</div>
<a class="anchor" id="aeb5c42b5cb6202a2371ba84bf76e0161"></a><!-- doxytag: member="GeographicLib::CassiniSoldner::LongitudeOrigin" ref="aeb5c42b5cb6202a2371ba84bf76e0161" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::CassiniSoldner::LongitudeOrigin </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const throw ()<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><em>lon0</em> the longitude of origin (degrees). </dd></dl>
<p>Definition at line <a class="el" href="CassiniSoldner_8hpp_source.html#l00207">207</a> of file <a class="el" href="CassiniSoldner_8hpp_source.html">CassiniSoldner.hpp</a>.</p>
<p>References <a class="el" href="GeodesicLine_8hpp_source.html#l00538">GeographicLib::GeodesicLine::Longitude()</a>.</p>
</div>
</div>
<a class="anchor" id="a0019eeb70b5493de687c5cc36ae7f43c"></a><!-- doxytag: member="GeographicLib::CassiniSoldner::MajorRadius" ref="a0019eeb70b5493de687c5cc36ae7f43c" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::CassiniSoldner::MajorRadius </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const throw ()<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><em>a</em> the equatorial radius of the ellipsoid (meters). This is the value inherited from the <a class="el" href="classGeographicLib_1_1Geodesic.html" title="Geodesic calculations">Geodesic</a> object used in the constructor. </dd></dl>
<p>Definition at line <a class="el" href="CassiniSoldner_8hpp_source.html#l00214">214</a> of file <a class="el" href="CassiniSoldner_8hpp_source.html">CassiniSoldner.hpp</a>.</p>
<p>References <a class="el" href="Geodesic_8hpp_source.html#l00759">GeographicLib::Geodesic::MajorRadius()</a>.</p>
</div>
</div>
<a class="anchor" id="aae869d96e9267c13e675e3a3804eb0e2"></a><!-- doxytag: member="GeographicLib::CassiniSoldner::InverseFlattening" ref="aae869d96e9267c13e675e3a3804eb0e2" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::CassiniSoldner::InverseFlattening </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const throw ()<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><em>r</em> the inverse flattening of the ellipsoid. This is the value inherited from the <a class="el" href="classGeographicLib_1_1Geodesic.html" title="Geodesic calculations">Geodesic</a> object used in the constructor. A value of 0 is returned for a sphere (infinite inverse flattening). </dd></dl>
<p>Definition at line <a class="el" href="CassiniSoldner_8hpp_source.html#l00221">221</a> of file <a class="el" href="CassiniSoldner_8hpp_source.html">CassiniSoldner.hpp</a>.</p>
<p>References <a class="el" href="Geodesic_8hpp_source.html#l00766">GeographicLib::Geodesic::InverseFlattening()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="CassiniSoldner_8hpp_source.html">CassiniSoldner.hpp</a></li>
<li><a class="el" href="CassiniSoldner_8cpp_source.html">CassiniSoldner.cpp</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Tue Feb 22 2011 for GeographicLib by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
|