2875147 发表于 2005-10-30 16:35:00

[求助]『急』怎么求两条直线的交点

<P>我是新手</P>
<P>请教在ARX2000里求两条直线交点的程序怎么些</P>
<P>麻烦各位高手帮忙!</P>
<P>谢谢!!!</P>

2875147 发表于 2005-10-31 17:11:00

<P>没响应啊</P>
<P>&nbsp;</P>

FallenAnge 发表于 2005-11-1 14:55:00

intersectWith 函数

2875147 发表于 2005-11-1 15:21:00

<P>谢谢!!!</P>
<P>我这没有这个函数的原型</P>
<P>麻烦把原型告知!!!</P>
<P>&nbsp;</P>

zswking 发表于 2005-11-4 16:27:00

<P>virtual Acad::ErrorStatus<BR>intersectWith(<BR>&nbsp;&nbsp;&nbsp; const AcDbEntity* pEnt,<BR>&nbsp;&nbsp;&nbsp; AcDb::Intersect intType,<BR>&nbsp;&nbsp;&nbsp; AcGePoint3dArray&amp; points,<BR>&nbsp;&nbsp;&nbsp; int thisGsMarker = 0,</P>
<P>&nbsp;&nbsp;&nbsp; int otherGsMarker= 0) const;</P>
<P>pEnt&nbsp;Input entity with which "this" entity is to intersect<BR>intType&nbsp;Input type of intersection requested<BR>points&nbsp;Output with the points of intersection appended<BR>thisGsMarker&nbsp;Input GS marker of subentity of "this" entity that's involved in the intersection operation. Use the 0 default if not applicable.<BR>otherGsMarker&nbsp;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&nbsp;Meaning<BR>AcDb::kOnBothOperands&nbsp;Do not extend either entity. This results in only calculating intersections where the two entitys' geometry actually intersect<BR>AcDb::kExtendThis&nbsp;Extend this entity (if necessary) when calculating intersections, but do not extend the pEnt entity.<BR>AcDb::kExtendArg&nbsp;Extend the pEnt entity (if necessary) when calculating intersections, but do not extend this entity.<BR>AcDb::kExtendBoth&nbsp;Extend both the pEnt entity and this entity (if necessary) when calculating intersections</P>

2875147 发表于 2005-11-6 10:06:00

<P>十分感谢!!!!</P>

yulinxx 发表于 2010-8-25 17:23:00

mark &nbsp;<div><br/></div><div>以后用得着。。 哈哈</div>
页: [1]
查看完整版本: [求助]『急』怎么求两条直线的交点