画图和线条分别用Polygon和Polyline,过程如下1.定义一个画图信息相关的对象,这个对象画图和画线条都是可以应用的1 var polyOption =
2 {3 paths: [],4 strokeColor: "#FF0000",5 strokeOpacity: ...
Microsoft.Maps.Events.addHandler(map, "mousemove", function (e) {
// get the HTML DOM Element that represents the Map
var mapElem = map.getRootElement();
if (e.targetType === "map") {
// Mou...
分类:
其他好文 时间:
2014-05-21 10:47:53
阅读次数:
253
1 /** 2 极角排序输出,,, 3 主要atan2(y,x) 容易失精度,,用 4 bool
cmp(point a,point b){ 5 if(cross(a-tmp,b-tmp)>0) 6 return 1; 7
if(cross(a-tmp,b-tmp)...
分类:
其他好文 时间:
2014-05-13 20:05:34
阅读次数:
242
Squares
Time Limit: 3500MS
Memory Limit: 65536K
Total Submissions: 15489
Accepted: 5864
Description
A square is a 4-sided polygon whose sides have equal length and adja...
分类:
其他好文 时间:
2014-05-11 20:56:36
阅读次数:
416
Abstract. One of the important features of the
boost polygon library is the implementation of the generic sweepline algorithm
to construct Voronoi dia...
分类:
其他好文 时间:
2014-05-07 13:43:36
阅读次数:
535
在最近的一个项目中使用过百度地图API的Javascript开发,发现了一些问题,在这里作为自己的Knowledge积累,写下来。问题:手动绘图模式下(DrawingManager),覆盖物Polyline,Polygon的绘画模式中,如果没有在options中指定enableEditing属性为T...
分类:
其他好文 时间:
2014-04-29 11:23:47
阅读次数:
441
ACM 计算几何 Scrambled Polygon poj2007 几种极角排序...
分类:
其他好文 时间:
2014-04-27 21:33:59
阅读次数:
421