Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.vividsolutions.jts.noding
Interface SegmentString

All Known Subinterfaces:
  NodableSegmentString

All Known Implementing Classes:
  BasicSegmentString, NodedSegmentString

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.

Version:
  1.7

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

### getData

    public java.lang.Object getData()

  Gets the user-defined data for this segment string.

  Returns:
    the user-defined data

### setData

    public void setData(java.lang.Object data)

  Sets the user-defined data for this segment string.

  Parameters:
    `data` - an Object containing user-defined data

### size

    public int size()

### getCoordinate

    public Coordinate getCoordinate(int i)

### getCoordinates

    public Coordinate[] getCoordinates()

### isClosed

    public boolean isClosed()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD