static private bool RHSCrossSection(string section, out WR_IXSec xSec) { double height, width, thickness; if (!GetDimensionsRHS(section, out height, out width, out thickness)) { xSec = null; return(false); } double factor = Utilities.GetScalingFactorFromRhino(); height *= factor; width *= factor; thickness *= factor; xSec = new WR_XSecRHS(height, width, thickness); return(true); }
private static bool RHSCrossSection(string section, out WR_IXSec xSec) { double height, width, thickness; if (!GetDimensionsRHS(section, out height, out width, out thickness)) { xSec = null; return false; } double factor = Utilities.GetScalingFactorFromRhino(); height *= factor; width *= factor; thickness *= factor; xSec = new WR_XSecRHS(height, width, thickness); return true; }