Let
be the angle range and
and
be the lower and upper distance
bounds, respectively. The algorithm starts calling ArcTrip with angle range
and radius set as
. ArcTrip is iteratively called with radius incremented by
unless
NNs are
found. Fig.
shows an example where
is reported as CNN. The algorithm visits
the shaded cells.
Continuous monitoring of such
CNN queries is similar to continuous monitoring of
NN queries with the difference
that ArcTrip is called instead of CircularTrip and the distance of any object
that lies outside
the constrained region is considered infinity.