isScalarSI property

bool isScalarSI

Whether or not these are scalar dimensions, in the strict International System of Units (SI) sense, which allows non-zero angle and solid angle dimensions.

Use isScalarSI to see if these Dimensions are scalar in the strict International System of Units sense, which allows non-zero angular and solid angular dimensions.

Implementation

bool get isScalarSI {
  if (getComponentExponent(Dimensions.baseLengthKey) != 0) return false;
  if (getComponentExponent(Dimensions.baseMassKey) != 0) return false;
  if (getComponentExponent(Dimensions.baseTimeKey) != 0) return false;
  if (getComponentExponent(Dimensions.baseTemperatureKey) != 0) return false;
  if (getComponentExponent(Dimensions.baseAmountKey) != 0) return false;
  if (getComponentExponent(Dimensions.baseCurrentKey) != 0) return false;
  if (getComponentExponent(Dimensions.baseIntensityKey) != 0) return false;
  return true;
}