convertUnits(double valueIn, Unit unitFrom, Unit unitTo)
The convertUnits method converts the input values to new units of the same UnitType. We currently do not support conversions from angular units to linear units.
double m_len=Unit.convertUnits(len1, Unit.create(AngularUnit.Code.DEGREE) ,Unit.create(LinearUnit.Code.METER));
We will update out javadoc to explicitly mention this limitation for convertUnits.
-Puneet