From 042582aef350b250ed0db17317c80fc55792f498 Mon Sep 17 00:00:00 2001 From: Mike Poindexter Date: Wed, 8 Apr 2020 11:38:12 -0700 Subject: [PATCH] Update comment --- internal/collection/collection.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/collection/collection.go b/internal/collection/collection.go index 308853f5..ea89ca35 100644 --- a/internal/collection/collection.go +++ b/internal/collection/collection.go @@ -816,7 +816,9 @@ func pointRectDistGeodeticRad(φq, λq, φl, λl, φh, λh float64) float64 { return distRad(φl, λl, φq, λq) } - if λl <= λq && λq <= λh { // q is north or south of r + if λl <= λq && λq <= λh { + // q is between the bounding meridians of r + // hence, q is north, south or within r if φl <= φq && φq <= φh { // Inside return 0 }