几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   ObjectARX(C++) (http://www.dimcax.com/hust/forumdisplay.php?f=34)
-   -   【转帖】大家帮帮忙,谁有hatch 的代码?? (http://www.dimcax.com/hust/showthread.php?t=7302)

yang686526 2009-04-16 10:24 PM

【转帖】大家帮帮忙,谁有hatch 的代码??
 
大家帮帮忙,谁有hatch 的代码??
大家帮帮忙,谁有hatch 的代码??
这个函数类似cad中的hatch命令,但不能用cad里现成的函数,因为这是要移植到别的3d系统中的。
void cge::hatch( cpoint3darray ptarrdestgraph, /*要填充的目标多边形*/
cpoint3darray ptarrgraph, /*填充图案*/
double rate, /*图案的缩放比例*/
double angle, /*图案摆放角度*/
double dist, /*图案间距*/
cpoint3darray& ptarrfillgraph) /*填充好的图案返回*/


所有的时间均为北京时间。 现在的时间是 08:51 PM.