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.

eal triangle t + const real vector& v<br />

real triangle t − const real vector& v<br />

returns t translated by vector v.<br />

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

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

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

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

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

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

p and q.<br />

returns t reflected across point p.<br />

real triangle t.reverse( )<br />

returns t reversed.

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

Saved successfully!

Ooh no, something went wrong!