IEllipticArc.PutCoords leads to a ComException: cannot convert the specified Global Area Reference System (GARS) notation to a geographic coordinate.
上次发布: January 16, 2019ArcObjects SDK
漏洞 ID 编号
BUG-000118188
已提交
November 14, 2018
上次修改时间
June 5, 2024
适用范围
ArcObjects SDK
找到的版本
10.5
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
This is a user error.
Note, 1/3 returns 0, instead of 0.3333333
ellipticArc.PutCoords(false, centerPoint, startPoint, endPoint, Math.PI, 1/3, esriArcOrientation.esriArcClockwise);
The correct code should be
ellipticArc.PutCoords(false, centerPoint, startPoint, endPoint, Math.PI, 1.0/3.0, esriArcOrientation.esriArcClockwise);