31.01.2014 Views

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

triangle t.rotate90(const point& q, int i = 1)<br />

triangle t.rotate90(int i = 1)<br />

returns t rotated about q by an angle of i × 90 degrees.<br />

If i > 0 the rotation is counter-clockwise otherwise it is<br />

clockwise.<br />

returns t.rotate90(t.source(),i).<br />

triangle t.reflect(const point& p, const point& q)<br />

triangle t.reflect(const point& p)<br />

returns t reflected across the straight line passing through<br />

p and q.<br />

returns t reflected across point p.<br />

triangle t.reverse( ) returns t reversed.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!