Ask Your Question

Revision history [back]

I solved the problem with a trick.For angles that are on the border append new feature to query list.

if (new_angle < thresh)
  addNewFeature(x,y,359);
if (new_angle > 360 - thresh)
  addNewFeature(x,y,0);