20 68.0, 72.0, 76.0, 80.0, 90.0};
22 163328, 137216, 110080, 82432 };
68 double northing = 0.0;
94 double lat = worldPoint.
latd();
95 double lon = worldPoint.
lond();
129 double adrgscale = 1000000/scale;
132 double x_pix = (double) adrgscale*
theCadrgArcA[zone-1] / 512.0;
136 x_pix = x_pix * 1.33333;
139 x_pix = ossim::round<int>(x_pix);
147 double adrgscale = 1000000/scale;
148 const long CADRG_ARC_B = 400384;
150 double y_pix = (double) adrgscale * CADRG_ARC_B / 512.0;
155 y_pix = y_pix * 0.33333;
158 y_pix = ossim::round<int>(y_pix);
189 const char* prefix)
const 373 const char* zone = kwl.
find(prefix,
379 const char* mapScale = kwl.
find(prefix,
385 const char *height = kwl.
find(prefix,
387 const char *width = kwl.
find(prefix,
409 if (!ossimMapProjection::operator==(proj))
413 if (!p)
return false;
ossimDpt thePixelConstant
static double theCadrgArcA[8]
static const char * DATUM_KW
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
double lond() const
Will convert the radian measure to degrees.
virtual ossimDpt worldToLineSample(const ossimGpt &worldPoint) const
Represents serializable keyword/value map.
static const char * UL_LAT_KW
static double theSouthLimit
const char * find(const char *key) const
bool almostEqual(T x, T y, T tolerance=FLT_EPSILON)
void clampLon(double low, double high)
virtual const ossimString & code() const
static const char * NUMBER_LINES_KW
virtual ossimDpt forward(const ossimGpt &latLon) const
All map projections will convert the world coordinate to an easting northing (Meters).
static const char * LR_LON_KW
double latd() const
Will convert the radian measure to degrees.
void changeDatum(const ossimDatum *datum)
This will actually perform a shift.
const ossimDatum * datum() const
datum().
void add(const char *prefix, const ossimKeywordlist &kwl, bool overwrite=true)
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
static const char * ZONE_KW
virtual ossimGpt lineSampleToWorld(const ossimDpt &projectedPoint) const
static const char * LR_LAT_KW
static const char * LL_LON_KW
static double theNorthLimit
static const char * LL_LAT_KW
double computeYPixConstant(double scale) const
void clampLat(double low, double high)
virtual ossimObject * dup() const
static double theOldZoneExtents[10]
long toLong() const
toLong's deprecated, please use the toInts...
double computeXPixConstant(double scale, long zone) const
virtual bool operator==(const ossimProjection &projection) const
Returns TRUE if principal parameters are within epsilon tolerance.
static const char * UL_LON_KW
static const char * UR_LAT_KW
static const char * UR_LON_KW
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
#define RTTI_DEF1(cls, name, b1)
virtual ~ossimCadrgProjection()
virtual ossimGpt inverse(const ossimDpt &eastingNorthing) const
Will take a point in meters and convert it to ground.
static const char * NUMBER_SAMPLES_KW
const ossimDatum * theDatum
This is only set if we want to have built in datum shifting.