Class MonotoneChainBuilder

    • Constructor Detail

      • MonotoneChainBuilder

        public MonotoneChainBuilder()
    • Method Detail

      • toIntArray

        public static int[] toIntArray​(List list)
      • getChainStartIndices

        public static int[] getChainStartIndices​(Coordinate[] pts)
        Return an array containing lists of start/end indexes of the monotone chains for the given list of coordinates. The last entry in the array points to the end point of the point array, for use as a sentinel.