08.09.12

1.Handle is saved with the graphics,but not ID or the pointer to the object.

The specifically pointer die while closing the graphics.So does the ID of the object while saving the graphics.

2.An object can only be deleted before it is put into  database.Because database is read-only.

3.Handle->Pointer

AcDbObject* pObject;

AcDbHandle handle;

pObject->getAcDbHandle(handle);

 

Study on database and data structure is a big problem.

4.radio ratio(you will know it when creating an ellipse with AcDbEllipse())

=short Axis/long Axis ,so it is smaller than 1.

5.AcDbEllipse(const AcGePoint3d& center,...,double startAngle=0,double endAngle=6.283185);

This is the function used in creating an ellipse.

If the last two parameter is not the default value,you will get an ellipse arc.

fabs() can make you get the absolute value of a number.

6.assert();

This function is used to assert a number or an expression or a variable is right or not .

If not ,it has a popup error message box warning you've done wrongly.

7.const AcGePoint3d& center:=AcGePoint3d center.

Still not clear in this problem.

 

8.AcGePoint3d::kOrigin retruns the point (0,0,0);

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值