阅读:1722回复:2
[求助]可以对Multipoit做缓冲区吗?大虾请进
<P>我用ITopologicalOperator接口对Multipoint作缓冲区,会报错。请教大虾那种接口方法可对Multipoint的几何类型作缓冲区。</P>
<P>再有,如果不行,请问怎样将esriGeometryMultipoint类型转为esriGeometryPoint类型?然后采用ITopologicalOperator接口对其作Buffer。</P> <P>谢谢大虾指教!</P> |
|
1楼#
发布于:2007-05-17 16:58
<P>Note : A negative distance can be specified to produce a buffer inside the original polygon. This cannot be used with polyline. ITopologicalOperator methods must be applied on high-level geometries only. <FONT color=#ee3d11>High-Level geometries are point, multipoint, polyline and polygon. </FONT>To use it with low-level geometries such as segments (Line, Circular Arc, Elliptic Arc, Bézier Curve), path or ring they must be wrapped into high-level geometries type.</P>
<P>-----------------<FONT color=#ee3d11>multipoint应该是可以的</FONT><BR></P> |
|
2楼#
发布于:2007-05-17 17:41
<P>ITopologicalOperator2 pTop=mMultiPoint as ITopologicalOperator2;<BR>pTop.IsKnownSimple_2 =false;<BR>pTop.Simplify ();</P>
<P>---------------------我试过了一定要用ITopologicalOperator2做buffer,mMultiPoint就是一个自己定义的IMultipoint.</P> |
|