public class ParametricLine
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected Vector |
direction |
protected Point |
startPoint |
| Constructor and Description |
|---|
ParametricLine() |
ParametricLine(Point start,
Point end) |
ParametricLine(Point startPoint,
Vector direction) |
| Modifier and Type | Method and Description |
|---|---|
Vector |
getDirectionVector() |
double |
getIntersectionParameter(ParametricLine line) |
double |
getParameter(Point p) |
Point |
getPointAt(double para) |
Point |
getStartPoint() |
void |
setDirectionVector(Vector v) |
void |
setStartPoint(Point start) |
public double getIntersectionParameter(ParametricLine line)
public Point getStartPoint()
public void setStartPoint(Point start)
public Vector getDirectionVector()
public void setDirectionVector(Vector v)
public Point getPointAt(double para)
public double getParameter(Point p)