📄 grutilities.h
字号:
#ifndef GR_UTILITIES_H
#define GR_UTILITIES_H
//////////////////////////////////////////////////////////////////////////
//
// 与acedGrXXX()相关的函数
//
// Note:
//
//////////////////////////////////////////////////////////////////////////
/*
* Purpose:
* Draw a box with acedGrDraw in the current viewport, all
* position is in WCS
*/
extern void drawInfo(const AcGeBoundBlock3d& block,short color=3);
/*
* Purpose:
* Draw a line with acedGrDraw in the current viewport
*/
extern void
drawInfo(const AcGePoint3d& p1, const AcGePoint3d& p2,short color=3);
/*
* Purpose:
* Draw a rectangle with acedGrDraw in the current viewport
* pWcs is center, size is 5
*/
extern void drawInfo(const AcGePoint3d& pWcs,short color=3);
/*
* Purpose:
* Draw a polygon with acedGrDraw in the current viewport
*/
extern void drawInfo(const AcGePoint3dArray& ar,short color=3);
/*
* Purpose:
* Draw a curve with acedGrDraw in the current viewport
*/
extern void drawInfo(const AcGeCurve3d*,short color=3);
/*
* Purpose:
* Draw an axis with acedGrDraw in the current viewport
*/
extern void drawAxis(const AcGePoint3d& org,const AcGeVector3d& vec, double len, short color=3);
#endif // GR_UTILITIES_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -