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.

circle gen polygon P (KIND k);<br />

creates a polygon P of kind k, where k is either EMPTY or FULL.<br />

r circle gen polygon P (const list& seg chain,<br />

CHECK TYPE check = WEAKLY SIMPLE ,<br />

RESPECT TYPE respect orient =<br />

RESPECT ORIENTATION );<br />

creates a polygon P from a single closed chain of segments.<br />

r circle gen polygon P (const r circle polygon& Q,<br />

CHECK TYPE check = NO CHECK ,<br />

RESPECT TYPE respect orient =<br />

RESPECT ORIENTATION );<br />

converts an r circle polygon Q to an r circle gen polygon P .<br />

r circle gen polygon P (const list& L,<br />

CHECK TYPE check = NO CHECK ,<br />

RESPECT TYPE respect orient =<br />

RESPECT ORIENTATION );<br />

creates a polygon P with straight line edges from a list L of vertices.<br />

r circle gen polygon P (const list& polys,<br />

CHECK TYPE check = NO CHECK ,<br />

RESPECT TYPE respect orient =<br />

RESPECT ORIENTATION );<br />

introduces a variable P of type r circle gen polygon. P is initialized<br />

to the polygon with boundary representation polys.<br />

Precondition: polys must be a boundary representation.<br />

r circle gen polygon P (const rat gen polygon& Q,<br />

CHECK TYPE check = NO CHECK ,<br />

RESPECT TYPE respect orient =<br />

RESPECT ORIENTATION );<br />

converts a rat gen polygon Q to an r circle gen polygon P .<br />

r circle gen polygon P (const gen polygon& Q, CHECK TYPE check = NO CHECK ,<br />

RESPECT TYPE respect orient =<br />

RESPECT ORIENTATION ,<br />

int prec = rat point :: default precision);<br />

converts the (floating point) gen polygon Q to an<br />

r circle gen polygon. P is initialized to a rational approximation<br />

of Q of coordinates with denominator at most prec. If prec<br />

is zero, the implementation chooses prec large enough such that<br />

there is no loss of precision in the conversion.

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

Saved successfully!

Ooh no, something went wrong!