visad.data.hdfeos
Class PolarStereographic
java.lang.Object
visad.CoordinateSystem
visad.data.hdfeos.PolarStereographic
- All Implemented Interfaces:
- Serializable
- public class PolarStereographic
- extends CoordinateSystem
PolarStereographic is the VisAD class for coordinate
systems for ( X_map, Y_map ).
- See Also:
- Serialized Form
|
Field Summary |
(package private) double |
center_lat
|
(package private) double |
center_lon
|
(package private) double |
e
|
(package private) double |
e4
|
(package private) double |
es
|
(package private) double |
fac
|
(package private) double |
false_easting
|
(package private) double |
false_northing
|
(package private) double |
ind
|
(package private) double |
mcs
|
(package private) double |
r_major
|
(package private) double |
r_minor
|
(package private) double |
tcs
|
|
Constructor Summary |
PolarStereographic(double lon_center,
double lat_center)
|
PolarStereographic(double r_major,
double r_minor,
double lon_center,
double lat_center)
|
PolarStereographic(RealTupleType reference,
double r_major,
double r_minor,
double lon_center,
double lat_center)
|
PolarStereographic(RealTupleType reference,
double r_major,
double r_minor,
double lon_center,
double lat_center,
double false_easting,
double false_northing)
|
|
Method Summary |
boolean |
equals(Object cs)
Indicates whether or not this instance is equal to an object
(note must test for cs == null). |
double[][] |
fromReference(double[][] tuples)
Convert RealTuple values from Reference coordinates;
for efficiency, input and output values are passed as
double[][] arrays rather than RealTuple[] arrays; the array
organization is double[tuple_dimension][number_of_tuples];
can modify and return argument array. |
static void |
main(String[] args)
|
static PolarStereographic |
makePolarStereographic(RealTupleType reference,
double La1,
double Lo1,
double Lov)
|
static PolarStereographic |
makePolarStereographic(RealTupleType reference,
double r_major,
double r_minor,
double La1,
double Lo1,
double Lov,
double lat_center)
|
double[][] |
toReference(double[][] tuples)
Convert RealTuple values to Reference coordinates;
for efficiency, input and output values are passed as
double[][] arrays rather than RealTuple[] arrays; the array
organization is double[tuple_dimension][number_of_tuples];
can modify and return argument array. |
| Methods inherited from class visad.CoordinateSystem |
canConvert, fromReference, fromReference, fromReference, getCoordinateSystemUnits, getDimension, getReference, getReferenceUnits, toReference, toReference, toReference, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinatesFreeUnits, transformCoordinatesFreeUnits |
r_major
double r_major
r_minor
double r_minor
es
double es
e
double e
e4
double e4
center_lon
double center_lon
center_lat
double center_lat
fac
double fac
ind
double ind
mcs
double mcs
tcs
double tcs
false_northing
double false_northing
false_easting
double false_easting
PolarStereographic
public PolarStereographic(double lon_center,
double lat_center)
throws VisADException
PolarStereographic
public PolarStereographic(double r_major,
double r_minor,
double lon_center,
double lat_center)
throws VisADException
PolarStereographic
public PolarStereographic(RealTupleType reference,
double r_major,
double r_minor,
double lon_center,
double lat_center)
throws VisADException
PolarStereographic
public PolarStereographic(RealTupleType reference,
double r_major,
double r_minor,
double lon_center,
double lat_center,
double false_easting,
double false_northing)
throws VisADException
makePolarStereographic
public static PolarStereographic makePolarStereographic(RealTupleType reference,
double La1,
double Lo1,
double Lov)
throws VisADException
- Throws:
VisADException
makePolarStereographic
public static PolarStereographic makePolarStereographic(RealTupleType reference,
double r_major,
double r_minor,
double La1,
double Lo1,
double Lov,
double lat_center)
throws VisADException
- Throws:
VisADException
toReference
public double[][] toReference(double[][] tuples)
throws VisADException
- Description copied from class:
CoordinateSystem
- Convert RealTuple values to Reference coordinates;
for efficiency, input and output values are passed as
double[][] arrays rather than RealTuple[] arrays; the array
organization is double[tuple_dimension][number_of_tuples];
can modify and return argument array.
- Specified by:
toReference in class CoordinateSystem
- Parameters:
tuples - array of values assumed to be in coordinateSystem
units. Input array is not guaranteed to be immutable
and could be used for return.
- Returns:
- array of double values in reference coordinates and Units.
- Throws:
VisADException - if problem with conversion.
fromReference
public double[][] fromReference(double[][] tuples)
throws VisADException
- Description copied from class:
CoordinateSystem
- Convert RealTuple values from Reference coordinates;
for efficiency, input and output values are passed as
double[][] arrays rather than RealTuple[] arrays; the array
organization is double[tuple_dimension][number_of_tuples];
can modify and return argument array.
- Specified by:
fromReference in class CoordinateSystem
- Parameters:
tuples - array of values assumed to be in reference
Units. Input array is not guaranteed to be immutable
and could be used for return.
- Returns:
- array of double values in CoordinateSystem Units.
- Throws:
VisADException - if problem with conversion.
equals
public boolean equals(Object cs)
- Description copied from class:
CoordinateSystem
- Indicates whether or not this instance is equal to an object
(note must test for cs == null).
- Specified by:
equals in class CoordinateSystem
- Parameters:
cs - the object in question.
- Returns:
true if and only if this instance equals cs.
main
public static void main(String[] args)
throws VisADException
- Throws:
VisADException