Function JobRVO.DistanceInsideVOs
DistanceInsideVOs
(UnsafeSpan<ORCALine> lines, float2 velocity)
Calculates how far inside the infeasible region of the ORCA half-planes the velocity is.
Public
Static
float DistanceInsideVOs (
lines | ||
float2 | velocity |
Calculates how far inside the infeasible region of the ORCA half-planes the velocity is.
Returns 0 if the velocity is in the feasible region of all half-planes.