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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

at triangle t − const rat vector& v<br />

returns t translated by vector −v.<br />

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

rat 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 />

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

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

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

p and q.<br />

returns t reflected across point p.<br />

rat triangle t.reverse( )<br />

returns t reversed.

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

Saved successfully!

Ooh no, something went wrong!