Research Article

Dynamic Detection of Topological Information from Grid-Based Generalized Voronoi Diagrams

Algorithm 4

Pseudocode for detecting potential GVD vertices.
CheckPotentialVertex()
(65) for each roughtEQueue
(66)   Vertex v,
(67)   Insert( , )
(68)   Insert( , BuildEdgeID( ))
(69)   count 1
(70)   for each n AdjECell(s)
(71)     if
(72)       Insert( , )
(73)       Insert( , BuildEdgeID( ))
(74)       count count + 1
(75)     if count > 2
(76)       Insert(v, vertexPQueue, count)
(77)  else delete v