从中派生自定义类时,必须重写以下函数:AcDbEntity virtual Adesk::Boolean subWorldDraw( AcGiWorldDraw* mode); virtual Acad::ErrorStatus subGetGeomExtents( AcDbExtents& extents) const; virtual Acad::ErrorStatus subTransformBy( const AcGeMatrix3d& xform); virtual Acad::ErrorStatus subGetTransformedCopy( const AcGeMatrix3d& xform, AcDbEntity*& ent) const; virtual Acad::ErrorStatus subGetGripPoints( AcGePoint3dArray& gripPoints, AcDbIntArray& osnapModes, AcDbIntArray& geomIds) const; virtual Acad::ErrorStatus subMoveGripPointsAt( const AcDbIntArray& indices, const AcGeVector3d& offset); |
|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2025-1-8 19:18
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.