nicol.geom

Line

case class Line (start: Vector, end: Vector) extends Shape with Product with Serializable

This is a straight, not-interrupted line, in the mathematical and graphical sense.

Linear Supertypes
Serializable, Serializable, Product, Equals, Shape, Immutable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Line
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Shape
  7. Immutable
  8. AnyRef
  9. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Line (start: Vector, end: Vector)

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def area : Float

    The area of this Shape.

    The area of this Shape. Could be useful to someone.

    Definition Classes
    Shape
  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. lazy val bounds : AABox

    Definition Classes
    LineShape
  9. def canEqual (arg0: Any): Boolean

    Definition Classes
    Line → Equals
  10. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. val end : Vector

  12. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  13. def equals (arg0: Any): Boolean

    Definition Classes
    Line → Equals → AnyRef → Any
  14. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  16. def hashCode (): Int

    Definition Classes
    Line → AnyRef → Any
  17. def intersects (that: Line): Option[Vector]

    Tests if this line intersects with a given line.

    Tests if this line intersects with a given line.

    that

    Line to test

    returns

    None, if there was no intersection, Some[Vector] with the point where they intersect

  18. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  19. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  20. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  21. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  22. def productArity : Int

    Definition Classes
    Line → Product
  23. def productElement (arg0: Int): Any

    Definition Classes
    Line → Product
  24. def productIterator : Iterator[Any]

    Definition Classes
    Product
  25. def productPrefix : String

    Definition Classes
    Line → Product
  26. val start : Vector

  27. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  28. def toString (): String

    Definition Classes
    Line → AnyRef → Any
  29. def transform (m: Matrix): Line

  30. def transposed (v: Vector): Line

    Same shape, somewhere else.

    Same shape, somewhere else.

    Definition Classes
    LineShape
  31. val vec : Vector

    This line as a Vector

  32. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  35. def productElements : Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Shape

Inherited from Immutable

Inherited from AnyRef

Inherited from Any