public class PolyconicProjection extends GCTPCStyleProjection
PolyconicProjection
class performs
Polyconic map projection calculations.ERROR, IN_BREAK, LAT, LON, OK, params, X, Y
C3P, D2R, ec, ec2, EPSLN, falseEast, falseNorth, HALF_PI, PI, R2D, rMajor, TWO_PI
datum, DESCRIPTION, forwardAffine, inverseAffine, positiveLon, spheroid, system, zone
dims
ALASKA, ALBERS, AZMEQD, EQRECT, EQUIDC, GEO, GNOMON, GOOD, GVNSP, HAMMER, HOM, IMOLL, LAMAZ, LAMCC, MAX_PROJECTIONS, MERCAT, MILLER, MOLL, OBEQA, ORTHO, POLYC, PROJECTION_NAMES, PS, ROBIN, SNSOID, SOM, SPCS, STEREO, TM, USDEF, UTM, VGRINT, WAGIV, WAGVII
AIRY, AUS_NAT, BESSEL, CLARKE1866, CLARKE1880, EVEREST, GRS1980, HOUGH, INT1909, INT1967, KRASS, MAX_SPHEROIDS, MERCURY1960, MOD_AIRY, MOD_EVEREST, MOD_MER1968, SE_ASIA, SPHERE, SPHEROID_INV_FLAT, SPHEROID_NAMES, SPHEROID_SEMI_MAJOR, SPHEROID_SEMI_MINOR, STD_RADIUS, WGS66, WGS72
Constructor and Description |
---|
PolyconicProjection(double rMajor,
double rMinor,
int[] dimensions,
java.awt.geom.AffineTransform affine,
double center_lon,
double center_lat,
double falseEast,
double falseNorth)
Constructs a map projection from the specified projection and
affine transform.
|
Modifier and Type | Method and Description |
---|---|
protected long |
projfor(double lat,
double lon,
double[] x,
double[] y)
Performs the actual forward calculation as specified in the
GCTP C code.
|
protected long |
projinv(double x,
double y,
double[] lon,
double[] lat)
Performs the actual inverse calculation as specified in the
GCTP C code.
|
cenlat, cenlon, cenlonmer, genrpt_long, genrpt, getParameters, mapTransformFor, mapTransformInv, offsetp, origin, p_error, p_error, p_error, paksz, pblank, phi1z, phi2z, phi3z, phi4z, ptitle, radius, radius2, setErrorStream, setParameters, setParamStream, sprintf, stanparl, stparl1
adjust_lon, asinz, calc_utm_zone, e0fn, e1fn, e2fn, e3fn, e4fn, mlfn, msfnz, pack_angle, pakcz, pakr2dm, phi1z, phi2z, phi3z, phi4z, qsfnz, setDatum, setFalse, sign, sphdz, tsfnz, unpack_angle
clone, describe, equals, getAffine, getDatum, getModified, getPixelDimensions, getPixelSize, getProjection, getSpheroid, getSpheroidName, getSubset, getSubset, getSystem, getSystemName, getZone, isOrientable, setAffine, setPositiveLon, transformImpl, transformImpl
get2DVersion, getBoundingBox, getWorldAxes, main, setPointTransform, transformToPoint
distance, getDimensions, getResolution, getSpheroid, getSpheroid, transform, transform, transform, transform
getMetadataMap
public PolyconicProjection(double rMajor, double rMinor, int[] dimensions, java.awt.geom.AffineTransform affine, double center_lon, double center_lat, double falseEast, double falseNorth) throws java.awt.geom.NoninvertibleTransformException
SpheroidConstants
and
ProjectionConstants
class should be consulted for
valid parameter constants.rMajor
- the semi-major axis in meters.rMinor
- the semi-minor axis in meters.dimensions
- the dimensions of the data grid as [rows,
columns]
.affine
- the affine transform for translating data
[row, column]
to map [x, y]
.center_lon
- the center longitude.center_lat
- the center latitude.falseEast
- the false easting value.falseNorth
- the false northing value.java.awt.geom.NoninvertibleTransformException
- if the map
projection to data coordinate affine transform is not
invertible.java.lang.IllegalArgumentException
- if the paramaters have an inconsistency.protected long projfor(double lat, double lon, double[] x, double[] y)
GCTPCStyleProjection
projfor
in class GCTPCStyleProjection
lat
- the latitude to convert.lon
- the longitude to convert.x
- the map coordinate x value (modified).y
- the map coordinate y value (modified).protected long projinv(double x, double y, double[] lon, double[] lat)
GCTPCStyleProjection
projinv
in class GCTPCStyleProjection
x
- the map coordinate x value (modified).y
- the map coordinate y value (modified).lon
- the longitude to convert.lat
- the latitude to convert.