public static void setPreferredLaneWidth ( double width ) { final Preferences prefs = Preferences . userNodeForPackage ( RoadNetworkConstants . class ) ; if ( prefs != null ) { if ( width <= 0 ) { prefs . remove ( "LANE_WIDTH" ) ; //$NON-NLS-1$ } else { prefs . putDouble ( "LANE_WIDTH" , width ) ; //$NON-NLS-1$ } } }
Set the preferred width of a lane for a road segment .