tylilingcad 发表于 2009-9-30 10:16:00

求实体与直线交点

请教一下,在cad中怎样求得实体与平面上一直线的交点坐标用<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><font face="Times New Roman">acdbInters函数只能求得两直线的交点..请高手帮忙急急急...........</font></b></p>

梦幻神话 发表于 2009-9-30 16:46:00

<p class="signature">virtual Acad::ErrorStatus</p><p class="signature">intersectWith(</p><p class="signatureIn">const AcDbEntity* pEnt,</p><p class="signatureIn">AcDb::Intersect intType,</p><p class="signatureIn">AcGePoint3dArray&amp; points,</p><p class="signatureIn">int thisGsMarker = 0,</p><p class="signatureInEnd">int otherGsMarker = 0) const;</p><table class="argumentList"><tbody><tr valign="baseline"><td class="argumentName">pEnt</td><td class="argumentDescription">Input entity with which "this" entity is to intersect</td></tr><tr valign="baseline"><td class="argumentName">intType</td><td class="argumentDescription">Input type of intersection requested</td></tr><tr valign="baseline"><td class="argumentName">points</td><td class="argumentDescription">Output with the points of intersection appended</td></tr><tr valign="baseline"><td class="argumentName">thisGsMarker</td><td class="argumentDescription">Input GS marker of subentity of "this" entity that's involved in the intersection operation. Use the 0 default if not applicable.</td></tr><tr valign="baseline"><td class="argumentName">otherGsMarker</td><td class="argumentDescription">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.</td></tr></tbody></table>
页: [1]
查看完整版本: 求实体与直线交点