public class WindPolarCoordinateSystem extends CoordinateSystem
Constructor and Description |
---|
WindPolarCoordinateSystem()
simple constructor for "static" conversions
|
WindPolarCoordinateSystem(RealTupleType reference)
construct a CoordinateSystem for (longitude, radius)
relative to a 2-D Cartesian reference;
this constructor supplies units =
{CommonUnit.Degree, CommonUnit.meterPerSecond}
to the super constructor, in order to ensure Unit
compatibility with its use of trigonometric functions
|
WindPolarCoordinateSystem(RealTupleType reference,
Unit[] units)
constructor to set units
|
Modifier and Type | Method and Description |
---|---|
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.
|
float[][] |
fromReference(float[][] tuples)
Convert RealTuple values from Reference coordinates;
for efficiency, input and output values are passed as
float[][] arrays rather than RealTuple[] arrays; the array
organization is float[tuple_dimension][number_of_tuples];
can modify and return argument array.
|
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.
|
float[][] |
toReference(float[][] tuples)
Convert RealTuple values to Reference coordinates;
for efficiency, input and output values are passed as
float[][] arrays rather than RealTuple[] arrays; the array
organization is float[tuple_dimension][number_of_tuples];
can modify and return argument array.
|
canConvert, fromReference, fromReference, getCoordinateSystemUnits, getDimension, getReference, getReferenceUnits, toReference, toReference, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinatesFreeUnits, transformCoordinatesFreeUnits
public WindPolarCoordinateSystem(RealTupleType reference) throws VisADException
VisADException
public WindPolarCoordinateSystem(RealTupleType reference, Unit[] units) throws VisADException
VisADException
public WindPolarCoordinateSystem() throws VisADException
VisADException
public double[][] toReference(double[][] tuples) throws VisADException
CoordinateSystem
toReference
in class CoordinateSystem
tuples
- array of values assumed to be in coordinateSystem
units. Input array is not guaranteed to be immutable
and could be used for return.VisADException
- if problem with conversion.public double[][] fromReference(double[][] tuples) throws VisADException
CoordinateSystem
fromReference
in class CoordinateSystem
tuples
- array of values assumed to be in reference
Units. Input array is not guaranteed to be immutable
and could be used for return.VisADException
- if problem with conversion.public float[][] toReference(float[][] tuples) throws VisADException
CoordinateSystem
CoordinateSystem.toReference(double[][])
and then returns that converted
double array back as a float array. For efficiency, subclasses
should override this implementation.toReference
in class CoordinateSystem
tuples
- array of values assumed to be in coordinateSystem
units. Input array is not guaranteed to be immutable
and could be used for return.VisADException
- if problem with conversion.public float[][] fromReference(float[][] tuples) throws VisADException
CoordinateSystem
CoordinateSystem.toReference(double[][])
and then returns that converted
double array back as a float array. For efficiency, subclasses
should override this implementation.fromReference
in class CoordinateSystem
tuples
- array of values assumed to be in reference
Units. Input array is not guaranteed to be immutable
and could be used for return.VisADException
- if problem with conversion.public boolean equals(Object cs)
CoordinateSystem
equals
in class CoordinateSystem
cs
- the object in question.true
if and only if this instance equals cs.Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.