Line

scalation.scala2d.Line
case class Line(x_1: Double, y_1: Double, x_2: Double, y_2: Double) extends Double

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

Attributes

Graph
Supertypes
trait Product
trait Equals
class Double
trait Serializable
class Line2D
trait Cloneable
trait Shape
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def clone(): <FromJavaObject>

Create a copy of the receiver object.

Create a copy of the receiver object.

The default implementation of the clone method is platform dependent.

Attributes

Returns

a copy of the receiver object.

Note

not specified by SLS as a member of AnyRef

Inherited from:
Line2D
def contains(x$0: Rectangle2D): Boolean

Attributes

Inherited from:
Line2D
def contains(x$0: Double, x$1: Double, x$2: Double, x$3: Double): Boolean

Attributes

Inherited from:
Line2D
def contains(x$0: Point2D): Boolean

Attributes

Inherited from:
Line2D
def contains(x$0: Double, x$1: Double): Boolean

Attributes

Inherited from:
Line2D
def getBounds(): Rectangle

Attributes

Inherited from:
Line2D
def getBounds2D(): Rectangle2D

Attributes

Inherited from:
Double
def getP1(): Point2D

Attributes

Inherited from:
Double
def getP2(): Point2D

Attributes

Inherited from:
Double
def getPathIterator(x$0: AffineTransform, x$1: Double): PathIterator

Attributes

Inherited from:
Line2D
def getPathIterator(x$0: AffineTransform): PathIterator

Attributes

Inherited from:
Line2D
def getX1(): Double

Attributes

Inherited from:
Double
def getX2(): Double

Attributes

Inherited from:
Double
def getY1(): Double

Attributes

Inherited from:
Double
def getY2(): Double

Attributes

Inherited from:
Double
def intersects(x$0: Rectangle2D): Boolean

Attributes

Inherited from:
Line2D
def intersects(x$0: Double, x$1: Double, x$2: Double, x$3: Double): Boolean

Attributes

Inherited from:
Line2D
def intersectsLine(x$0: Line2D): Boolean

Attributes

Inherited from:
Line2D
def intersectsLine(x$0: Double, x$1: Double, x$2: Double, x$3: Double): Boolean

Attributes

Inherited from:
Line2D
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def ptLineDist(x$0: Point2D): Double

Attributes

Inherited from:
Line2D
def ptLineDist(x$0: Double, x$1: Double): Double

Attributes

Inherited from:
Line2D
def ptLineDistSq(x$0: Point2D): Double

Attributes

Inherited from:
Line2D
def ptLineDistSq(x$0: Double, x$1: Double): Double

Attributes

Inherited from:
Line2D
def ptSegDist(x$0: Point2D): Double

Attributes

Inherited from:
Line2D
def ptSegDist(x$0: Double, x$1: Double): Double

Attributes

Inherited from:
Line2D
def ptSegDistSq(x$0: Point2D): Double

Attributes

Inherited from:
Line2D
def ptSegDistSq(x$0: Double, x$1: Double): Double

Attributes

Inherited from:
Line2D
def relativeCCW(x$0: Point2D): Int

Attributes

Inherited from:
Line2D
def relativeCCW(x$0: Double, x$1: Double): Int

Attributes

Inherited from:
Line2D
def setLine(x$0: Double, x$1: Double, x$2: Double, x$3: Double): Unit

Attributes

Inherited from:
Double
def setLine(x$0: Line2D): Unit

Attributes

Inherited from:
Line2D
def setLine(x$0: Point2D, x$1: Point2D): Unit

Attributes

Inherited from:
Line2D

Inherited fields

var x1: Double

Attributes

Inherited from:
Double
var x2: Double

Attributes

Inherited from:
Double
var y1: Double

Attributes

Inherited from:
Double
var y2: Double

Attributes

Inherited from:
Double