Class EndPoint

java.lang.Object
  |
  +--EndPoint

public class EndPoint
extends java.lang.Object

Simple class for storing data about the endpoint of a line


Field Summary
 boolean chained
          set to true when chained to an adjacent EndPoint
 DPoint direction
          direction to extend EndPoint in (unit vector)
 LineSegment line
          LineSegment object that EndPoint belongs to
 DPoint point
          the location of the EndPoint
 
Constructor Summary
EndPoint(DPoint p, LineSegment ls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

point

public DPoint point
the location of the EndPoint


direction

public DPoint direction
direction to extend EndPoint in (unit vector)


line

public LineSegment line
LineSegment object that EndPoint belongs to


chained

public boolean chained
set to true when chained to an adjacent EndPoint

Constructor Detail

EndPoint

public EndPoint(DPoint p,
                LineSegment ls)