| 1 | #cxx . . $ `<file>/src/geo/SbPolarStereographic.h`/ifndef COIN_SBPOLARSTEREOGRAPHIC_H |
| 2 | #define COIN_SBPOLARSTEREOGRAPHIC_Hcxx . . $ `src/geo/SbPolarStereographic.h:2:9`! |
| 3 | /**************************************************************************\ |
| 4 | * Copyright (c) Kongsberg Oil & Gas Technologies AS |
| 5 | * All rights reserved. |
| 6 | * |
| 7 | * Redistribution and use in source and binary forms, with or without |
| 8 | * modification, are permitted provided that the following conditions are |
| 9 | * met: |
| 10 | * |
| 11 | * Redistributions of source code must retain the above copyright notice, |
| 12 | * this list of conditions and the following disclaimer. |
| 13 | * |
| 14 | * Redistributions in binary form must reproduce the above copyright |
| 15 | * notice, this list of conditions and the following disclaimer in the |
| 16 | * documentation and/or other materials provided with the distribution. |
| 17 | * |
| 18 | * Neither the name of the copyright holder nor the names of its |
| 19 | * contributors may be used to endorse or promote products derived from |
| 20 | * this software without specific prior written permission. |
| 21 | * |
| 22 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 23 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 24 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 25 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 26 | * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 27 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 28 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 29 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 30 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 31 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 32 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 33 | \**************************************************************************/ |
| 34 | |
| 35 | #include "SbGeoProjection.h"cxx . . $ `<file>/src/geo/SbGeoProjection.h`/ |
| 36 | |
| 37 | class SbGeoEllipsoidcxx . . $ SbGeoEllipsoid#; |
| 38 | class SbGeoAnglecxx . . $ SbGeoAngle#; |
| 39 | |
| 40 | class SbPolarStereographiccxx . . $ SbPolarStereographic# : public SbGeoProjectioncxx . . $ SbGeoProjection# { |
| 41 | typedef SbGeoProjectioncxx . . $ SbGeoProjection# inheritedcxx . . $ SbPolarStereographic#inherited#; |
| 42 | public: |
| 43 | SbPolarStereographiccxx . . $ SbPolarStereographic#SbPolarStereographic(625c169d625faff2).(const SbGeoEllipsoidcxx . . $ SbGeoEllipsoid# & e, |
| 44 | double FE = 0.0, double FN = 0.0); |
| 45 | |
| 46 | virtual void projectcxx . . $ SbPolarStereographic#project(7988923f5e4686ca).(const SbGeoAnglecxx . . $ SbGeoAngle# & phi, |
| 47 | const SbGeoAnglecxx . . $ SbGeoAngle# & lambda, |
| 48 | double * easting, |
| 49 | double * northing) const; |
| 50 | |
| 51 | virtual void unprojectcxx . . $ SbPolarStereographic#unproject(5586c3be8c083b9f).(const double easting, |
| 52 | const double northing, |
| 53 | SbGeoAnglecxx . . $ SbGeoAngle# * phi, |
| 54 | SbGeoAnglecxx . . $ SbGeoAngle# * lambda) const; |
| 55 | |
| 56 | private: |
| 57 | |
| 58 | double tFcxx . . $ SbPolarStereographic#tF.; |
| 59 | double mFcxx . . $ SbPolarStereographic#mF.; |
| 60 | double k0cxx . . $ SbPolarStereographic#k0.; |
| 61 | |
| 62 | }; |
| 63 | |
| 64 | #endif // COIN_SBPOLARSTEREOGRAPHIC_H |