摘要: inline bool in_range(float t1, float t2,float x){ return x>t1 && x<t2 || x<t1 && x>t2;}//判断点是否在圈内//采用水平填充算法/* 1. count ← 0;2. 以P为端点,作从右向左的射线L; 3, for 多边形的每条边s4. do if P在边s上 5. then return true;6. if s不是水平的7. then if s的一个端点在L上且该端点是s两端点中纵坐标较大的端点9. then... 阅读全文
posted @ 2012-05-01 21:16 涵曦 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 根据群体数量变化S曲线,确定函数关系式 阅读全文
posted @ 2012-05-01 20:39 涵曦 阅读(818) 评论(0) 推荐(0) 编辑
摘要: bjam stage --toolset=msvc-8.0 --without-graph --without-graph_parallel --without-math --without-mpi --without-python --without-serialization --without-wave --stagedir="E:\Boost\bin\vc8" link=static runtime-link=shared runtime-link=static threading=multi debug release 阅读全文
posted @ 2012-05-01 15:45 涵曦 阅读(213) 评论(0) 推荐(0) 编辑