Class PickPointFrustumList

    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean containsInAll​(Vec4 point)
      Returns true if the specified point is inside the space enclosed by ALL of the frustums
      boolean containsInAll​(java.awt.Point point)
      Returns true if the specified 2D screen point is inside the 2D screen rectangle enclosed by ALL of the frustums
      boolean containsInAny​(double x, double y)
      Returns true if the specified 2D point is inside the 2D screen rectangle enclosed by ANY of the frustums
      boolean containsInAny​(Vec4 point)
      Returns true if the specified point is inside the space enclosed by ANY of the frustums
      boolean containsInAny​(java.awt.Point point)
      Returns true if the specified 2D point is inside the 2D screen rectangle enclosed by ANY of the frustums
      boolean intersectsAll​(Extent extent)
      Returns true if the specified Extent intersects the space enclosed by ALL the Frustums.
      boolean intersectsAll​(java.awt.Rectangle rect)
      Returns true if the specified Rectangle intersects the 2D screen space enclosed by ALL the Frustums.
      boolean intersectsAny​(Extent extent)
      Returns true if the specified Extent intersects the space enclosed by ANY of the Frustums.
      boolean intersectsAny​(Vec4 pa, Vec4 pb)
      Returns true if a specified line segment intersects the space enclosed by ANY of the Frustums.
      boolean intersectsAny​(java.awt.Rectangle rect)
      Returns true if the specified Rectangle intersects the 2D screen space enclosed by ANY of the Frustums.
      • Methods inherited from class java.util.ArrayList

        add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
      • Methods inherited from class java.util.AbstractCollection

        containsAll, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, stream, toArray
      • Methods inherited from interface java.util.List

        containsAll
    • Constructor Detail

      • PickPointFrustumList

        public PickPointFrustumList()
    • Method Detail

      • containsInAll

        public final boolean containsInAll​(Vec4 point)
        Returns true if the specified point is inside the space enclosed by ALL of the frustums
        Parameters:
        point - the point to test.
        Returns:
        true if the specified point is inside the space enclosed by ALL the Frustums, and false otherwise.
        Throws:
        java.lang.IllegalArgumentException - if the point is null.
      • containsInAny

        public final boolean containsInAny​(Vec4 point)
        Returns true if the specified point is inside the space enclosed by ANY of the frustums
        Parameters:
        point - the point to test.
        Returns:
        true if the specified point is inside the space enclosed by ANY the Frustums, and false otherwise.
        Throws:
        java.lang.IllegalArgumentException - if the point is null.
      • containsInAll

        public final boolean containsInAll​(java.awt.Point point)
        Returns true if the specified 2D screen point is inside the 2D screen rectangle enclosed by ALL of the frustums
        Parameters:
        point - the point to test.
        Returns:
        true if the specified point is inside the space enclosed by ALL the Frustums, and false otherwise.
        Throws:
        java.lang.IllegalArgumentException - if the point is null.
      • containsInAny

        public final boolean containsInAny​(double x,
                                           double y)
        Returns true if the specified 2D point is inside the 2D screen rectangle enclosed by ANY of the frustums
        Parameters:
        x - the x coordinate to test.
        y - the y coordinate to test.
        Returns:
        true if the specified point is inside the space enclosed by ANY the Frustums, and false otherwise.
        Throws:
        java.lang.IllegalArgumentException - if the point is null.
      • containsInAny

        public final boolean containsInAny​(java.awt.Point point)
        Returns true if the specified 2D point is inside the 2D screen rectangle enclosed by ANY of the frustums
        Parameters:
        point - the point to test.
        Returns:
        true if the specified point is inside the space enclosed by ANY the Frustums, and false otherwise.
        Throws:
        java.lang.IllegalArgumentException - if the point is null.
      • intersectsAll

        public final boolean intersectsAll​(Extent extent)
        Returns true if the specified Extent intersects the space enclosed by ALL the Frustums. NOTE: Cannot be true if all frustums do not intersect.
        Parameters:
        extent - the Extent to test.
        Returns:
        true if the specified Extent intersects the space enclosed by ALL Frustums, and false otherwise.
        Throws:
        java.lang.IllegalArgumentException - if the extent is null.
      • intersectsAny

        public final boolean intersectsAny​(Extent extent)
        Returns true if the specified Extent intersects the space enclosed by ANY of the Frustums.
        Parameters:
        extent - the Extent to test.
        Returns:
        true if the specified Extent intersects the space enclosed by ANY of the Frustums, and false otherwise.
        Throws:
        java.lang.IllegalArgumentException - if the extent is null.
      • intersectsAny

        public final boolean intersectsAny​(Vec4 pa,
                                           Vec4 pb)
        Returns true if a specified line segment intersects the space enclosed by ANY of the Frustums.
        Parameters:
        pa - one end of the segment.
        pb - the other end of the segment.
        Returns:
        true if the specified segment intersects the space enclosed by ANY of the Frustums, otherwise false.
        Throws:
        java.lang.IllegalArgumentException - if either point is null.
      • intersectsAll

        public final boolean intersectsAll​(java.awt.Rectangle rect)
        Returns true if the specified Rectangle intersects the 2D screen space enclosed by ALL the Frustums. NOTE: Cannot be true if all frustums do not intersect.
        Parameters:
        rect - the Rectangle to test.
        Returns:
        true if the specified Rectangle intersects the 2D screen space enclosed by ALL Frustums, and false otherwise.
        Throws:
        java.lang.IllegalArgumentException - if the extent is null.
      • intersectsAny

        public final boolean intersectsAny​(java.awt.Rectangle rect)
        Returns true if the specified Rectangle intersects the 2D screen space enclosed by ANY of the Frustums.
        Parameters:
        rect - the Rectangle to test.
        Returns:
        true if the specified Rectangle intersects the 2D screen space enclosed by ANY of the Frustums, and false otherwise.
        Throws:
        java.lang.IllegalArgumentException - if the extent is null.