最初由 HillMan 发布
[B]在ARX中如何实现对面域求并集,交集,差集???
就类似于autocad的union命令???
谢谢!!! [/B]
 - [font=courier]
- virtual Acad::ErrorStatus
- booleanOper(
- AcDb::BoolOperType operation,
- AcDbRegion* otherRegion);
- operation Input type of Boolean operation. Possible types are:
- AcDb::kBoolUnite
- AcDb::kBoolIntersect
- AcDb::kBoolSubtract
- otherRegion Input pointer to another region to perform the Boolean
- operation
- Performs Boolean operation between this region and otherRegion.
- If the Boolean operation is successful, then otherRegion's ACIS object is
- deleted (so its isNull() method returns Adesk::kTrue) and Acad::eOk is
- returned.
- If otherRegion is NULL, then Acad::eInvalidInput is returned.
- If the Boolean operation between the two regions fails, then the ACIS
- objects of both regions are deleted and either
- Acad::eNonCoplanarGeometry or Acad::eGeneralModelingFailure is
- returned. The Acad::eNonCoplanarGeometry status indicates the two
- regions were found to be in different planes.
- [/font]
|