Example #1
0
 public void AddSphere(Point3D center, double radius)
 {
     for (int i = 0; i < Positions.Length; i++)
     {
         var c = new SphereConstraint(i, center, radius);
         Constraints.Add(c);
     }
 }
 public void AddSphere(Point3D center, double radius)
 {
     for (int i = 0; i < Positions.Length; i++)
     {
         var c = new SphereConstraint(i, center, radius);
         Constraints.Add(c);
     }
 }