Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public int[] selectGroup(KCPoint kCPoint)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 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);
 }