码迷,mamicode.com
首页 >  
搜索关键字:point    ( 7079个结果
算法 计算多个顺序区间的总长
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
【leetcode】Unique Paths
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图表控件显示精度小数点的方法
相信大家对highchats这个图表控件并不陌生,最近在项目中用到它,但是某些字段需要显示为小数点,顾查找资料文档发现下面两个方式可以实现:初始化时候添加如下两个参数tooltip:{ formatter:function(){ return''+this.point.name+': '+Math....
分类:其他好文   时间:2014-06-23 00:54:47    阅读次数:252
Unity光照
广义地说,Unity有2种光源。1.动态光源 2.Backed Lighting1.动态光源就是实时计算的。只要摆光源就可以了2.Backed Lighting提前处理好光照贴图。贴在物体上。Point: 角度无关紧要Directional: 位置无关紧要Spot: 角度和位置都有影响Area (B...
分类:其他好文   时间:2014-06-23 00:54:24    阅读次数:258
5.5 编程实例-红蓝三角形
#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
ruby 中的变量
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
python调用c代码2
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
【足迹C++primer】表达式求值
表达式求值/*** 功能:表达式求值(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
【Leetcode】Container With Most Water
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
PostGIS导入导出SHP文件常用命令
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!