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