Constructor and Description |
---|
Line(Point orig,
Point dest)
Instantiates a new line.
|
Line(Point orig,
Vec vec)
Instantiates a new line.
|
Modifier and Type | Method and Description |
---|---|
Point |
center()
Center.
|
Point |
intersection(Line l)
Intersection.
|
java.lang.String |
toString()
To string.
|