757758759760761762763764765
public void toLine( Line line ) { line.usePoints( x, y, x + Math.cos( angle ), y + Math.sin( angle ) ); } public Line toLine() { Line line = new Line(); toLine( line ); return line; }
803804805806807808809810811
line.usePoints( x, y, x + width, y + height ); } } public Line getHypotenuse() { Line line = new Line(); getHypotenuse( line ); return line; }
49505152535455
public void toLine( Line line ) { line.usePivots( pivot[ 0 ], pivot[ 1 ] ); } public Line toLine() { return new Line( pivot[ 0 ], pivot[ 1 ] ); }