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.

ool T.is hull edge(edge e) as above.<br />

bool T.is diagram dart(edge e) returns true if e is a dart of the Delaunay diagram,<br />

i.e., either a dart on the convex hull or a<br />

dart where the incident triangles have distinct<br />

circumcircles.<br />

bool T.is diagram edge(edge e) as above.<br />

edge T.d face cycle succ(edge e) returns the face cycle successor of e in the Delaunay<br />

diagram of T . Precondition: e belongs<br />

to the Delaunay diagram.<br />

edge<br />

T.d face cycle pred(edge e) returns the face cycle predecessor of e in the Delaunay<br />

diagram of T . Precondition: e belongs<br />

to the Delaunay diagram.<br />

bool T.empty( ) decides whether T is empty.<br />

void T.clear( ) makes T empty.<br />

edge<br />

edge<br />

node<br />

T.locate(POINT p, edge loc start = NULL)<br />

T.locate(POINT p, const list& loc start)<br />

T.lookup(POINT p, edge loc start = NULL)<br />

returns an edge e of T that contains p or that<br />

borders the face that contains p. In the former<br />

case, a hull dart is returned if p lies on<br />

the boundary of the convex hull. In the latter<br />

case we have T.orientation(e, p) > 0 except if<br />

all points of T are collinear and p lies on the induced<br />

line. In this case target(e) is visible from<br />

p. <strong>The</strong> function returns nil if T has no edge.<br />

<strong>The</strong> optional second argument is an edge of T ,<br />

where the locate operation starts searching.<br />

returns locate(p, e) with e in loc start. If<br />

loc start is empty, we return locate(p, NULL).<br />

<strong>The</strong> operation tries to choose a good starting<br />

edge for the locate operation from loc start.<br />

Precondition: All edges in loc start must be<br />

edges of T .<br />

if T contains a node v with pos(v) = p the result<br />

is v otherwise the result is nil. <strong>The</strong> optional second<br />

argument is an edge of T , where the locate<br />

operation starts searching p.

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

Saved successfully!

Ooh no, something went wrong!