public class TrivialMapProjection extends MapProjection
Constructor and Description |
---|
TrivialMapProjection()
Create a MapProjection that just returns the input tuple.
|
TrivialMapProjection(RealTupleType reference)
Create a MapProjection that just returns the input tuple.
|
TrivialMapProjection(RealTupleType type,
Rectangle2D bounds)
Create a MapProjection that just returns the input tuple.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
See if the object in question is equal to this CoordinateSystem.
|
double[][] |
fromReference(double[][] refTuple)
Transform from the reference coordinates
|
float[][] |
fromReference(float[][] refTuple)
Transform from the reference coordinates
|
Rectangle2D |
getDefaultMapArea()
Get a reasonable bounding box in this coordinate system.
|
double[][] |
toReference(double[][] tuple)
Transform to the reference coordinates
|
float[][] |
toReference(float[][] tuple)
Transform to the reference coordinates
|
getCenterLatLon, getLatLon, getXIndex, getYIndex, isLatLonOrder, isXYOrder, toString
getLatitudeIndex, getLongitudeIndex
canConvert, fromReference, fromReference, getCoordinateSystemUnits, getDimension, getReference, getReferenceUnits, toReference, toReference, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinatesFreeUnits, transformCoordinatesFreeUnits
public TrivialMapProjection() throws VisADException
VisADException
- reference does not contain Latitude/Longitude
or couldn't create the necessary VisAD objectpublic TrivialMapProjection(RealTupleType reference) throws VisADException
reference
- reference RealTupleTypeVisADException
- reference does not contain Latitude/Longitude
or couldn't create the necessary VisAD objectpublic TrivialMapProjection(RealTupleType type, Rectangle2D bounds) throws VisADException
type
- reference RealTupleTypebounds
- rectangle boundsVisADException
- reference does not contain Latitude/Longitude
or couldn't create the necessary VisAD objectpublic double[][] toReference(double[][] tuple) throws VisADException
toReference
in class CoordinateSystem
tuple
- array of valuesVisADException
- tuple is null or wrong dimensionpublic double[][] fromReference(double[][] refTuple) throws VisADException
fromReference
in class CoordinateSystem
refTuple
- array of valuesVisADException
- tuple is null or wrong dimensionpublic float[][] toReference(float[][] tuple) throws VisADException
toReference
in class CoordinateSystem
tuple
- array of valuesVisADException
- tuple is null or wrong dimensionpublic float[][] fromReference(float[][] refTuple) throws VisADException
fromReference
in class CoordinateSystem
refTuple
- array of valuesVisADException
- tuple is null or wrong dimensionpublic boolean equals(Object o)
equals
in class CoordinateSystem
o
- Object in questionpublic Rectangle2D getDefaultMapArea()
getDefaultMapArea
in class MapProjection
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.