Function JobRVO.LinearProgram2DSegment

LinearProgram2DSegment (NativeArray<ORCALine> lines, int numLines, float radius, float2 optimalVelocityStart, float2 optimalVelocityDir, float optimalTLeft, float optimalTRight, float optimalT)

Like LinearProgram2D, but the optimal velocity space is a segment instead of a point.

Public Static
LinearProgram2Output LinearProgram2DSegment (

NativeArray<ORCALine>

lines

int

numLines

float

radius

float2

optimalVelocityStart

float2

optimalVelocityDir

float

optimalTLeft

float

optimalTRight

float

optimalT

)

Like LinearProgram2D, but the optimal velocity space is a segment instead of a point.