Function JobRVO.ClipLine
Clip a line to the feasible region of the half-plane given by the clipper.
Public
Static
bool ClipLine (
line | ||
clipper | ||
ref float | tLeft | |
ref float | tRight |
Clip a line to the feasible region of the half-plane given by the clipper.
The clipped line is `line.point + line.direction*tLeft` to `line.point + line.direction*tRight`.
Returns false if the line is parallel to the clipper's border.