OAB

Inputs
|A|
|B|
θ (angle A↔B)

Resultant
|R|
Direction