org.kabeja.dxf.helpers
Class Edge

java.lang.Object
  extended by org.kabeja.dxf.helpers.Edge

public class Edge
extends java.lang.Object

Author:
Field Summary
protected  Point endPoint
           
protected  Point startPoint
           
 
Constructor Summary
Edge()
           
 
Method Summary
 Point getEndPoint()
           
 Point getIntersectionPoint(Edge e)
           
 Point getStartPoint()
           
 void setEndPoint(Point endPoint)
           
 void setStartPoint(Point startPoint)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startPoint

protected Point startPoint

endPoint

protected Point endPoint
Constructor Detail

Edge

public Edge()
Method Detail

getEndPoint

public Point getEndPoint()
Returns:
Returns the endPoint.

setEndPoint

public void setEndPoint(Point endPoint)
Parameters:
endPoint - The endPoint to set.

getStartPoint

public Point getStartPoint()
Returns:
Returns the startPoint.

setStartPoint

public void setStartPoint(Point startPoint)
Parameters:
startPoint - The startPoint to set.

getIntersectionPoint

public Point getIntersectionPoint(Edge e)