*
* @author Hannu Niemistö
*/
-class SimpleConnectionUtility {
+public class SimpleConnectionUtility {
public static boolean allowsDirection(RouteTerminal a, int dir) {
return Directions.isAllowed(a.getAllowedDirections(), dir);
return MORE_BENDS_BBS_DONT_INTERSECT;
}
- private static int simpleConnectionCaseRouteToBounds(RouteTerminal a,
+ public static int simpleConnectionCaseRouteToBounds(RouteTerminal a,
RouteTerminal b) {
double aX = 0.5*(a.getMinX() + a.getMaxX());
double aY = 0.5*(a.getMinY() + a.getMaxY());