Packages

sealed abstract class Ray[T] extends (T) => Boolean

A bounded subset of a continuous, infinite, and total-ordered values. A ray is composed of a single bound and a direction. The ray may either point in the Lesser direction, towards smaller values, or in the Greater direction, towards larger values. Thus, if the ray points in the Greater direction, it is bounded below, whereas a ray pointing in the Greater direction is bounded above. A ray's bound can potentially be unbounded, in which case the ray is equivalent to a line.

T

type of values contained in the continuous, infinite, total-ordered set which the ray operates on.

Linear Supertypes
(T) => Boolean, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Ray
  2. Function1
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def apply(point: T): Boolean

    Tests if this ray contains the specified point.

    Tests if this ray contains the specified point.

    Definition Classes
    Ray → Function1
  2. abstract def bound: Bound[T]
  3. abstract def encloses(other: Ray[T]): Boolean

    Tests if this ray encloses the other.

    Tests if this ray encloses the other. A ray encloses another if it contains all points contained by the other.

  4. abstract def intersects(other: Ray[T]): Boolean

    Tests if this ray intersects the other.

    Tests if this ray intersects the other. Rays intersect if they share any points in common. Said another way, rays intersect if they overlap.

  5. abstract def isSameDirection(other: Ray[T]): Boolean
  6. abstract def tangent: Option[Ray[T]]

    Returns the ray tangent to this one, if such a ray exists.

  7. abstract def tangents(other: Ray[T]): Boolean

    Tests if this ray is tangent to the other.

    Tests if this ray is tangent to the other. Rays are tangent if they do not contain any points in common, but all points are contained by one of the rays.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def andThen[A](g: (Boolean) => A): (T) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def compose[A](g: (A) => T): (A) => Boolean
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  8. def connects(other: Ray[T]): Boolean

    Tests if this ray is connected to the other.

    Tests if this ray is connected to the other. Rays are connected if they intersect, or are tangent.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from (T) => Boolean

Inherited from AnyRef

Inherited from Any

Ungrouped