using System; namespace Science.Physics.GeneralPhysics { /// /// Length is defined as the straight-line distance between /// two points along an object. The SI unit of length is the meter, /// while the cgs system of units takes the centimeter as the base unit. /// public class Length : Scalar { private void SetDim() { this.DimensionMass = 0; this.DimensionLength = 1; this.DimensionTime = 0; } public Length() { SetDim(); } public double m { get{return this.Magnitude;} set{this.Magnitude=value;} } public override string ToString() { return base.ToString() + "(m)"; } } }