Interface SegmentString

Direct Known Subclasses: NodableSegmentString
All Known Implementing Classes: BasicSegmentString
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.

Other

  • version: 1.7
public Object getData()
Gets the user-defined data for this segment string.
Returns:
the user-defined data
public void setData(Object data)
Sets the user-defined data for this segment string.
Parameters:
data - data an Object containing user-defined data
public int size()
public Coordinate getCoordinate(int i)
public Coordinate[] getCoordinates()
public boolean isClosed()