case class
Line(p1: R2, p2: R2) extends Double with CurvilinearShape with Product with Serializable
Instance Constructors
-
new
Line(p1: R2 = new scalation.scala2d.R2(0.0, 0.0), p2: R2 = new scalation.scala2d.R2(0.0, 0.0))
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
canEqual(arg0: Any): Boolean
-
def
clone(): AnyRef
-
def
contains(arg0: Rectangle2D): Boolean
-
def
contains(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
-
def
contains(arg0: Point2D): Boolean
-
def
contains(arg0: Double, arg1: Double): Boolean
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
flaw(method: String, message: String): Unit
-
def
getBounds(): Rectangle
-
def
getBounds2D(): Rectangle2D
-
def
getCenterX(): Double
-
def
getCenterY(): Double
-
final
def
getClass(): java.lang.Class[_]
-
def
getP1(): Point2D
-
def
getP2(): Point2D
-
def
getPathIterator(arg0: AffineTransform, arg1: Double): PathIterator
-
def
getPathIterator(arg0: AffineTransform): PathIterator
-
def
getX1(): Double
-
def
getX2(): Double
-
def
getY1(): Double
-
def
getY2(): Double
-
def
hashCode(): Int
-
def
intersects(arg0: Rectangle2D): Boolean
-
def
intersects(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
-
def
intersectsLine(arg0: Line2D): Boolean
-
def
intersectsLine(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
def
next(width: Double, height: Double): R2
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
var
p1: R2
-
var
p2: R2
-
def
productArity: Int
-
def
productElement(arg0: Int): Any
-
def
productIterator: Iterator[Any]
-
def
productPrefix: String
-
def
ptLineDist(arg0: Point2D): Double
-
def
ptLineDist(arg0: Double, arg1: Double): Double
-
def
ptLineDistSq(arg0: Point2D): Double
-
def
ptLineDistSq(arg0: Double, arg1: Double): Double
-
def
ptSegDist(arg0: Point2D): Double
-
def
ptSegDist(arg0: Double, arg1: Double): Double
-
def
ptSegDistSq(arg0: Point2D): Double
-
def
ptSegDistSq(arg0: Double, arg1: Double): Double
-
def
relativeCCW(arg0: Point2D): Int
-
def
relativeCCW(arg0: Double, arg1: Double): Int
-
def
setLine(_p1: R2, _p2: R2, bend: Double): Unit
-
def
setLine(_p1: R2, _p2: R2): Unit
-
def
setLine(p1: R2, pc: R2, p2: R2): Unit
-
def
setLine(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Unit
-
def
setLine(arg0: Line2D): Unit
-
def
setLine(arg0: Point2D, arg1: Point2D): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Deprecated Value Members
-
def
productElements: Iterator[Any]
Inherited from Product
Value Members
-
def
productIterator: Iterator[Any]
-
def
productElements: Iterator[Any]
Value Members
-
def
next(width: Double, height: Double): R2
-
def
setLine(p1: R2, pc: R2, p2: R2): Unit
Inherited from Error
Value Members
-
def
flaw(method: String, message: String): Unit
Inherited from Double
Value Members
-
def
getBounds2D(): Rectangle2D
-
def
getP1(): Point2D
-
def
getP2(): Point2D
-
def
getX1(): Double
-
def
getX2(): Double
-
def
getY1(): Double
-
def
getY2(): Double
-
def
setLine(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Unit
Inherited from Line2D
Value Members
-
def
clone(): AnyRef
-
def
contains(arg0: Rectangle2D): Boolean
-
def
contains(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
-
def
contains(arg0: Point2D): Boolean
-
def
contains(arg0: Double, arg1: Double): Boolean
-
def
getBounds(): Rectangle
-
def
getPathIterator(arg0: AffineTransform, arg1: Double): PathIterator
-
def
getPathIterator(arg0: AffineTransform): PathIterator
-
def
intersects(arg0: Rectangle2D): Boolean
-
def
intersects(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
-
def
intersectsLine(arg0: Line2D): Boolean
-
def
intersectsLine(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
-
def
ptLineDist(arg0: Point2D): Double
-
def
ptLineDist(arg0: Double, arg1: Double): Double
-
def
ptLineDistSq(arg0: Point2D): Double
-
def
ptLineDistSq(arg0: Double, arg1: Double): Double
-
def
ptSegDist(arg0: Point2D): Double
-
def
ptSegDist(arg0: Double, arg1: Double): Double
-
def
ptSegDistSq(arg0: Point2D): Double
-
def
ptSegDistSq(arg0: Double, arg1: Double): Double
-
def
relativeCCW(arg0: Point2D): Int
-
def
relativeCCW(arg0: Double, arg1: Double): Int
-
def
setLine(arg0: Line2D): Unit
-
def
setLine(arg0: Point2D, arg1: Point2D): Unit
Inherited from AnyRef
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
eq(arg0: AnyRef): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): java.lang.Class[_]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from Any
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
final
def
isInstanceOf[T0]: Boolean
The Line class uses Java's Line2D class to create a line.
the starting point for the line
the ending point for the line