org.jscience.geography.coordinates
Class Coord3D
java.lang.Object
org.jscience.geography.coordinates.Coord
org.jscience.geography.coordinates.Coord3D
- All Implemented Interfaces:
- java.lang.Cloneable, Coordinates
- Direct Known Subclasses:
- Coord3D_Celestiocentric, Coord3D_Celestiodetic, Coord3D_Celestiomagnetic, Coord3D_EquatorialInertial, Coord3D_EquidistantCylindrical, Coord3D_HeliosphericAriesEcliptic, Coord3D_HeliosphericEarthEcliptic, Coord3D_HeliosphericEarthEquatorial, Coord3D_LambertConformalConic, Coord3D_LocalSpaceRectangular3D, Coord3D_LocalTangentSpaceAzimuthalSpherical, Coord3D_LocalTangentSpaceCylindrical, Coord3D_LocalTangentSpaceEuclidean, Coord3D_Mercator, Coord3D_ObliqueMercatorSpherical, Coord3D_Planetodetic, Coord3D_PolarStereographic, Coord3D_SolarEcliptic, Coord3D_SolarEquatorial, Coord3D_SolarMagneticDipole, Coord3D_SolarMagneticEcliptic, Coord3D_TransverseMercator
public abstract class Coord3D
- extends Coord
The Coord3D abstract class is used for representing 3D coordinates.
- See Also:
Coord
|
Field Summary |
protected double[] |
_values
|
|
Constructor Summary |
protected |
Coord3D(BaseSRF assocSRF,
org.jscience.geography.coordinates.Coord_ClassType type)
|
|
Method Summary |
void |
copyTo(Coord3D coord)
Copies the component values from this coordinate to the parameter coordinate. |
double[] |
getValues()
Returns the coordinate component values as an array |
boolean |
isEqual(Coord coord)
Returns TRUE if the coordinate component values are "equal" |
void |
setValues(double[] values)
Sets the coordinate component values as an array |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_values
protected double[] _values
Coord3D
protected Coord3D(BaseSRF assocSRF,
org.jscience.geography.coordinates.Coord_ClassType type)
getValues
public double[] getValues()
- Returns the coordinate component values as an array
- Specified by:
getValues in interface Coordinates- Specified by:
getValues in class Coord
- Returns:
- an array of size 3 containing the 3D coordinate component values
setValues
public void setValues(double[] values)
throws SrmException
- Sets the coordinate component values as an array
- Parameters:
values - in: array of size 3 containing the 3D coordinate component values
- Throws:
SrmException
isEqual
public boolean isEqual(Coord coord)
- Returns TRUE if the coordinate component values are "equal"
- Specified by:
isEqual in class Coord
- Parameters:
coord - DOCUMENT ME!
- Returns:
- DOCUMENT ME!
copyTo
public void copyTo(Coord3D coord)
throws SrmException
- Copies the component values from this coordinate to the parameter coordinate.
- Throws:
SrmException