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

            this.pts  = pts;
            this.data = data;
        }
Exemplo n.º 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;
            this.data = data;
        }
Exemplo n.º 3
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="nodeList"></param>
 NodeVertexIterator(SegmentNodeList nodeList)
 {
     this.nodeList = nodeList;
     edge = nodeList.Edge;
     nodeIt = nodeList.GetEnumerator();
 }
Exemplo n.º 4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="nodeList"></param>
 NodeVertexIterator(SegmentNodeList nodeList)
 {
     this.nodeList = nodeList;
     edge          = nodeList.Edge;
     nodeIt        = nodeList.GetEnumerator();
 }