|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectnet.thucydides.core.geometry.Line
public class Line
| Nested Class Summary | |
|---|---|
static class |
Line.LineBuilder
|
| Constructor Summary | |
|---|---|
Line(Point origin,
Point destination)
|
|
| Method Summary | |
|---|---|
static Line.LineBuilder |
from(Point origin)
|
Point |
getDestination()
|
Point |
getOrigin()
|
BigDecimal |
getSlope()
|
BigDecimal |
getYIntercept()
|
com.google.common.base.Optional<Point> |
intersectionWith(Line line)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Line(Point origin,
Point destination)
| Method Detail |
|---|
public Point getOrigin()
public Point getDestination()
public BigDecimal getSlope()
public BigDecimal getYIntercept()
public com.google.common.base.Optional<Point> intersectionWith(Line line)
public static Line.LineBuilder from(Point origin)
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||