2006年7月18日
摘要: //////////////////////////////////////////////////////////////////计算点是否在多边形内int msIntersectPointPolygon(pointObj *point, shapeObj *poly){//主函数1-在 0-不在 int i; int status=MS_FALSE; for(i=0; inumlines; i... 阅读全文
posted @ 2006-07-18 20:08 3D入魔 阅读(583) 评论(0) 推荐(0) 编辑
摘要: double msDistancePointToSegment(pointObj *p, pointObj *a, pointObj *b){//计算点到线段(a,b)的距离 double l; /* length of line ab */ double r,s; l = msDistancePointToPoint(a,b); if(l == 0.0) /* a = b */ ... 阅读全文
posted @ 2006-07-18 20:04 3D入魔 阅读(2262) 评论(0) 推荐(0) 编辑
摘要: 支持库编译:要求在vc7的release下编译生成1.freetype 的freetype221.lib在vc7下面编译成功 - release版本方法:调用builds->win32->visualc下的工程文件编译生成输出位置在objs 、objs\relese下2.gd-2.0.33 在Dos下运行运行makemsvcimport.bat可生成bgd.lib -通过3.gdal gdal.l... 阅读全文
posted @ 2006-07-18 07:56 3D入魔 阅读(1536) 评论(3) 推荐(0) 编辑