예제 #1
0
        public static SpatialCriteria WithinRadiusOf(this SpatialCriteriaFactory @this,
                                                     double radius,
                                                     IPosition position)
        {
            var coordinate = position.GetCoordinate();

            return(@this.WithinRadiusOf(radius, coordinate.Longitude, coordinate.Latitude));
        }
 public static SpatialCriteria WithinRadiusOf(this SpatialCriteriaFactory @this,
                                              double radius,
                                              IPoint point)
 {
     return(@this.WithinRadiusOf(radius, point.Coordinate));
 }
 public static SpatialCriteria WithinRadiusOf(this SpatialCriteriaFactory @this,
                                              double radius,
                                              Coordinate coordinate)
 {
     return(@this.WithinRadiusOf(radius, coordinate.X, coordinate.Y));
 }