两点间距离求法
tX = P1.X - P2.XtY = P1.Y - P2.Ydistance1 = (tX * tX + tY * tY) ^ 0.5
把这个依次替换为三角形顶点坐标即可。
请采纳软糖的回答哦。
用两点之间的距离公式,很容易求的