/// <summary>
 /// Tests for intersections with a given set of target <see cref="ISegmentString"/>s.
 /// using a given SegmentIntersectionDetector.
 /// </summary>
 /// <param name="segStrings">The SegmentStrings to test</param>
 /// <param name="intDetector">The intersection detector to use</param>
 /// <returns><c>true</c> if the detector reports intersections</returns>
 public bool Intersects(IList <ISegmentString> segStrings, SegmentIntersectionDetector intDetector)
 {
     _segSetMutInt.Process(segStrings, intDetector);
     return(intDetector.HasIntersection);
 }
        /// <summary>
        /// Tests for intersections with a given set of target {@link SegmentString}s.
        /// </summary>
        /// <param name="segStrings">The SegmentStrings to test</param>
        /// <returns><c>true</c> if an intersection was found</returns>
        public bool Intersects(IList <ISegmentString> segStrings)
        {
            var intFinder = new SegmentIntersectionDetector();

            return(Intersects(segStrings, intFinder));
        }