@ Pure public static double getPreferredRoadConnectionDistance ( ) { final Preferences prefs = Preferences . userNodeForPackage ( RoadNetworkConstants . class ) ; if ( prefs != null ) { return prefs . getDouble ( "ROAD_CONNECTION_DISTANCE" , DEFAULT_ROAD_CONNECTION_DISTANCE ) ; //$NON-NLS-1$ } return DEFAULT_ROAD_CONNECTION_DISTANCE ; }
Replies the preferred distance below which roads may be connected .