Esempio n. 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();
 }
Esempio n. 2
0
 public MassPoint(PointS center, double weight)
 {
     this.Coords = center;
     this.Weight = weight;
 }