getPointInArcT
Returns the t value of the point on the arc.
function getPointInArcT(mAB: number, A: number, B: number, P: number): number
Parameters
Name | Description |
---|---|
|
The measure of the arc from A to B, negative if counter-clockwise |
|
The angle from center to arc's start point (A) on the circle |
|
The angle from center to arc's end point (B) on the circle |
|
The angle on the circle (P) to find the t value for |
Returns
number
The t value of the point on the arc, with 0 being the start and 1 being the end