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
Alphabetic
By inheritance
Inherited
Line
Serializable
Product
Equals
Double
Serializable
Line2D
Cloneable
Shape
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
Line
(
p1:
R2
=
R2 (0.0, 0.0)
,
p2:
R2
=
R2 (0.0, 0.0)
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Definition Classes
Line2D → AnyRef
def
contains
(
arg0:
Rectangle2D
)
:
Boolean
Definition Classes
Line2D → Shape
def
contains
(
arg0:
Double
,
arg1:
Double
,
arg2:
Double
,
arg3:
Double
)
:
Boolean
Definition Classes
Line2D → Shape
def
contains
(
arg0:
Point2D
)
:
Boolean
Definition Classes
Line2D → Shape
def
contains
(
arg0:
Double
,
arg1:
Double
)
:
Boolean
Definition Classes
Line2D → Shape
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
getBounds
()
:
java.awt.Rectangle
Definition Classes
Line2D → Shape
def
getBounds2D
()
:
Rectangle2D
Definition Classes
Double → Shape
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getP1
()
:
Point2D
Definition Classes
Double → Line2D
def
getP2
()
:
Point2D
Definition Classes
Double → Line2D
def
getPathIterator
(
arg0:
AffineTransform
,
arg1:
Double
)
:
PathIterator
Definition Classes
Line2D → Shape
def
getPathIterator
(
arg0:
AffineTransform
)
:
PathIterator
Definition Classes
Line2D → Shape
def
getX1
()
:
Double
Definition Classes
Double → Line2D
def
getX2
()
:
Double
Definition Classes
Double → Line2D
def
getY1
()
:
Double
Definition Classes
Double → Line2D
def
getY2
()
:
Double
Definition Classes
Double → Line2D
def
intersects
(
arg0:
Rectangle2D
)
:
Boolean
Definition Classes
Line2D → Shape
def
intersects
(
arg0:
Double
,
arg1:
Double
,
arg2:
Double
,
arg3:
Double
)
:
Boolean
Definition Classes
Line2D → Shape
def
intersectsLine
(
arg0:
Line2D
)
:
Boolean
Definition Classes
Line2D
def
intersectsLine
(
arg0:
Double
,
arg1:
Double
,
arg2:
Double
,
arg3:
Double
)
:
Boolean
Definition Classes
Line2D
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
var
p1
:
R2
var
p2
:
R2
def
ptLineDist
(
arg0:
Point2D
)
:
Double
Definition Classes
Line2D
def
ptLineDist
(
arg0:
Double
,
arg1:
Double
)
:
Double
Definition Classes
Line2D
def
ptLineDistSq
(
arg0:
Point2D
)
:
Double
Definition Classes
Line2D
def
ptLineDistSq
(
arg0:
Double
,
arg1:
Double
)
:
Double
Definition Classes
Line2D
def
ptSegDist
(
arg0:
Point2D
)
:
Double
Definition Classes
Line2D
def
ptSegDist
(
arg0:
Double
,
arg1:
Double
)
:
Double
Definition Classes
Line2D
def
ptSegDistSq
(
arg0:
Point2D
)
:
Double
Definition Classes
Line2D
def
ptSegDistSq
(
arg0:
Double
,
arg1:
Double
)
:
Double
Definition Classes
Line2D
def
relativeCCW
(
arg0:
Point2D
)
:
Int
Definition Classes
Line2D
def
relativeCCW
(
arg0:
Double
,
arg1:
Double
)
:
Int
Definition Classes
Line2D
def
setLine
(
arg0:
Double
,
arg1:
Double
,
arg2:
Double
,
arg3:
Double
)
:
Unit
Definition Classes
Double → Line2D
def
setLine
(
arg0:
Line2D
)
:
Unit
Definition Classes
Line2D
def
setLine
(
arg0:
Point2D
,
arg1:
Point2D
)
:
Unit
Definition Classes
Line2D
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
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
Line
is a convenience case class for Line2D (a subclass of RectangularShape).