NodeVertexIterator(SegmentNodeList nodeList)
 {
     _nodeList = nodeList;
     _edge = nodeList.Edge;
     _nodeIt = nodeList.GetEnumerator();            
 }
        /// <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(IList<Coordinate> pts, Object data)
        {
            _nodeList = new SegmentNodeList(this);

            _pts = pts;
            _data = data;
        }