Example #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(ICoordinate[] pts, Object data)
        {
            nodeList = new SegmentNodeList(this);

            this.pts = pts;
            Data     = data;
        }
Example #2
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(ICoordinate[] pts, Object data)
        {
            nodeList = new SegmentNodeList(this);

            this.pts = pts;
            Data = data;
        }
Example #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="nodeList"></param>
 NodeVertexIterator(SegmentNodeList nodeList)
 {
     this.nodeList = nodeList;
     edge          = nodeList.Edge;
     nodeIt        = nodeList.GetEnumerator();
 }
Example #4
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="nodeList"></param>
 NodeVertexIterator(SegmentNodeList nodeList)
 {
     this.nodeList = nodeList;
     edge = nodeList.Edge;
     nodeIt = nodeList.GetEnumerator();            
 }