getPointInArcT

See source code

Returns the t value of the point on the arc.

function getPointInArcT(mAB: number, A: number, B: number, P: number): number

Parameters

NameDescription

mAB

number

The measure of the arc from A to B, negative if counter-clockwise

A

number

The angle from center to arc's start point (A) on the circle

B

number

The angle from center to arc's end point (B) on the circle

P

number

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

Prev
getPointerInfo
Next
getPointOnCircle