Research Article
Dynamic Detection of Topological Information from Grid-Based Generalized Voronoi Diagrams
Algorithm 2
Pseudocode for erasing cells from GVD topologies.
ECellErase(c) | (30) Edge e ← Find(, eMap) | (31) if | (32) Erase(c, ), ← false | (33) if | (34) v ← Find(, vMap) | (35) VCellErase(v) | (36) v ← Find(, vMap) | (37) VCellErase(v) | (38) Erase(, eMap) | VCellErase(v) | (39) for all e ← FindEdges(, eMap) | (40) if | (41) | (42) if | (43) | (44) Erase(, vMap) | (45) Erase(, vMap) |
|