- UID
- 64714
- 积分
- 249
- 精华
- 贡献
-
- 威望
-
- 活跃度
-
- D豆
-
- 在线时间
- 小时
- 注册时间
- 2003-7-14
- 最后登录
- 1970-1-1
|
发表于 2004-3-4 09:37:29
|
显示全部楼层
下面摘自ObjectARX的帮助:
virtual Acad::ErrorStatus
getFirstDeriv(
double param,
AcGeVector3d& firstDeriv) const;
param Input parameter of location on curve at which to find the first derivative
firstDeriv Returns the first derivative of the curve at param
Here and in derived classes, this function is implemented to evaluate the first derivative at the location on the curve specified by param, and sets firstDeriv to the result (in WCS coordinates).
Returns Acad::eOk if successful. If param is not valid for the curve, then Acad::eInvalidInput is returned. Other ErrorStatus return values are up to the implementor.
For implementation, the AcGe classes may provide some of the necessary functionality to make the job easier.
The default implementation returns Acad::eNotImplemented.
virtual Acad::ErrorStatus
getFirstDeriv(
const AcGePoint3d& point,
AcGeVector3d& firstDeriv) const;
point Input point on curve at which to find the first derivative
firstDeriv Returns the first derivative of the curve at point
This function evaluates the first derivative of the curve at point and sets firstDeriv to the result, in both this class and derived classes. Both point and firstDeriv are in WCS coordinates in derived classes.
Returns Acad::eOk if successful. If point is not on the curve, then Acad::eInvalidInput is returned. Other ErrorStatus return values are up to the implementor.
For implementation, the AcGe classes may provide some of the necessary functionality to make the job easier.
In the default implementation, the function returns Acad::eNotImplemented. |
|