Esempio n. 1
0
 public Point VToC(PointD p)
 {
     return(new Point(_x.VToC(p.X), _y.VToC(p.Y)));
 }
Esempio n. 2
0
 public PointD CToV(PointD p)
 {
     return(new PointD(_x.CToV(p.X), _y.CToV(p.Y)));
 }
 public PointDO()
 {
     _value = null;
     _color = Color.Black;
 }
 public PointDO(PointD value)
 {
     _value = value;
     _color = Color.Black;
 }
        public PointD Mult(PointD p)
        {
            Complex c = Complex.Multiply(ToComplex(), p.ToComplex());

            return(new PointD(c));
        }
        public PointD Power(PointD p)
        {
            Complex c = Complex.Pow(ToComplex(), p.ToComplex());

            return(new PointD(c));
        }
 public PointD Subtract(PointD p)
 {
     return(new PointD(X - p.X, Y - p.Y));
 }
 public PointD Add(PointD p)
 {
     return(new PointD(X + p.X, Y + p.Y));
 }
 public PointDO(double x, double y, Color color)
 {
     _value = new PointD(x, y);
     _color = color;
 }
Esempio n. 10
0
 public PointDO(PointD value, Color color)
 {
     _value = value;
     _color = color;
 }
Esempio n. 11
0
 public PointDO(double x, double y)
 {
     _value = new PointD(x, y);
     _color = Color.Black;
 }