occt: master 59336f5c

Author Committer Branch Timestamp Parent
abv bugmaster master 2015-12-18 12:03:35 master 2f772104
Changeset 0026951: Incorrect conversion of miles into millimeters during export to STEP

Coefficient for conversion of miles to mm is corrected in UnitsMethods::GetLengthFactorValue() to be 1609344.

In UnitsAPI/Units.dat, value of inch is corrected to be exactly 25.4 mm (it was 25.40001969); definition of nautical mile corrected to be exactly 1852 m.
Test bugs fclasses bug26951 is added to check definition of mm and miles.

DRAW command "unit" is corrected to put its output to Tcl instead of cout.
mod - src/Draw/Draw_UnitCommands.cxx Diff File
mod - src/UnitsAPI/Units.dat Diff File
mod - src/UnitsMethods/UnitsMethods.cxx Diff File