/// <summary>
 /// 
 /// </summary>
 /// <param name="e"></param>
 public MonotoneChainEdge(Edge e)
 {
     this.e = e;
     pts = e.Coordinates;
     MonotoneChainIndexer mcb = new MonotoneChainIndexer();
     startIndex = mcb.GetChainStartIndices(pts);
 }
示例#2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="e"></param>
        public MonotoneChainEdge(Edge e)
        {
            this.e = e;
            pts    = e.Coordinates;
            var mcb = new MonotoneChainIndexer();

            startIndex = mcb.GetChainStartIndices(pts);
        }