public static bool IsInTownRange(this List <TownBoundary> coors, IGeoPoint <double> point) { return(coors.Any(coor => point.IsInPolygon(coor.CoorList()))); }
public static bool IsInTownRange(this TownBoundary coor, IGeoPoint <double> point) { return(point.IsInPolygon(coor.CoorList())); }