|
JTS Topology Suite version 1.13 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SegmentString
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 |
---|
java.lang.Object getData()
void setData(java.lang.Object data)
data
- an Object containing user-defined dataint size()
Coordinate getCoordinate(int i)
Coordinate[] getCoordinates()
boolean isClosed()
|
JTS Topology Suite version 1.13 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |