找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 975|回复: 2

[求助]:如何通过ARX实现面域的并交差??

[复制链接]
发表于 2004-1-26 15:35:11 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
在ARX中如何实现对面域求并集,交集,差集???
就类似于autocad的union命令???
谢谢!!!
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!

已领礼包: 145个

财富等级: 日进斗金

发表于 2004-1-26 22:55:23 | 显示全部楼层

Re: [求助]:如何通过ARX实现面域的并交差??

最初由 HillMan 发布
[B]在ARX中如何实现对面域求并集,交集,差集???
就类似于autocad的union命令???
谢谢!!! [/B]

  1. [font=courier]
  2. virtual Acad::ErrorStatus

  3. booleanOper(

  4. AcDb::BoolOperType operation,

  5. AcDbRegion* otherRegion);

  6. operation Input type of Boolean operation. Possible types are:
  7. AcDb::kBoolUnite
  8. AcDb::kBoolIntersect
  9. AcDb::kBoolSubtract
  10. otherRegion Input pointer to another region to perform the Boolean

  11. operation

  12. Performs Boolean operation between this region and otherRegion.

  13. If the Boolean operation is successful, then otherRegion's ACIS object is

  14. deleted (so its isNull() method returns Adesk::kTrue) and Acad::eOk is
  15. returned.

  16. If otherRegion is NULL, then Acad::eInvalidInput is returned.


  17. If the Boolean operation between the two regions fails, then the ACIS

  18. objects of both regions are deleted and either

  19. Acad::eNonCoplanarGeometry or Acad::eGeneralModelingFailure is

  20. returned. The Acad::eNonCoplanarGeometry status indicates the two

  21. regions were found to be in different planes.

  22. [/font]
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2004-1-28 14:02:20 | 显示全部楼层
谢谢东哥!!!
原来是帮助没有仔细看!!
现在我在家,东哥什么时候有时间,我去找你!!!
老大,手机不要总是关机啊!!
55555555555555。。。。。。
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|申请友链|Archiver|手机版|小黑屋|辽公网安备|晓东CAD家园 ( 辽ICP备15016793号 )

GMT+8, 2024-9-21 10:58 , Processed in 0.308204 second(s), 34 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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