IConstructCurve::ConstructOffset Crashes ArcMap with continuous convex and concave arcs in the Polygon Featureclass.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM012185
已提交
October 5, 2007
上次修改时间
June 5, 2024
适用范围
No Product Found
找到的版本
9.2
修正版本
9.3
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
There are two workarounds as given below:1) Using IPolycurve2::DensifyByAngle on a copy of the polygon. ' Construct new polygon dblOffset = 20 Set pConstructCurve = New Polygon Dim pPolycurve As IPolycurve Set pPolycurve = pPolygon pPolycurve.Densify -1, -1 pConstructCurve.ConstructOffset pPolycurve, dblOffset2) Export data into shapefile then put into same Personal Geodatabase file. Then try execute the same code with increasing the value of dblOffset (like 20,30 etc..)