intersectsObstacle

abstract fun intersectsObstacle(start: P, end: P): Boolean

Checks whether there is at least an obstacle intersecting the line connecting start and end.

Return

true if the line connecting start and end touches an obstacle

Parameters

start
start position
end
end position