public MassPointSet(MassPoint[] source, double r, PointS center) { this.Radius = r; this.center = center; arr = source.Where(el => el.Coords.Distance(center) <= r).ToArray(); }
public MassPoint(PointS center, double weight) { this.Coords = center; this.Weight = weight; }