NodedSegmentString constructor

NodedSegmentString(
  1. List<Coordinate> pts,
  2. Object data
)

Creates a new segment string from a list of vertices.

@param pts the vertices of the segment string @param data the user-defined data of this segment string (may be null)

Implementation

NodedSegmentString(this.pts, this.data) {
  nodeList = new SegmentNodeList(this);
}