public void AddPoint(Point2D position) { var coord = new PolarCoord(position); AddPoint(coord); }
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); } }
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; }