public void AddPoint(PointXY point)
 {
     AllElements.Add(point);
 }
 public ChargedLine()
 {
     FirstPoint = new PointXY();
     SecondPoint = new PointXY();
     charge = 0;
 }
Beispiel #3
0
 public Charge(double _x = 0, double _y = 0, double _charge = 0)
 {
     point = new PointXY(_x, _y);
 }
 public ChargedLine(PointXY _FPoint, PointXY _SPoint, double _charge)
 {
     FirstPoint = _FPoint;
     SecondPoint = _SPoint;
     charge = _charge;
 }