public abstract class Coord2D 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 |
Coord2D(BaseSRF assocSRF,
Coord_ClassType type)
Constructor setting the associated SRF and the concrete class type
|
| Modifier and Type | Method and Description |
|---|---|
void |
copyTo(Coord2D 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
|
getClassType, getSRF, makeClone, toStringprotected Coord2D(BaseSRF assocSRF, Coord_ClassType type)
public double[] getValues()
public void setValues(double[] values)
throws SrmException
values - in: array of size 2 containing the
2D coordinate component valuesSrmExceptionpublic boolean isEqual(Coord coord)
public void copyTo(Coord2D coord) throws SrmException
SrmExceptionCopyright © 2013 SEDRIS. All Rights Reserved.