code: @Reference(authors = "Erich Schubert, Arthur Zimek, Hans-Peter Kriegel", //
        title = "Geodetic Distance Queries on R-Trees for Indexing Geographic Data", //
        booktitle = "Int. Symp. Advances in Spatial and Temporal Databases (SSTD'2013)", //
        url = "https://doi.org/10.1007/978-3-642-40235-7_9", //
        bibkey = "DBLP:conf/ssd/SchubertZK13")
    public static double latlngMinDistDeg(double plat, double plng, double rminlat, double rminlng, double rmaxlat, double rmaxlng) {
      return latlngMinDistRad(deg2rad(plat), deg2rad(plng), deg2rad(rminlat), deg2rad(rminlng), deg2rad(rmaxlat), deg2rad(rmaxlng));
    }
docs: Point to rectangle minimum distance.
  <p>
  Complexity:
  <ul>
  <li>Trivial cases (on longitude slice): no trigonometric functions.</li>
  <li>Cross-track case: 10+2 trig</li>
  <li>Corner case: 10+3 trig, 1 sqrt</li>
  </ul>
  <p>
  Reference:
  <p>
  Erich Schubert, Arthur Zimek, Hans-Peter Kriegel<br>
  Geodetic Distance Queries on R-Trees for Indexing Geographic Data<br>
  Int. Symp. Advances in Spatial and Temporal Databases (SSTD'2013)
  
  @param plat Latitude of query point.
  @param plng Longitude of query point.
  @param rminlat Min latitude of rectangle.
  @param rminlng Min longitude of rectangle.
  @param rmaxlat Max latitude of rectangle.
  @param rmaxlng Max longitude of rectangle.
  @return Distance in radians.