double getMarginValue ( final double defaultMargin ) { double margin = model . get ( BasicSceneGenerator . Margin . class ) ; if ( margin == AUTOMATIC ) margin = defaultMargin ; return margin ; }
Access the specified margin value or fallback to a provided default .