Метод | Описание | |
---|---|---|
LerpProjectOnto ( this point, |
The proportion that, when lerped across the given line, results in the given point. If the point is not on the line segment, the result is the closest point on the extended line.
|
|
QuadraticRoots ( double a, double b, double c ) : IEnumerable |
Enumerates the real solutions to the formula a*x^2 + b*x + c = 0. Handles degenerate cases. If a=b=c=0 then only zero is enumerated, even though technically all real numbers are solutions.
|
|
WhenLineSweepsPoint ( |
Enumerates the times and places, if any, where a moving line crosses a point during a time step. The line's endpoints move at a constant rate along their linear paths.
|
public static LerpProjectOnto ( this point, |
||
point | this | |
line | ||
Результат | double |
public static QuadraticRoots ( double a, double b, double c ) : IEnumerable |
||
a | double | |
b | double | |
c | double | |
Результат | IEnumerable |
public static WhenLineSweepsPoint ( |
||
pathOfLineStartPoint | ||
pathOfLineEndPoint | ||
point | Point | |
Результат | IEnumerable |