scalation.scala2d

Line

Related Doc: package scala2d

case class Line(p1: R2 = R2 (0.0, 0.0), p2: R2 = R2 (0.0, 0.0)) extends Double with Product with Serializable

Line is a convenience case class for Line2D (a subclass of RectangularShape).

Linear Supertypes
Serializable, Product, Equals, Double, Serializable, Line2D, Cloneable, Shape, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Line
  2. Serializable
  3. Product
  4. Equals
  5. Double
  6. Serializable
  7. Line2D
  8. Cloneable
  9. Shape
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Line(p1: R2 = R2 (0.0, 0.0), p2: R2 = R2 (0.0, 0.0))

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Definition Classes
    Line2D → AnyRef
  6. def contains(arg0: Rectangle2D): Boolean

    Definition Classes
    Line2D → Shape
  7. def contains(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean

    Definition Classes
    Line2D → Shape
  8. def contains(arg0: Point2D): Boolean

    Definition Classes
    Line2D → Shape
  9. def contains(arg0: Double, arg1: Double): Boolean

    Definition Classes
    Line2D → Shape
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def getBounds(): java.awt.Rectangle

    Definition Classes
    Line2D → Shape
  13. def getBounds2D(): Rectangle2D

    Definition Classes
    Double → Shape
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def getP1(): Point2D

    Definition Classes
    Double → Line2D
  16. def getP2(): Point2D

    Definition Classes
    Double → Line2D
  17. def getPathIterator(arg0: AffineTransform, arg1: Double): PathIterator

    Definition Classes
    Line2D → Shape
  18. def getPathIterator(arg0: AffineTransform): PathIterator

    Definition Classes
    Line2D → Shape
  19. def getX1(): Double

    Definition Classes
    Double → Line2D
  20. def getX2(): Double

    Definition Classes
    Double → Line2D
  21. def getY1(): Double

    Definition Classes
    Double → Line2D
  22. def getY2(): Double

    Definition Classes
    Double → Line2D
  23. def intersects(arg0: Rectangle2D): Boolean

    Definition Classes
    Line2D → Shape
  24. def intersects(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean

    Definition Classes
    Line2D → Shape
  25. def intersectsLine(arg0: Line2D): Boolean

    Definition Classes
    Line2D
  26. def intersectsLine(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean

    Definition Classes
    Line2D
  27. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  31. var p1: R2

  32. var p2: R2

  33. def ptLineDist(arg0: Point2D): Double

    Definition Classes
    Line2D
  34. def ptLineDist(arg0: Double, arg1: Double): Double

    Definition Classes
    Line2D
  35. def ptLineDistSq(arg0: Point2D): Double

    Definition Classes
    Line2D
  36. def ptLineDistSq(arg0: Double, arg1: Double): Double

    Definition Classes
    Line2D
  37. def ptSegDist(arg0: Point2D): Double

    Definition Classes
    Line2D
  38. def ptSegDist(arg0: Double, arg1: Double): Double

    Definition Classes
    Line2D
  39. def ptSegDistSq(arg0: Point2D): Double

    Definition Classes
    Line2D
  40. def ptSegDistSq(arg0: Double, arg1: Double): Double

    Definition Classes
    Line2D
  41. def relativeCCW(arg0: Point2D): Int

    Definition Classes
    Line2D
  42. def relativeCCW(arg0: Double, arg1: Double): Int

    Definition Classes
    Line2D
  43. def setLine(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Unit

    Definition Classes
    Double → Line2D
  44. def setLine(arg0: Line2D): Unit

    Definition Classes
    Line2D
  45. def setLine(arg0: Point2D, arg1: Point2D): Unit

    Definition Classes
    Line2D
  46. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  47. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Double

Inherited from Serializable

Inherited from Line2D

Inherited from Cloneable

Inherited from Shape

Inherited from AnyRef

Inherited from Any

Ungrouped