using System; using GP = Science.Physics.GeneralPhysics; namespace ScienceTest.PhysicsTest.GeneralPhysicsTest { /// /// DisplacementCurrentTest /// public class DisplacementTest { public DisplacementTest() { } private string result; public string Result { get{return result;} } public void Compute() { GP.Position xi = new GP.Position(); xi.Y = 1.0; GP.Position xf = new GP.Position(); xf.Z = 1.0; GP.Displacement dx = new GP.Displacement(xf, xi); result += dx.ToString(); } } } // 0 +/- 0 i -1 +/- 0 j +1 +/- 0 k (m)