25 # define PI_OVER_2 ( M_PI / 2.0) 28 # define TWO_PI (2.0 * M_PI) 31 #define MILL_NO_ERROR 0x0000 32 #define MILL_LAT_ERROR 0x0001 33 #define MILL_LON_ERROR 0x0002 34 #define MILL_EASTING_ERROR 0x0004 35 #define MILL_NORTHING_ERROR 0x0008 36 #define MILL_CENT_MER_ERROR 0x0020 37 #define MILL_A_ERROR 0x0040 38 #define MILL_B_ERROR 0x0080 39 #define MILL_A_LESS_B_ERROR 0x0100 110 double falseNorthing)
133 double easting = 0.0;
134 double northing = 0.0;
185 double Central_Meridian ,
186 double False_Easting,
187 double False_Northing)
256 double *Central_Meridian,
257 double *False_Easting,
258 double *False_Northing)
const 287 double *Northing)
const 303 double slat = sin(0.8 * Latitude);
329 *Northing = (
Ra / 1.6) * log((1.0 + slat) /
339 double *Longitude)
const 372 *Latitude = atan(sinh(0.8 * dy /
Ra)) / 0.8;
virtual ossimDpt forward(const ossimGpt &latLon) const
All map projections will convert the world coordinate to an easting northing (Meters).
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of an object from a keyword list.
Represents serializable keyword/value map.
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
const char * find(const char *key) const
virtual const ossimString & code() const
long Set_Miller_Parameters(double a, double f, double Central_Meridian, double False_Easting, double False_Northing)
void setFalseEasting(double falseEasting)
static const char * TYPE_KW
long Convert_Miller_To_Geodetic(double Easting, double Northing, double *Latitude, double *Longitude) const
void changeDatum(const ossimDatum *datum)
This will actually perform a shift.
ossimMillerProjection(const ossimEllipsoid &ellipsoid=ossimEllipsoid(), const ossimGpt &origin=ossimGpt())
#define STATIC_TYPE_NAME(T)
const ossimDatum * datum() const
datum().
void setFalseEastingNorthing(double falseEasting, double falseNorthing)
double Mill_False_Northing
long Convert_Geodetic_To_Miller(double Latitude, double Longitude, double *Easting, double *Northing) const
const double & getA() const
double lonr() const
Returns the longitude in radian measure.
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save the state of an object to a keyword list.
double Mill_False_Easting
virtual ossimGpt inverse(const ossimDpt &eastingNorthing) const
Will take a point in meters and convert it to ground.
double Mill_Delta_Northing
double latr() const
latr().
const double & getFlattening() const
void setFalseNorthing(double falseNorthing)
ossimEllipsoid theEllipsoid
This method verifies that the projection parameters match the current pcs code.
#define RTTI_DEF1(cls, name, b1)
ossimDpt theFalseEastingNorthing
Hold the false easting northing.
void setCentralMeridian(double centralMeridian)
void Get_Miller_Parameters(double *a, double *f, double *Central_Meridian, double *False_Easting, double *False_Northing) const
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
const ossimDatum * theDatum
This is only set if we want to have built in datum shifting.