- 积分
- 5966
- 明经币
- 个
- 注册时间
- 2003-1-7
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
发表于 2003-7-4 12:14:00
|
显示全部楼层
实际上,在帮助文件的相关主题中,都会给出需要包含的头文件。例如AcDbLine类的帮助:
Inherits From
AcDbCurve
Description
The AcDbLine class represents the line entity in AutoCAD. A line object is a 3D object that is specified by its start point, endpoint, and normal vector. In addition, the line object supports thickness along its normal vector direction (that is, height or "extrusion").
Include File
dbents.h
See Also
AcDbObject, AcDbEntity, AcGePoint3d, AcGeVector3d
至于放置头文件的位置,可以根据你的需要和习惯,如果是多个文件要用到,可以放在StdAfx.h中,只是一个类中使用,就放在该类的头文件或者源文件中。 |
|