private void test005() { CadFigure fig = GetTargetFigure(); if (fig.PointCount < 3) { return; } Vector3d v1 = fig.PointList[0].vector - fig.PointList[1].vector; Vector3d v2 = fig.PointList[2].vector - fig.PointList[1].vector; double t = CadMath.AngleOfVector(v1, v2); double a = CadMath.Rad2Deg(t); ItConsole.println(string.Format("angle:{0}(deg)", a)); }