Add intersection method to line util class