|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--drasys.or.geom.geo.CoordinateSystem
The object that describes the geographic coordinate system. The constructor for this class is private and an instance can be obtained with CoordinateSystem.getInstance(); The default ellipsoid is "GRS 1984".
Field Summary | |
protected static double |
_accuracy
|
Method Summary | |
java.lang.String |
dimensionName(int i)
Returns the name of the dimension. |
boolean |
equals(double a,
double b)
Returns true if the arguments are equal to with in the accuracy of the coordinate system. |
boolean |
equals(java.lang.Object o)
|
double |
getAccuracy()
Returns the absolute accuracy required in this coordinate system. |
static EllipsoidI |
getEllipsoid()
Returns the current ellipsoid used to describe the shape of the earth. |
static CoordinateSystem |
getInstance()
|
PointI |
getPointInstance(double[] coordinates)
Returns an instance of a point object initialized to the coordinates. |
PointI |
getPointInstance(PointI point)
Returns an instance of a point object initialized to point. |
PointI |
getPointInstance(VectorI coordinates)
Returns an instance of a point object initialized to the coordinates. |
RangeI |
getRangeInstance(PointI boundaryPoint1,
PointI boundaryPoint2)
Returns an instance of a range object initialized to include the arguments. |
RangeI |
getRangeInstance(RangeI range)
Returns an instance of a range object initialized to include the argument. |
boolean |
isSymmetric()
Retuns true if distances are symmetric. |
static void |
setAccuracy(double accuracy)
Sets the absolute accuracy required in this coordinate system. |
static void |
setEllipsoid(EllipsoidI ellipsoid)
Sets the current ellipsoid used to describe the shape of the earth. |
int |
sizeOfDimensions()
Returns the number of dimensions in the coordinate system. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected static double _accuracy
Method Detail |
public static CoordinateSystem getInstance()
public double getAccuracy()
public static void setAccuracy(double accuracy)
public boolean equals(double a, double b)
public static EllipsoidI getEllipsoid()
public static void setEllipsoid(EllipsoidI ellipsoid)
public java.lang.String toString()
public int sizeOfDimensions()
public java.lang.String dimensionName(int i)
public boolean isSymmetric()
public PointI getPointInstance(PointI point)
public PointI getPointInstance(VectorI coordinates)
public PointI getPointInstance(double[] coordinates)
public RangeI getRangeInstance(PointI boundaryPoint1, PointI boundaryPoint2)
public RangeI getRangeInstance(RangeI range)
public boolean equals(java.lang.Object o)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |