Class ncsa.horizon.coordinates.systems.SphLinCoordinateSystem
All Packages Class Hierarchy This Package Previous Next Index
Class ncsa.horizon.coordinates.systems.SphLinCoordinateSystem
java.lang.Object
|
+----java.util.Observable
|
+----ncsa.horizon.coordinates.CoordinateSystem
|
+----ncsa.horizon.coordinates.systems.SphLinCoordinateSystem
- public class SphLinCoordinateSystem
- extends CoordinateSystem
a description of a world coordinate system that can contain up to one
pair of spherical (longitude/latitude) axes and any number of additional
linear axes.
-
SphLinCoordinateSystem(int)
- construct a coordinate system with the specified number of
(linear) axes.
-
SphLinCoordinateSystem(int, Metadata)
- construct a coordinate system with the specified number of axes
and described by the specified set of Metadata.
-
SphLinCoordinateSystem(int, Metadata, double[], double[], double[], double[], String[], double[], int, int, String, double[], Double, Double)
- create a SphLinCoordinateSystem object specifying all internal
data.
-
SphLinCoordinateSystem(Metadata)
- construct a coordinate system described by the specified set of
Metadata.
SphLinCoordinateSystem
public SphLinCoordinateSystem(int naxes)
- construct a coordinate system with the specified number of
(linear) axes.
SphLinCoordinateSystem
public SphLinCoordinateSystem(int naxes,
Metadata md) throws IllegalTransformException
- construct a coordinate system with the specified number of axes
and described by the specified set of Metadata. The Metadata
is examined to determine the paramters of the system, including
which of the axes define the spherical portion of the system.
SphLinCoordinateSystem
public SphLinCoordinateSystem(Metadata md) throws IllegalTransformException
- construct a coordinate system described by the specified set of
Metadata. The Metadata is examined to determine the paramters
of the system, including which of the axes define the spherical
portion of the system.
SphLinCoordinateSystem
public SphLinCoordinateSystem(int naxes,
Metadata md,
double refpos[],
double refoff[],
double refval[],
double stepsz[],
String names[],
double matrix[],
int longaxis,
int lataxis,
String pcode,
double prjparms[],
Double longpole,
Double latpole) throws IllegalTransformException
- create a SphLinCoordinateSystem object specifying all internal
data. Missing values in the input array are set to default
values.
- Parameters:
- naxes - the maximum number of axes this transform can
operate on
- md - metadata describing the coordinate system; data
in this list are overridden by the other data
given in this constructor
- refpos - the position in the "input" system (the system
forward() transforms from) that is equal to the
the refval position. Default equals 0.
- refval - the position in the "output" system (the system
forward() transforms to) that is equal to the
the refpos position. Default equals 0.
- refoff - An extra offset that gets added to the reference
position. Default equals 0;
- stepsz - the size of a voxel of the "output" system (the
system that forward() transforms to) in units of
the "input" system
- names - names to assign to transformed axes. A null element
of null array means do not reassign name. These
values only affect the behavior of getMetadata();
- matrix - a linear tranformation matrix for correcting for
skew and/or rotation. A null value means no matrix
should be applied.
- longaxis - the index (relative to zero) of the longitude axis,
or <0 if such an axis does not exist.
- lataxis - the index (relative to zero) of the latitude axis,
or <0 if such an axis does not exist.
- pcode - a 3-character string representing the projection type;
currently supported types include those listed in
ProjectionType
- prjparms - an array containing the projection parameters (or
null if none available). The number of elements needed
depends on the value of pcode.
- longpole - The world longitude of the reference system's pole, or
null if the default should be used. A value of 999.0
is also taken to mean that the default should be used.
- latpole - The world latitude of the reference system's pole, or
null if the default should be used. A value of 999.0
is also taken to mean that the default should be used.
- Throws: IllegalTransformException
- if the parameters do not define
a valid transformation.
All Packages Class Hierarchy This Package Previous Next Index