Class MCIndexSegmentSetMutualIntersector

    • Constructor Detail

      • MCIndexSegmentSetMutualIntersector

        public MCIndexSegmentSetMutualIntersector​(java.util.Collection baseSegStrings)
        Constructs a new intersector for a given set of SegmentStrings.
        Parameters:
        baseSegStrings - the base segment strings to intersect
    • Method Detail

      • getIndex

        public SpatialIndex getIndex()
        Gets the index constructed over the base segment strings. NOTE: To retain thread-safety, treat returned value as immutable!
        Returns:
        the constructed index
      • initBaseSegments

        private void initBaseSegments​(java.util.Collection segStrings)
      • addToMonoChains

        private void addToMonoChains​(SegmentString segStr,
                                     java.util.List monoChains)
      • intersectChains

        private void intersectChains​(java.util.List monoChains,
                                     SegmentIntersector segInt)