solveTrigForm MethodStatic

Return solution(s) of equation constCoff + cosCoff*c + sinCoff*s = 0 for c and s with the constraint c*c + s*s = 1.

  • There could be 0, 1, or 2 solutions. Return undefined if there is no solution.

solveTrigForm(constCoff: number, cosCoff: number, sinCoff: number): Vector2d[] | undefined

Parameter Type Description
constCoff number  
cosCoff number  
sinCoff number  

Returns - Vector2d[] | undefined

Defined in

Last Updated: 28 April, 2026