/// <summary> /// Creates a new segment string from a list of vertices. /// </summary> /// <param name="pts">The vertices of the segment string.</param> /// <param name="data">The user-defined data of this segment string (may be null).</param> public SegmentString(ICoordinate[] pts, Object data) { nodeList = new SegmentNodeList(this); this.pts = pts; this.data = data; }
/// <summary> /// /// </summary> /// <param name="nodeList"></param> NodeVertexIterator(SegmentNodeList nodeList) { this.nodeList = nodeList; edge = nodeList.Edge; nodeIt = nodeList.GetEnumerator(); }