using System; namespace Science.Physics.GeneralPhysics { /// /// Area with direction has the unit of mSQUARE. /// public class AreaVector : Vector { private void SetDim() { this.DimensionMass = 0; this.DimensionLength = 2; this.DimensionTime = 0; } public AreaVector() { SetDim(); } public AreaVector(Length x, Length y) { SetDim(); this.X = 0.0; this.Y = 0.0; this.Z = x.m*y.m; } public double mSQUARE { get{return this.Norm;} } public override string ToString() { return base.ToString() + "(m^2)"; } } }