public abstract class Coord3D extends Coord
Coord| Modifier and Type | Field and Description |
|---|---|
protected double[] |
_values
An array to store the coordinate component values
|
| Modifier | Constructor and Description |
|---|---|
protected |
Coord3D(BaseSRF assocSRF,
Coord_ClassType type)
Constructor setting the associated SRF and the concrete class type
|
| Modifier and Type | Method and Description |
|---|---|
void |
copyTo(Coord3D coord)
Copies the component values from this coordinate to the parameter coordinate.
|
String |
getMGRS(int precision) |
double[] |
getValues()
Returns the coordinate component values as an array
|
protected String |
impl_get_mgrs(int precision) |
protected void |
impl_set_coord(String strMGRS) |
boolean |
isEqual(Coord coord)
Returns TRUE if the coordinate component values are "equal"
|
void |
setCoord(String strMGRS) |
void |
setValues(double[] values)
Sets the coordinate component values as an array
|
getClassType, getSRF, makeClone, toStringprotected Coord3D(BaseSRF assocSRF, Coord_ClassType type)
public double[] getValues()
public void setValues(double[] values)
throws SrmException
values - in: array of size 3 containing the 3D coordinate component valuesSrmExceptionpublic boolean isEqual(Coord coord)
public void copyTo(Coord3D coord) throws SrmException
SrmExceptionpublic String getMGRS(int precision) throws SrmException
SrmExceptionpublic void setCoord(String strMGRS) throws SrmException
SrmExceptionprotected String impl_get_mgrs(int precision) throws SrmException
SrmExceptionprotected void impl_set_coord(String strMGRS) throws SrmException
SrmExceptionCopyright © 2013 SEDRIS. All Rights Reserved.