码迷,mamicode.com
首页 >  
搜索关键字:point    ( 7079个结果
Cocos2d-x3.0TestCpp文件夹笔记(二)
3.Actions-Basic:此demo中体现ccp由Point取代①ActionManual:直接设置精灵的属性demo。const Color3B Color3B::RED (255, 0, 0);const Color3B Color3B::GREEN ( 0, 255, 0);co...
分类:其他好文   时间:2014-09-07 09:48:44    阅读次数:291
Container With Most Water <leetcode>
Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints of ...
分类:其他好文   时间:2014-09-06 23:43:44    阅读次数:209
每日算法之四十四:Unique Path(矩阵中不重复路径的数目)
Unique Paths: A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any point in time. The robot is t...
分类:其他好文   时间:2014-09-06 22:37:14    阅读次数:246
POJ 3525 Most Distant Point from the Sea (半平面交向内推进+二分半径)
题目链接题意 : 给你一个多边形,问你里边能够盛的下的最大的圆的半径是多少。思路 :先二分半径r,半平面交向内推进r。模板题 1 #include 2 #include 3 #include 4 #include 5 const double eps = 1e-10 ; 6 ...
分类:其他好文   时间:2014-09-06 20:00:03    阅读次数:279
【ThinkingInC++】36、联合体
/** * 书本:【ThinkingInC++】 * 功能:联合 * 时间:2014年9月6日14:51:40 * 作者:cutter_point */ #include using namespace std; union U { private: int i; float f; public: U(int a); U(float b); ~U();...
分类:编程语言   时间:2014-09-06 16:11:43    阅读次数:267
【ThinkingInC++】37、更安全的union可以封装在一个类中
/** * 书本:【ThinkingInC++】 * 功能:更安全的union可以封装在一个类中 * 时间:2014年9月6日14:53:04 * 作者:cutter_point */ #include using namespace std; class SuperVar { //enum没有类型名(他是一个没有加标记的枚举),如果想立即定义enum的实例时, //这种做法...
分类:编程语言   时间:2014-09-06 16:11:35    阅读次数:254
【ThinkingInC++】38、选择重载还是默认参数
头文件 /** * 书本:【ThinkingInC++】 * 功能:选择重载还是默认参数,头文件 * 时间:2014年9月6日14:54:28 * 作者:cutter_point */ #ifndef MEM_H_INCLUDED #define MEM_H_INCLUDED typedef unsigned char byte; class Mem { byte* mem; ...
分类:编程语言   时间:2014-09-06 16:11:13    阅读次数:419
Check Point GAiA 75防火墙图标说明
最近打算录制CheckpointR75防火墙视频,之前给公司培训的是R6X版本的,这回准备给大家录制下R75的。首先看下最新的CheckpointR75防火墙的一些功能和优点:综合IPSO&SecurePlatform的最佳特点。确保所有CheckPoint网关和管理、开放服务器以及虚拟化网关平台的安全,在所有Ch..
分类:其他好文   时间:2014-09-06 11:04:43    阅读次数:591
PCL 点云数据操作 OpenCV遍历数据
1.对于点云类型实例cloud,对其第i个点进行赋值操作,使用cloud.point[i].x 和cloud.point[i].y 和cloud.point[i].z 分别对其XYZ坐标赋值。 cloud.point[i].x = cloud.point[i].y = cloud.point[...
分类:其他好文   时间:2014-09-06 10:55:13    阅读次数:239
onAttachedToWindow () 和 onDetachedFromWindow () ; 以及更新视图的函数ondraw() 和dispatchdraw()的区别
protected voidonAttachedToWindow()This is called when the view is attached to a window. At this point it has a Surface and will start drawing. Note th...
分类:Windows程序   时间:2014-09-06 02:11:22    阅读次数:382
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!