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 circle C + const real vector& v returns C translated by vector v.<br />

real circle C − const real vector& v returns C translated by vector −v.<br />

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

real circle C.reflect(const real point& p, const real point& q)<br />

real circle C.reflect(const real point& p)<br />

returns C rotated about q by an angle of i × 90<br />

degrees. If i > 0 the rotation is counter-clockwise<br />

otherwise it is clockwise.<br />

returns C reflected across the straight line passing<br />

through p and q.<br />

returns C reflected across point p.<br />

real circle C.reverse( ) returns C reversed.<br />

list C.intersection(const real circle& D)<br />

list C.intersection(const real line& l)<br />

list C.intersection(const real segment& s)<br />

real segment C.left tangent(const real point& p)<br />

real segment C.right tangent(const real point& p)<br />

real C.distance(const real point& p)<br />

real C.sqr dist(const real point& p)<br />

real C.distance(const real line& l)<br />

real C.distance(const real circle& D)<br />

returns C ∩ D as a list of points.<br />

returns C ∩ l as a list of (zero, one, or two) points<br />

sorted along l.<br />

returns C ∩ s as a list of (zero, one, or two) points<br />

sorted along s.<br />

returns the line segment starting in p tangent to<br />

C and left of segment [p, C.center( )].<br />

returns the line segment starting in p tangent to<br />

C and right of segment [p, C.center( )].<br />

returns the distance between C and p.<br />

returns the squared distance between C and p.<br />

returns the distance between C and l.<br />

returns the distance between C and D.

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

Saved successfully!

Ooh no, something went wrong!