Skip to main content

calc_meters_per_unit

Function calc_meters_per_unit 

Source
pub fn calc_meters_per_unit(code: &str) -> Option<f64>
Expand description

GetUnitsCode + To_Meters from Shared/LineUnits.cpp. The engine matches on the first two characters; no* and anything unrecognized are UNITS_NONE, which has no conversion factor.