Engine中哪个接口可以实现与ArcMap中的Planarize Lines工具相同的功能?

ArcMap中的Planarize Lines工具分隔椭圆弧正常,但是相同数据Engine中使用SplitAtPoints方法所得结点与ArcMap中的工具所得结果不一致,Engine有无接口可以实现Planarize Lines工具的功能?
已邀请:

朱新颖

赞同来自:

【解决办法】:
测试后发现Engine中的SplitAtPoints方法和ArcMap的Planarize Lines方法分割椭圆弧时所得的结点坐标确实有些差别,在小数点后第四位,建议使用IFeatureConstruction.PlanarizeLines方法,该方法所得结果与ArcMap相同,测试代码如下:


IFeatureLayer FL = axMapControl1.get_Layer(0) as IFeatureLayer; 
ISelection sel = axMapControl1.Map.FeatureSelection; 
IEnumFeature features = sel as IEnumFeature; 
IFeatureConstruction con = new FeatureConstructionClass(); 
con.PlanarizeLines(null, features, 0.001);

我是大树

赞同来自:

朱老师,这种方式无法获取到分割后的线集合

要回复问题请先登录注册