isOutOFChina static method

bool isOutOFChina(
  1. double lon,
  2. double lat
)

Implementation

static bool isOutOFChina(double lon, double lat) {
  return !(lon > 72.004 && lon < 135.05 && lat > 3.86 && lat < 53.55);
}