Class

continuum

Ray

Related Doc: package continuum

Permalink

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. All

Abstract Value Members

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

    Permalink

    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]

    Permalink
  3. abstract def encloses(other: Ray[T]): Boolean

    Permalink

    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

    Permalink

    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

    Permalink
  6. abstract def tangent: Option[Ray[T]]

    Permalink

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

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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def andThen[A](g: (Boolean) ⇒ A): (T) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def compose[A](g: (A) ⇒ T): (A) ⇒ Boolean

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  8. def connects(other: Ray[T]): Boolean

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

    Permalink
    Definition Classes
    Function1 → AnyRef → Any
  20. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from (T) ⇒ Boolean

Inherited from AnyRef

Inherited from Any

Ungrouped