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.

POLYGON<br />

n gon(int n, CIRCLE C, double epsilon)<br />

generates a (nearly) regular n-gon whose<br />

vertices lie near the circle C. For the flaoting<br />

point kernel the function is equivalent to the<br />

function above. For the rational kernel the<br />

function first generates a n-gon with floating<br />

point arithmetic and then converts the<br />

resulting polygon to a rat polygon.<br />

POLYGON hilbert(int n, RAT TYPE x1 , RAT TYPE y1 , RAT TYPE x2 ,<br />

RAT TYPE y2 )<br />

generates the Hilbert polygon of order n<br />

within the rectangle with boundary (x1 , y1 )<br />

and (x2 , y2 ).<br />

Precondition: x1 < x2 and y1 < y2 .

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

Saved successfully!

Ooh no, something went wrong!