public static Mass castToMass(Quantities v)
 {
     return(v.mass);
 }
 public static Volume castToVol(Quantities v)
 {
     return(v.volume);
 }
 public static Length  castTolength(Quantities v)
 {
     return(v.length);
 }