找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 204|回复: 0

如何计算两条线段的交点AcGeLineSeg3d

[复制链接]

1

主题

0

回帖

123

积分

管理员

积分
123
发表于 2024-9-25 13:28:48 | 显示全部楼层 |阅读模式


  1. AcGeLineSeg3d acGeLineSegtmp1(AcGePoint3d(0,100,0),AcGePoint3d(50,100,0));
  2. AcGeLineSeg3d acGeLineSegtmp2(AcGePoint3d(-50,50,0),AcGePoint3d(-50,120,0));
  3. AcGeTol gGetol;gGetol.setEqualPoint(0.001);//设置精度
  4. AcGePoint3d intPnt;//交点
  5. bool bRec = acGeLineSegtmp1.intersectWith(acGeLineSegtmp2,intPnt,gGetol);//交点
复制代码
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|膜结构网

GMT+8, 2025-5-14 14:11 , Processed in 0.115436 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表