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.

double WIDTH(const list& L, line& l1 , line& l2 )<br />

returns the square of the minimum width of a stripe covering all points<br />

in L and the two boundaries of the stripe.<br />

Precondition: L is non-empty<br />

• Halfplane intersections<br />

void<br />

HALFPLANE INTERSECTION(const list& L, list& Lout)<br />

For every line l ∈ L let h l be the closed halfplane lying on the positive<br />

side of l, i.e., h l = { p ∈ R 2 | orientation(l, p) ≥ 0 }, and let<br />

H = ∩ l∈L h l . <strong>The</strong>n HALFPLANE INTERSECTION computes the list<br />

of lines Lout defining the boundary of H in counter-clockwise ordering.<br />

• Triangulations<br />

edge TRIANGULATE POINTS(const list& L, GRAPH & T )<br />

computes a triangulation (planar map) T of the points in L and returns<br />

an edge of the outer face (convex hull).<br />

void DELAUNAY TRIANG(const list& L, GRAPH & DT )<br />

computes the delaunay triangulation DT of the points in L.<br />

void DELAUNAY DIAGRAM(const list& L, GRAPH & DD)<br />

computes the delaunay diagram DD of the points in L.<br />

void F DELAUNAY TRIANG(const list& L, GRAPH & FDT)<br />

computes the furthest point delaunay triangulation F DT of the points in<br />

L.<br />

void F DELAUNAY DIAGRAM(const list& L, GRAPH & FDD)<br />

computes the furthest point delaunay diagram F DD of the points in L.<br />

• Constraint Triangulations<br />

edge TRIANGULATE SEGMENTS(const list& L,<br />

GRAPH & G)<br />

computes a constrained triangulation (planar map) T of the segments in<br />

L (trivial segments representing points are allowed). <strong>The</strong> function returns<br />

an edge of the outer face (convex hull).<br />

edge DELAUNAY TRIANG(const list& L, GRAPH & G)<br />

computes a constrained Delaunay triangulation T of the segments in L.<br />

<strong>The</strong> function returns an edge of the outer face (convex hull).

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

Saved successfully!

Ooh no, something went wrong!