sunzhong2003
路人甲
路人甲
  • 注册日期2005-07-06
  • 发帖数26
  • QQ
  • 铜币210枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:1046回复:0

AE开发,在arcscene控件中,如何加入图元,进行显示

楼主#
更多 发布于:2006-06-15 21:17
<P>IPointCollection ptCol=(IPointCollection)pPolygon;<BR>   IPointCollection pNewPointColl=new PolygonClass();<BR>   object obj=Type.Missing;<BR>   for(int i=0;i<ptCol.PointCount;i++)<BR>   {<BR>    IPoint pPt=ptCol.get_Point(i);<BR>    pPt.Z=20;<BR>    pNewPointColl.AddPoint(pPt,ref obj,ref obj);<BR>   }</P>
<P>请问,AE开发,在arcscene控件中,如何加入图元,进行显示。</P>
<P>以上代码加入,失去了Z值,还是二维的,不知道如何弄了,请高手指点</P>
喜欢0 评分0
游客

返回顶部