|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--drasys.or.geom.rect2.CoordinateSystem
The object that describes the 2D rectangular coordinate system. The constructor for this class is private and an instance can be obtained with CoordinateSystem.getInstance();
Field Summary | |
protected static double |
_accuracy
|
Method Summary | |
java.lang.String |
dimensionName(int i)
Returns dimension names by ordinality. |
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 CoordinateSystemI |
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 a,
PointI b)
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 arguments. |
boolean |
isSymmetric()
Retuns true if distances are symmetric. |
static void |
setAccuracy(double accuracy)
Sets the absolute accuracy required in this coordinate system. |
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 CoordinateSystemI getInstance()
public double getAccuracy()
public static void setAccuracy(double accuracy)
public boolean equals(double a, double b)
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(RangeI range)
public RangeI getRangeInstance(PointI a, PointI b)
public boolean equals(java.lang.Object o)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |