|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface used by all algorithms to abstractly access coordinates.
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. |
double |
getAccuracy()
Returns the absolute accuracy required in the coordinate system. |
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. |
int |
sizeOfDimensions()
Returns the number of dimensions in the coordinate system. |
Method Detail |
public double getAccuracy()
public boolean equals(double a, double b)
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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |