visad.data.hdfeos
Class PolarStereographic

java.lang.Object
  extended by visad.CoordinateSystem
      extended by visad.data.hdfeos.PolarStereographic
All Implemented Interfaces:
java.io.Serializable

public class PolarStereographic
extends CoordinateSystem

PolarStereographic is the VisAD class for coordinate systems for ( X_map, Y_map ).

See Also:
Serialized Form

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(java.lang.Object cs)
          check for equality of CoordinateSystem objects; 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(java.lang.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, checkTable, fromReference, fromReference, getCoordinateSystemUnits, getDimension, getReference, getReferenceUnits, toReference, toReference, transformCoordinates, transformCoordinates, transformCoordinatesFreeUnits, transformCoordinatesFreeUnits
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolarStereographic

public PolarStereographic(double lon_center,
                          double lat_center)
                   throws VisADException
Throws:
VisADException

PolarStereographic

public PolarStereographic(double r_major,
                          double r_minor,
                          double lon_center,
                          double lat_center)
                   throws VisADException
Throws:
VisADException

PolarStereographic

public PolarStereographic(RealTupleType reference,
                          double r_major,
                          double r_minor,
                          double lon_center,
                          double lat_center)
                   throws VisADException
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
Throws:
VisADException
Method Detail

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
Throws:
VisADException

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
Throws:
VisADException

equals

public boolean equals(java.lang.Object cs)
Description copied from class: CoordinateSystem
check for equality of CoordinateSystem objects; must test for cs == null

Specified by:
equals in class CoordinateSystem

main

public static void main(java.lang.String[] args)
                 throws VisADException
Throws:
VisADException