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.

13.1.2 Handles and Iterators . . . . . . . . . . . . . . . . . . . . . . . . . . 368<br />

13.1.3 STL Iterators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368<br />

13.1.4 Circulators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369<br />

13.1.5 Data Accessors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369<br />

13.1.6 Graphiterator Algorithms . . . . . . . . . . . . . . . . . . . . . . . 371<br />

13.2 Node Iterators ( NodeIt ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373<br />

13.3 Edge Iterators ( EdgeIt ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375<br />

13.4 Face Iterators ( FaceIt ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376<br />

13.5 Adjacency Iterators for leaving edges ( OutAdjIt ) . . . . . . . . . . . . . . 378<br />

13.6 Adjacency Iterators for incoming edges ( InAdjIt ) . . . . . . . . . . . . . . 381<br />

13.7 Adjacency Iterators ( AdjIt ) . . . . . . . . . . . . . . . . . . . . . . . . . . 383<br />

13.8 Face Circulators ( FaceCirc ) . . . . . . . . . . . . . . . . . . . . . . . . . . 386<br />

13.9 Filter Node Iterator ( FilterNodeIt ) . . . . . . . . . . . . . . . . . . . . . 388<br />

13.10Comparison Predicate ( CompPred ) . . . . . . . . . . . . . . . . . . . . . 389<br />

13.11Observer Node Iterator ( ObserverNodeIt ) . . . . . . . . . . . . . . . . . . 391<br />

13.12STL Iterator Wrapper ( STLNodeIt ) . . . . . . . . . . . . . . . . . . . . . 393<br />

13.13Node Array Data Accessor ( node array da ) . . . . . . . . . . . . . . . . . 395<br />

13.14Constant Accessors ( constant da ) . . . . . . . . . . . . . . . . . . . . . . 397<br />

13.15Node Member Accessors ( node member da ) . . . . . . . . . . . . . . . . . 397<br />

13.16Node Attribute Accessors ( node attribute da ) . . . . . . . . . . . . . . . 399<br />

13.17Breadth First Search (flexible) ( GIT BFS ) . . . . . . . . . . . . . . . . . 400<br />

13.18Depth First Search (flexible) ( GIT DFS ) . . . . . . . . . . . . . . . . . . 402<br />

13.19Topological Sort (flexible) ( GIT TOPOSORT ) . . . . . . . . . . . . . . . 404<br />

13.20Strongly Connected Components (flexible) ( GIT SCC ) . . . . . . . . . . 406<br />

13.21Dijkstra(flexible) ( GIT DIJKSTRA ) . . . . . . . . . . . . . . . . . . . . . 408<br />

14 Basic Data Types for Two-Dimensional Geometry 411<br />

14.1 Points ( point ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412<br />

14.2 Segments ( segment ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417<br />

14.3 Straight Rays ( ray ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421<br />

14.4 Straight Lines ( line ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424<br />

14.5 Circles ( circle ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428<br />

14.6 Polygons ( POLYGON ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432<br />

14.7 Generalized Polygons ( GEN POLYGON ) . . . . . . . . . . . . . . . . . . 438<br />

14.8 Triangles ( triangle ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 444<br />

14.9 Iso-oriented Rectangles ( rectangle ) . . . . . . . . . . . . . . . . . . . . . . 447

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

Saved successfully!

Ooh no, something went wrong!