阅读:2159回复:4
急求:怎样得到一线与一面的相交部分的Geometry
一线与一面相交,怎样得到其相交的部分,也就是相交成的那一段线?用到什么接口?希望大侠不吝赐教!谢谢<img src="images/post/smile/dvbbs/em02.gif" />
|
|
1楼#
发布于:2006-09-29 08:54
<TABLE cellSpacing=0>
<TR> <TD class=runninghead noWrap>ArcGIS Developer Help (ESRI.ArcGIS.Geometry)</TD> <TD class=product noWrap> </TD></TR></TABLE> <DIV> <H1>ITopologicalOperator</H1> <P>下面的接口有几个可以的</P> <P> </P> <P>.Intersect Method就是其中一个</P></DIV> |
|
|
2楼#
发布于:2006-09-29 09:53
<P>C# 代码</P>
<P>private IGeometry GetIntersectPath(IGeometry pPolygon,IGeometry pPolyline)</P> <P>{</P> <P>}</P> |
|
|
3楼#
发布于:2006-09-29 09:58
<P>C#代码</P>
<P>private IGeometry GetIntersectPath(IGeometry pPolygon,IGeometry pPolyline)<BR>{<BR> IGeomtry pIntersectPath = null;<BR> if (pPolygon == null) return null;<BR> ITopologicalOperator pTopo = pPolygon;<BR> if (pPolyline == null) return null;<BR> pIntersectPath = pTopo.Intersect(pPolyline,1);<BR> return pIntersectPath;<BR>}</P> |
|
|
4楼#
发布于:2006-10-09 08:48
<img src="images/post/smile/dvbbs/em02.gif" />
|
|