[求助]『急』怎么求两条直线的交点
<P>我是新手</P><P>请教在ARX2000里求两条直线交点的程序怎么些</P>
<P>麻烦各位高手帮忙!</P>
<P>谢谢!!!</P> <P>没响应啊</P>
<P> </P> intersectWith 函数 <P>谢谢!!!</P>
<P>我这没有这个函数的原型</P>
<P>麻烦把原型告知!!!</P>
<P> </P> <P>virtual Acad::ErrorStatus<BR>intersectWith(<BR> const AcDbEntity* pEnt,<BR> AcDb::Intersect intType,<BR> AcGePoint3dArray& points,<BR> int thisGsMarker = 0,</P>
<P> int otherGsMarker= 0) const;</P>
<P>pEnt Input entity with which "this" entity is to intersect<BR>intType Input type of intersection requested<BR>points Output with the points of intersection appended<BR>thisGsMarker Input GS marker of subentity of "this" entity that's involved in the intersection operation. Use the 0 default if not applicable.<BR>otherGsMarker Input GS marker of subentity of the entity pointed to by pEnt that's involved in the intersection operation. Use the 0 default if not applicable.</P>
<P>Function usage<BR>It finds the intersections of the entity pointed to by pEnt and all the edges of the bounding box of this entity.<BR>The intType is used to determine how to deal with extending the two entities in order to calculate intersections. The possible AcDb::Intersect values are:</P>
<P>Value Meaning<BR>AcDb::kOnBothOperands Do not extend either entity. This results in only calculating intersections where the two entitys' geometry actually intersect<BR>AcDb::kExtendThis Extend this entity (if necessary) when calculating intersections, but do not extend the pEnt entity.<BR>AcDb::kExtendArg Extend the pEnt entity (if necessary) when calculating intersections, but do not extend this entity.<BR>AcDb::kExtendBoth Extend both the pEnt entity and this entity (if necessary) when calculating intersections</P> <P>十分感谢!!!!</P> mark <div><br/></div><div>以后用得着。。 哈哈</div>
页:
[1]