List list = Arrays.asList(new Point(1, 5), new Point(2, 3),new Point(2, 8), new Point(9, 13));int sum = list.get(0).y - list.get(0).x,currenty=list.ge...
分类:
其他好文 时间:
2014-06-28 19:25:36
阅读次数:
183
A robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right at any point ...
分类:
其他好文 时间:
2014-06-28 16:02:43
阅读次数:
214
相信大家对highchats这个图表控件并不陌生,最近在项目中用到它,但是某些字段需要显示为小数点,顾查找资料文档发现下面两个方式可以实现:初始化时候添加如下两个参数tooltip:{ formatter:function(){ return''+this.point.name+': '+Math....
分类:
其他好文 时间:
2014-06-23 00:54:47
阅读次数:
252
广义地说,Unity有2种光源。1.动态光源 2.Backed Lighting1.动态光源就是实时计算的。只要摆光源就可以了2.Backed Lighting提前处理好光照贴图。贴在物体上。Point: 角度无关紧要Directional: 位置无关紧要Spot: 角度和位置都有影响Area (B...
分类:
其他好文 时间:
2014-06-23 00:54:24
阅读次数:
258
#include typedef GLfloat point2d[2]; // a point data type void triangle( point2d a, point2d b, point2d c) // display a triangle { glBegin(GL_TRIANGLES...
分类:
其他好文 时间:
2014-06-18 21:02:32
阅读次数:
334
1、变量和常量:全局变量用$; 实例变量用@; 类变量用@@;Local Variable: name fish_and_chips x_axis thx1138 _x _26Instance Variable: @name @point_1 @X @_ @plan9Class Variable.....
分类:
其他好文 时间:
2014-06-18 17:13:55
阅读次数:
245
1、生成动态链接库[root@typhoeus79 c]# more head.c #include #include typedef struct _point{ int x; int y;}Point;Point * InitPoint(int x,int y){ Point ...
分类:
编程语言 时间:
2014-06-18 15:45:00
阅读次数:
267
表达式求值/*** 功能:表达式求值(0到9)* 时间:2014年6月15日08:02:31* 作者:cutter_point*/#include#include#include#includeusing namespace std;stack intStack; //存放数值的栈st...
分类:
编程语言 时间:
2014-06-18 00:06:54
阅读次数:
234
Given n non-negative integers a1, a2,
..., an, where each represents a point at coordinate (i, ai). n vertical
lines are drawn such that the two endpoints of line i is at (i, ai) and (i,
0). Fin...
分类:
其他好文 时间:
2014-06-17 22:17:43
阅读次数:
325
SHP导入POSTGIS数据库引用直接导入数据库 shp2pgsql-I-s2437-WGBKshop_point.shppublic.ntable|psql-Upostgres-w-djwsz 导出sql再导入数据库 shp2pgsql-s"2437"-W"GBK"-ID:\shop_point....
分类:
其他好文 时间:
2014-06-17 15:55:19
阅读次数:
348