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

            return(new PointD(c));
        }
Exemplo n.º 6
0
        public PointD Power(PointD p)
        {
            Complex c = Complex.Pow(ToComplex(), p.ToComplex());

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