Package net.imglib2

Class AbstractInterval

    • Field Detail

      • min

        protected final long[] min
      • max

        protected final long[] max
    • Constructor Detail

      • AbstractInterval

        public AbstractInterval​(int n)
        Creates an n-dimensional AbstractInterval with min and max = 0n.
        Parameters:
        n - number of dimensions
      • AbstractInterval

        public AbstractInterval​(Dimensions dimensions)
        Creates an Interval with the boundaries [0, dimensions-1]
        Parameters:
        dimensions - the size of the interval
      • AbstractInterval

        public AbstractInterval​(long[] min,
                                long[] max,
                                boolean copy)
        Creates an Interval with the boundaries [min, max] (both including)
        Parameters:
        min - the position of the first elements in each dimension
        max - the position of the last elements in each dimension
        copy - flag indicating whether min and max arrays should be duplicated.
      • AbstractInterval

        public AbstractInterval​(long[] min,
                                long[] max)
        Creates an Interval with the boundaries [min, max] (both including)
        Parameters:
        min - the position of the first elements in each dimension
        max - the position of the last elements in each dimension
      • AbstractInterval

        public AbstractInterval​(Localizable min,
                                Localizable max)
        Creates an Interval with the boundaries [min, max] (both including)
        Parameters:
        min - the position of the first elements in each dimension
        max - the position of the last elements in each dimension
      • AbstractInterval

        public AbstractInterval​(long[] dimensions)
        Creates an Interval with the boundaries [0, dimensions-1]
        Parameters:
        dimensions - the size of the interval