多线段与圆相交,如何得到交点坐标
<P>多线段与圆相交,如何得到交点坐标 </P><P>如题</P>
<P>应该调用那个函数,该怎么调用啊</P> intersectWith() <P>能具体点吗,</P>
<P>AcDbCircle *pCircb</P>
<P>AcDbEntity *pPline;<BR> AcGePoint3dArray & vertices;<BR> pCircb->intersectWith(pPline,kExtendArg,AcGePlane::kXYPlane,&vertices);</P>
<P> error C2664: “Acad::ErrorStatus AcDbEntity::intersectWith(const AcDbEntity *,AcDb::Intersect,AcGePoint3dArray &,int,int) const” : 不能将参数 4 从“AcGePoint3dArray *__w64 ”转换为“AcGePoint3dArray &”</P>
<P>这是怎么回事<BR></P> <P>AcGePoint3dArray & vertices;</P>
<P><BR>一直提示 vertices必需初始化引用</P>
<P>该怎么初始化。</P>
<P>请指教</P> <P>谢谢啊,</P>
<P>初学者,请多担待,请多指教</P>
页:
[1]