Example #1
0
        public int select(KCPoint point)
        {
            //Console.WriteLine("------------");
            for (int i = 0; i < positions.Count; i++)
            {
                if (Mathhelper.dist(positions[i], point) < diameter)
                {
                    return(i);
                }
            }



            return(-1);
        }
Example #2
0
 public int[] selectGroup(KCPoint kCPoint)
 {
     throw new NotImplementedException();
 }
Example #3
0
 private void drawCircleFill(Graphics graphics, KCPoint point, Color color)
 {
     graphics.FillEllipse(new SolidBrush(color), point.X - diameter, point.Y - diameter, 2 * diameter, 2 * diameter);
 }