예제 #1
0
파일: Api.cs 프로젝트: wangpei421/h3net
 /// <summary>
 /// hexagons within the given geofence
 /// </summary>
 /// <param name="polygon"></param>
 /// <param name="r"></param>
 /// <param name="outCells"></param>
 public static void PolyFill(GeoPolygon polygon, int r, out List <H3Index> outCells)
 {
     outCells = polygon.Polyfill(r);
 }
예제 #2
0
파일: Api.cs 프로젝트: wangpei421/h3net
 /// <summary>
 /// maximum number of hexagons in the geofence
 /// </summary>
 /// <param name="polygon"></param>
 /// <param name="r"></param>
 /// <returns></returns>
 public static int MaxPolyFillSize(GeoPolygon polygon, int r)
 {
     return(polygon.MaxPolyFillSize(r));
 }