visad.data.hdfeos
Class LambertConformalConic
- java.lang.Object
-
- visad.CoordinateSystem
-
- visad.data.hdfeos.LambertConformalConic
-
- All Implemented Interfaces:
- java.io.Serializable
public class LambertConformalConic extends CoordinateSystem
LambertConformalConic is the VisAD class for coordinate systems for ( X_map, Y_map ).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description LambertConformalConic(RealTupleType reference, double r_major, double r_minor, double s_lat1, double s_lat2, double lon_center, double lat_center, double false_easting, double false_northing)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanequals(java.lang.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 voidmain(java.lang.String[] args)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
-
-
-
-
Constructor Detail
-
LambertConformalConic
public LambertConformalConic(RealTupleType reference, double r_major, double r_minor, double s_lat1, double s_lat2, double lon_center, double lat_center, double false_easting, double false_northing) throws VisADException
- Throws:
VisADException
-
-
Method Detail
-
toReference
public double[][] toReference(double[][] tuples) throws VisADExceptionDescription copied from class:CoordinateSystemConvert 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:
toReferencein classCoordinateSystem- 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 VisADExceptionDescription copied from class:CoordinateSystemConvert 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:
fromReferencein classCoordinateSystem- 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(java.lang.Object cs)
Description copied from class:CoordinateSystemIndicates whether or not this instance is equal to an object (note must test for cs == null).- Specified by:
equalsin classCoordinateSystem- Parameters:
cs- the object in question.- Returns:
trueif and only if this instance equals cs.
-
main
public static void main(java.lang.String[] args) throws VisADException- Throws:
VisADException
-
-
DMelt 3.0 © DataMelt by jWork.ORG