阅读:2009回复:5
searchRect = curLayer.SearchShape(shapes, moContaining, "")
<P>searchRect = curLayer.SearchShape(shapes, moContaining, "")</P>
<P>请教高手,当我令 shapes 为一个圆时,为什么查询就不行了??</P> <P> Dim o As MapObjects2.Ellipse </P> <P> Set o = FrmMain.MainMap.TrackCircle</P> <P> Set shapes = o</P> <P>谢谢高手!!!</P> <img src="images/post/smile/dvbbs/em02.gif" /><img src="images/post/smile/dvbbs/em02.gif" /> |
|
|
1楼#
发布于:2004-08-31 15:02
<P>不会吧,</P>
|
|
|
2楼#
发布于:2004-08-31 15:55
把圆转换成多边形再查。
|
|
|
3楼#
发布于:2004-08-31 17:28
<P>应该不会有这个问题</P><P>要不用圆心做buffer试试看</P>
|
|
4楼#
发布于:2004-09-02 12:07
<P>这个我用过,斑竹说的没错buffer一下就可以了</P>
|
|
5楼#
发布于:2004-09-03 16:10
<P> Dim o As MapObjects2.Ellipse </P><P> Set o = FrmMain.MainMap.TrackCircle</P><P> Set shapes = o.buffer(0)</P><P>就ok 了 </P>
|
|