|
|||||||||
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. A range is defined by two boundary points and the boundary points have a different interpretation for each coordinate system.
Method Summary | |
PointI |
boundPoint(PointI point)
Returns the argument 'point' if it is included in the range. |
CoordinateSystemI |
coordinateSystem()
Returns the coordinate system used by the range. |
RangeI |
getExpandedRange(PointI point)
Returns a range that includes both this range and the argument. |
PointI |
getMax()
Returns the maximum boundary point. |
PointI |
getMin()
Returns the minimum boundary point. |
boolean |
includes(PointI point)
Returns true if the point is inside the range or on the boundary. |
Method Detail |
public PointI getMin()
public PointI getMax()
public CoordinateSystemI coordinateSystem()
public boolean includes(PointI point)
public PointI boundPoint(PointI point)
public RangeI getExpandedRange(PointI point)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |