⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xwrlddir.c

📁 AutoCAD DWG-file viewer
💻 C
字号:
/****************************************************************/
/*			COPYRIGHT NOTICE			*/
/*			----------------			*/
/*  All software in this listing remain the strict copyright	*/
/*  of Ilija Kovacevic and cannot be copied or used in any way	*/
/*  except by written permission of Ilija Kovacevic.		*/
/*								*/
/*	Copyright (c) 1992 Ilija Kovacevic			*/
/*	www.kov.com   email ilija@kov.com			*/
/****************************************************************/

XWorldDirection *XWorldDirection__create( void )

{
return( ( XWorldDirection * )get_memory( sizeof( XWorldDirection ) ) );
}


PUBLIC void XWorldDirection__delete( XWorldDirection *me )

{
free( ( char * )me );
}


PUBLIC void XWorldDirection__read( XWorldDirection *me )

{
get_DOUBLE( &me->x );
get_DOUBLE( &me->y );
get_DOUBLE( &me->z );
me->size = 3 * sizeof( DOUBLE );
}


PUBLIC void XWorldDirection__dxfout( XWorldDirection *me  )

{
dxf_DOUBLE( 1013,me->x );
dxf_DOUBLE( 1023,me->y );
dxf_DOUBLE( 1033,me->z );
}


PUBLIC void XWorldDirection__dump_to_debug_file( XWorldDirection *me  )

{
dprintf( "\t\tdirection %lf,%lf,%lf\n",me->x,me->y,me->z );
}


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -