阅读:1733回复:2
[求助]可以对Multipoit做缓冲区吗?大虾请进我用ITopologicalOperator接口对Multipoint作缓冲区,会报错。请教大虾那种接口方法可对Multipoint的几何类型作缓冲区。 再有,如果不行,请问怎样将esriGeometryMultipoint类型转为esriGeometryPoint类型?然后采用ITopologicalOperator接口对其作Buffer。 谢谢大虾指教! |
|
1楼#
发布于:2007-05-17 16:58
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. High-Level geometries are point, multipoint, polyline and polygon. 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. -----------------multipoint应该是可以的 |
|
2楼#
发布于:2007-05-17 17:41
ITopologicalOperator2 pTop=mMultiPoint as ITopologicalOperator2; ---------------------我试过了一定要用ITopologicalOperator2做buffer,mMultiPoint就是一个自己定义的IMultipoint. |
|