以编程方式从两个点和角度定义三角形的第二个和第三个点

Programatically define second and third points of a triangle from two points and angles

如果我有两个点,一个是起点或顶点 (A),另一个是 A 的中点,并且我还有三个角,我该如何通过编程确定点 B 和 C?

Triangle problem

已知矢量

VA  = a - A

垂直向量

P = (-VA.Y, VA.X)

需要的长度:

L = (-VA.Y * tan(Pi/12), VA.X * tan(Pi/12))

所得分数

B = a + L
C = a - L