private readonly NodedSegmentString _edge;  // the parent edge

        /// <summary>
        /// Initializes a new instance of the <see cref="SegmentNodeList"/> class.
        /// </summary>
        /// <param name="edge">The edge.</param>
        public SegmentNodeList(NodedSegmentString edge)
        {
            _edge = edge;
        }
示例#2
0
 /// <summary>
 /// Returns a <see cref="IList{ISegmentString}"/> of fully noded <see cref="NodedSegmentString"/>s.
 /// The <see cref="NodedSegmentString"/>s have the same context as their parent.
 /// </summary>
 /// <returns></returns>
 public override IList <ISegmentString> GetNodedSubstrings()
 {
     return(NodedSegmentString.GetNodedSubstrings(_nodedSegStrings));
 }