Esempio n. 1
0
        /// <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;
        }
Esempio n. 2
0
 private NodeVertexIterator(SegmentNodeList nodeList)
 {
     _nodeList = nodeList;
     _edge     = nodeList.Edge;
     _nodeIt   = nodeList.GetEnumerator();
 }
Esempio n. 3
0
 private NodeVertexIterator(SegmentNodeList nodeList)
 {
     _nodeList = nodeList;
     _edge = nodeList.Edge;
     _nodeIt = nodeList.GetEnumerator();
 }
Esempio n. 4
0
        /// <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;
        }