public void ValueType_Pln() { Pln p1 = Pln.XOY; double a = 0, b = 0, c = 0, d = 0; p1.Coefficients(ref a, ref b, ref c, ref d); Assert.AreEqual("0,0,1,0", $"{a},{b},{c},{d}"); p1.Rotate(Ax1.OZ, Math.PI / 2); Assert.AreEqual("(0,0,0),(1.11022302462516E-16,1,0)", p1.XAxis.ToString()); }
public void Origins() { Pln p1 = Pln.XOY; double a = 0, b = 0, c = 0, d = 0; p1.Coefficients(ref a, ref b, ref c, ref d); Assert.AreEqual(0, a, 0.000001); Assert.AreEqual(0, b, 0.000001); Assert.AreEqual(1, c, 0.000001); Assert.AreEqual(0, d, 0.000001); }