In LineSegment.java -- Constructor
public LineSegment(int anID,
LineSegmentCollection theCollection){
id = anID;
collection = theCollection;
p1 = new LSPoint();
p2 = new LSPoint();
computeIntersections();
}
Previous slide
Next slide
Back to first slide
View graphic version