VelocityDB.geohash.util.TwoGeoHashBoundingBox.WithCharacterPrecision C# (CSharp) Метод

WithCharacterPrecision() публичный статический Метод

public static WithCharacterPrecision ( BoundingBox bbox, int numberOfCharacters ) : TwoGeoHashBoundingBox
bbox BoundingBox
numberOfCharacters int
Результат TwoGeoHashBoundingBox
    public static TwoGeoHashBoundingBox WithCharacterPrecision(BoundingBox bbox, int numberOfCharacters)
    {
      GeoHash bottomLeft = GeoHash.WithCharacterPrecision(bbox.MinLat, bbox.MinLon, numberOfCharacters);
      GeoHash topRight = GeoHash.WithCharacterPrecision(bbox.MaxLat, bbox.MaxLon, numberOfCharacters);
      return new TwoGeoHashBoundingBox(bottomLeft, topRight);
    }