- UID
- 10832
- 积分
- 381
- 精华
- 贡献
-
- 威望
-
- 活跃度
-
- D豆
-
- 在线时间
- 小时
- 注册时间
- 2002-10-9
- 最后登录
- 1970-1-1
|
发表于 2003-8-18 08:52:35
|
显示全部楼层
用getGripPoints似乎更简单
virtual Acad::ErrorStatus
getGripPoints(
AcGePoint3dArray& gripPoints,
AcDbIntArray& osnapModes,
AcDbIntArray& geomIds) const;
gripPoints Input a pre-existing array to append grip points to
Output with the entity's grip points appended
osnapModes not currently in use
geomIds not currently in use
Function usage
This function is not intended to be called by ObjectARX applications. However, it is possible to do so (for example, as a pass-through from the getStretchPoints() method).
Function implementation in derived classes
This function should append to the gripPoints array any points that are to treated as grip points for the entity.
The gripPoints array is passed to all entities involved in the grip operation, so the array may already contain grip points for other entities. Therefore, it is very important to append the new points rather than assigning them to any existing elements in the array.
When finished appending all desired grip points, return Acad::eOk. If anything other than Acad::eOk is returned, then grips are not activated for this entity.
The osnapModes and geomIds arguments are not currently used.
Default implementation
Immediately returns Adesk::eNotImplemented. |
|