public class PolarCoordConverter extends Object
Modifier and Type | Field and Description |
---|---|
static long |
POLAR_EASTING_ERROR |
static long |
POLAR_NORTHING_ERROR |
static long |
POLAR_RADIUS_ERROR |
Modifier and Type | Method and Description |
---|---|
long |
convertGeodeticToPolarStereographic(double Latitude,
double Longitude)
The function Convert_Geodetic_To_Polar_Stereographic converts geodetic coordinates (latitude and longitude) to
Polar Stereographic coordinates (easting and northing), according to the current ellipsoid and Polar
Stereographic projection parameters.
|
long |
convertPolarStereographicToGeodetic(double Easting,
double Northing)
The function Convert_Polar_Stereographic_To_Geodetic converts Polar
Stereographic coordinates (easting and northing) to geodetic
coordinates (latitude and longitude) according to the current ellipsoid
and Polar Stereographic projection Parameters.
|
double |
getEasting() |
double |
getLatitude() |
double |
getLongitude() |
double |
getNorthing() |
long |
setPolarStereographicParameters(double a,
double f,
double Latitude_of_True_Scale,
double Longitude_Down_from_Pole,
double False_Easting,
double False_Northing)
The function setPolarStereographicParameters receives the ellipsoid parameters and Polar Stereograpic projection
parameters as inputs, and sets the corresponding state variables.
|
public static final long POLAR_EASTING_ERROR
public static final long POLAR_NORTHING_ERROR
public static final long POLAR_RADIUS_ERROR
public long convertGeodeticToPolarStereographic(double Latitude, double Longitude)
Latitude
- latitude, in radiansLongitude
- Longitude, in radianspublic long convertPolarStereographicToGeodetic(double Easting, double Northing)
Easting
- Easting (X), in metersNorthing
- Northing (Y), in meterspublic double getEasting()
public double getLatitude()
public double getLongitude()
public double getNorthing()
public long setPolarStereographicParameters(double a, double f, double Latitude_of_True_Scale, double Longitude_Down_from_Pole, double False_Easting, double False_Northing)
a
- Semi-major axis of ellipsoid, in metersf
- Flattening of ellipsoidLatitude_of_True_Scale
- Latitude of true scale, in radiansLongitude_Down_from_Pole
- Longitude down from pole, in radiansFalse_Easting
- Easting (X) at center of projection, in metersFalse_Northing
- Northing (Y) at center of projection, in meters