2013年8月7日

面是否包含点的算法

摘要: from arcgis Javascript api:function polygonContainPoint(pt,polygon) {var rings = polygon.rings,ring, bresult = false,pt1, pt2, ringlength, j, i, indexrings, ringslength = rings.length;for (indexrings = 0; indexrings = pt.y || pt2[1] = pt.y) && (pt1[0] + (pt.y - pt1[1]) / (pt2[1] - pt1[1]) * 阅读全文

posted @ 2013-08-07 10:38 Pharaoh 阅读(480) 评论(0) 推荐(0) 编辑

导航