public class EllipsoidPerspectiveProjection extends SensorScanProjection
EllipsoidPerspectiveProjection
class simulates the
earth view that a theoretical satellite would have from orbit. The
satellite is equipped with a sensor that sweeps rows from top to
bottom and columns from left to right at user-specified stepping
angles. It is assumed that the satellite is pointed at the center
of the Earth. A WGS 84 earth model is used to perform ellipsoid
intersection and geodetic latitude calculations.Modifier and Type | Field and Description |
---|---|
static int |
SENSOR_CODE
The sensor type code.
|
static java.lang.String |
SENSOR_TYPE
The sensor type string.
|
DESCRIPTION, parameters
dims
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 |
---|
EllipsoidPerspectiveProjection(double[] parameters,
int[] dimensions)
Constructs a new ellipsoid perspective projection.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
describe()
Provides a description of this class.
|
int |
getSensorCode()
Gets a code for this sensor scan type.
|
java.lang.String |
getSensorType()
Gets a description of this sensor scan type.
|
static void |
main(java.lang.String[] argv)
Tests this class.
|
protected void |
transformImpl(DataLocation dataLoc,
EarthLocation earthLoc)
Implements the data to geographic transform.
|
protected void |
transformImpl(EarthLocation earthLoc,
DataLocation dataLoc)
Implements the geographic to data transform.
|
getParameters
get2DVersion, getBoundingBox, getWorldAxes, isOrientable, setPointTransform, transformToPoint
clone, distance, getDatum, getDimensions, getResolution, getSpheroid, getSpheroid, getSubset, transform, transform, transform, transform
getMetadataMap
public static final java.lang.String SENSOR_TYPE
public static final int SENSOR_CODE
public EllipsoidPerspectiveProjection(double[] parameters, int[] dimensions)
parameters
- the array of sensor parameters:
dimensions
- the total grid dimensions as [rows, columns].public java.lang.String getSensorType()
SensorScanProjection
getSensorType
in class SensorScanProjection
public int getSensorCode()
SensorScanProjection
getSensorCode
in class SensorScanProjection
protected void transformImpl(EarthLocation earthLoc, DataLocation dataLoc)
EarthTransform
transformImpl
in class EarthTransform
EarthTransform.transform(EarthLocation,DataLocation)
protected void transformImpl(DataLocation dataLoc, EarthLocation earthLoc)
EarthTransform
transformImpl
in class EarthTransform
EarthTransform.transform(DataLocation,EarthLocation)
public java.lang.String describe()
SensorScanProjection
describe
in class SensorScanProjection
public static void main(java.lang.String[] argv)
argv
- the array of command line parameters.