Class PositionOutOfBoundsException

    • Constructor Detail

      • PositionOutOfBoundsException

        public PositionOutOfBoundsException​(Vectori position,
                                            Vectori min,
                                            Vectori max)
        Constructs the exception from int coordinate vectors.
        Parameters:
        position - The out-of-bounds position
        min - The minimum acceptable bound
        max - The maximum acceptable bound
      • PositionOutOfBoundsException

        public PositionOutOfBoundsException​(Vectorf position,
                                            Vectorf min,
                                            Vectorf max)
        Constructs the exception from float coordinate vectors.
        Parameters:
        position - The out-of-bounds position
        min - The minimum acceptable bound
        max - The maximum acceptable bound
      • PositionOutOfBoundsException

        public PositionOutOfBoundsException​(Vectord position,
                                            Vectord min,
                                            Vectord max)
        Constructs the exception from double coordinate vectors.
        Parameters:
        position - The out-of-bounds position
        min - The minimum acceptable bound
        max - The maximum acceptable bound