org.kabeja.dxf.helpers
Class ParametricLine
java.lang.Object
org.kabeja.dxf.helpers.ParametricLine
public class ParametricLine
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
startPoint
protected Point startPoint
direction
protected Vector direction
ParametricLine
public ParametricLine(Point startPoint,
Vector direction)
ParametricLine
public ParametricLine(Point start,
Point end)
ParametricLine
public ParametricLine()
getIntersectionParameter
public double getIntersectionParameter(ParametricLine line)
getStartPoint
public Point getStartPoint()
setStartPoint
public void setStartPoint(Point start)
getDirectionVector
public Vector getDirectionVector()
setDirectionVector
public void setDirectionVector(Vector v)
getPointAt
public Point getPointAt(double para)
getParameter
public double getParameter(Point p)