public class CachingCoordinateSystem extends CoordinateSystem
Modifier and Type | Field and Description |
---|---|
static boolean |
debugTime
Show time to transform
|
Constructor and Description |
---|
CachingCoordinateSystem(CoordinateSystem cs)
Construct a new CachingCoordinateSystem that wraps around the input.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Check for equality of CoordinateSystem objects
|
double[][] |
fromReference(double[][] inputs)
Wrapper around the fromReference method of the input CoordinateSystem.
|
float[][] |
fromReference(float[][] inputs)
Wrapper around the fromReference method of the input CoordinateSystem.
|
CoordinateSystem |
getCachedCoordinateSystem()
Access to the "cached" CS
|
double[][] |
toReference(double[][] inputs)
Wrapper around the toReference method of the input CoordinateSystem.
|
float[][] |
toReference(float[][] inputs)
Wrapper around the toReference method of the input CoordinateSystem.
|
String |
toString()
A decriptive string of this CS.
|
canConvert, fromReference, fromReference, getCoordinateSystemUnits, getDimension, getReference, getReferenceUnits, toReference, toReference, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinatesFreeUnits, transformCoordinatesFreeUnits
public CachingCoordinateSystem(CoordinateSystem cs) throws VisADException
cs
- CoordinateSystem to wrapVisADException
public double[][] toReference(double[][] inputs) throws VisADException
toReference
in class CoordinateSystem
inputs
- values to transformVisADException
- when wrapped CS doespublic double[][] fromReference(double[][] inputs) throws VisADException
fromReference
in class CoordinateSystem
inputs
- values to transformVisADException
- when wrapped CS doespublic float[][] toReference(float[][] inputs) throws VisADException
toReference
in class CoordinateSystem
inputs
- values to transformVisADException
- when wrapped CS doespublic float[][] fromReference(float[][] inputs) throws VisADException
fromReference
in class CoordinateSystem
inputs
- values to transformVisADException
- when wrapped CS doespublic boolean equals(Object obj)
equals
in class CoordinateSystem
obj
- other object in questionpublic CoordinateSystem getCachedCoordinateSystem()
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.