CalcBoxByDistFromPtDEG() public static method

public static CalcBoxByDistFromPtDEG ( double lat, double lon, double distDEG, SpatialContext ctx, Rectangle reuse ) : Rectangle
lat double
lon double
distDEG double
ctx Spatial4n.Core.Context.SpatialContext
reuse Rectangle
return Rectangle
Ejemplo n.º 1
0
 public override Rectangle CalcBoxByDistFromPt(Point from, double distDEG, SpatialContext ctx, Rectangle reuse)
 {
     return(DistanceUtils.CalcBoxByDistFromPtDEG(from.GetY(), from.GetX(), distDEG, ctx, reuse));
 }
Ejemplo n.º 2
0
 public override IRectangle CalcBoxByDistFromPt(IPoint from, double distDEG, SpatialContext ctx, IRectangle reuse)
 {
     return(DistanceUtils.CalcBoxByDistFromPtDEG(from.Y, from.X, distDEG, ctx, reuse));
 }