Revision: 1.1.1.1 - (view) (download) (as text)
1 : | ktanaka | 1.1 | import java.util.*; |
2 : | public class Line extends OutlineComponent{ | ||
3 : | Point p0,p1; | ||
4 : | Line(Point p0,Point p1){ | ||
5 : | this.p0=p0; this.p1=p1; | ||
6 : | } | ||
7 : | public void render(Vector ret,double limit){ | ||
8 : | ret.addElement(p0); | ||
9 : | ret.addElement(p1); | ||
10 : | } | ||
11 : | } |
ktanaka Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |