Class TroubleSpot

java.lang.Object
  |
  +--TroubleSpot

public class TroubleSpot
extends java.lang.Object

contains an array of EndPoints which are near each other, and therefore candidates for intersecting, colinear, etc. lines.


Field Summary
 EndPoint[] endpoints
          The list of endpoints
 
Constructor Summary
TroubleSpot()
          create new TroubleSpot with empty list of EndPoints
TroubleSpot(EndPoint[] endpoint_array)
          create new TroubleSpot from Array of endpoints
TroubleSpot(java.util.Vector endpoint_vector)
          create new TroubleSpot from Vector of endpoints
 
Method Summary
 void addEndPoint(EndPoint ep)
          add one EndPoint to the TroubleSpot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

endpoints

public EndPoint[] endpoints
The list of endpoints

Constructor Detail

TroubleSpot

public TroubleSpot(java.util.Vector endpoint_vector)
create new TroubleSpot from Vector of endpoints


TroubleSpot

public TroubleSpot(EndPoint[] endpoint_array)
create new TroubleSpot from Array of endpoints


TroubleSpot

public TroubleSpot()
create new TroubleSpot with empty list of EndPoints

Method Detail

addEndPoint

public void addEndPoint(EndPoint ep)
add one EndPoint to the TroubleSpot