grutilities.h
来自「能在MDT5/6环境下对已经存在地曲面进行全部和局部区域展开」· C头文件 代码 · 共 55 行
H
55 行
#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 + =
减小字号Ctrl + -
显示快捷键?