public boolean isCrossing(Spring spring) {
        boolean isCrossing = getLine().intersectsLine(spring.getLine());
        boolean isConnectedAtOnlyOneEnd = isGeometricallyConnectedAtOnlyOneEnd(this, spring);

        if (isCrossing && !isConnectedAtOnlyOneEnd) {
            return true;
        } else if (isCrossing && isConnectedAtOnlyOneEnd) {
            return false;
        }

        return false;
    }