Exemplo n.º 1
0
 public void AddPoint(Point2D position)
 {
     var coord = new PolarCoord(position);
     AddPoint(coord);
 }
Exemplo n.º 2
0
 public void RemovePoint(PolarCoord coord)
 {
     if (AngleHistogram[coord.Angle].Contains(coord))
     {
         AngleHistogram[coord.Angle].Remove(coord);
     }
     if (this.PointsPrivate.Contains(coord))
     {
         this.PointsPrivate.Remove(coord);
     }
 }
Exemplo n.º 3
0
        public void AddPoint(PolarCoord coord)
        {
            coord.CalculateCenter(this.Center, this.Up);
            this.PointsPrivate.Add(coord);
            AngleHistogram[coord.Angle].Add(coord);

            if (coord.Radius < MinRadius)
                MinRadius = coord.Radius;
        }