|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for classes which represent a sequence of contiguous line segments. SegmentStrings can carry a context object, which is useful for preserving topological or parentage information.
Method Summary | |
Coordinate |
getCoordinate(int i)
|
Coordinate[] |
getCoordinates()
|
java.lang.Object |
getData()
Gets the user-defined data for this segment string. |
boolean |
isClosed()
|
void |
setData(java.lang.Object data)
Sets the user-defined data for this segment string. |
int |
size()
|
Method Detail |
public java.lang.Object getData()
public void setData(java.lang.Object data)
data
- an Object containing user-defined datapublic int size()
public Coordinate getCoordinate(int i)
public Coordinate[] getCoordinates()
public boolean isClosed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |