public void Set(XScalar s) { p[AX] = s.X; p[AY] = s.Y; }
public XScalar(XScalar s) { p = new double[2] { s.X, s.Y }; }