i have a small question. The cheapest way to check if a point is in the circle is checking the distance from its center to point but when i try to check this straightforward like:
if (cCenter.DistanceTo(pt) < radius)
I get unpredictable results so i assume i have to deal with some doc tolerance or sth? I’d like to maintain points which are on the edge.
@Willem thats interesting i found that out that in different file i get also 6 values… but one moment - take a look in the different file where i got few objects around. I’m running this on v5 sr14.
white line is constructed if point is not in circle and i had to do if (cCenter.DistanceTo(pt) < radius - 0.0005)
red circles are indicating the original case where if (cCenter.DistanceTo(pt) < radius) so as you see I’m missing quite a few circles here…