public static final class PolarHorizontalWind.PolarCoordinateSystem
extends visad.CoordinateSystem
| Constructor and Description |
|---|
PolarCoordinateSystem(visad.RealTupleType refType,
visad.Unit speedUnit,
visad.Unit directionUnit)
Constructs from units for speed and direction.
|
PolarCoordinateSystem(visad.Unit speedUnit,
visad.Unit directionUnit)
Constructs from units for speed and direction.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object)
Tests for semantic equality with an object.
|
double[][] |
fromReference(double[][] values)
Converts wind coordinates from cartesian to polar.
|
float[][] |
fromReference(float[][] values)
Converts wind coordinates from cartesian to polar.
|
double[][] |
toReference(double[][] values)
Converts wind coordinates from polar to cartesian.
|
float[][] |
toReference(float[][] values)
Converts wind coordinates from polar to cartesian.
|
canConvert, fromReference, fromReference, getCoordinateSystemUnits, getDimension, getReference, getReferenceUnits, toReference, toReference, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinatesFreeUnits, transformCoordinatesFreeUnitspublic PolarCoordinateSystem(visad.Unit speedUnit,
visad.Unit directionUnit)
throws visad.VisADException
speedUnit - The unit for speed.directionUnit - The unit for direction.visad.VisADException - Couldn't create necessary VisAD object.public PolarCoordinateSystem(visad.RealTupleType refType,
visad.Unit speedUnit,
visad.Unit directionUnit)
throws visad.VisADException
refType - The reference typespeedUnit - The unit for speed.directionUnit - The unit for direction.visad.VisADException - Couldn't create necessary VisAD object.public double[][] toReference(double[][] values)
throws visad.VisADException
toReference in class visad.CoordinateSystemvalues - Polar wind coordinates (speed,
direction).visad.VisADException - Couldn't create necessary VisAD object.public float[][] toReference(float[][] values)
throws visad.VisADException
toReference in class visad.CoordinateSystemvalues - Polar wind coordinates (speed,
direction).visad.VisADException - Couldn't create necessary VisAD object.public double[][] fromReference(double[][] values)
throws visad.VisADException
fromReference in class visad.CoordinateSystemvalues - Cartesian wind coordinates (u, v).visad.VisADException - Couldn't create necessary VisAD object.public float[][] fromReference(float[][] values)
throws visad.VisADException
fromReference in class visad.CoordinateSystemvalues - Cartesian wind coordinates (u, v).visad.VisADException - Couldn't create necessary VisAD object.public boolean equals(java.lang.Object object)
equals in class visad.CoordinateSystemobject - The object.