示例#1
0
 /** Return true if the given cell is contained within this one. */
 public function contains(S2CellId $other)
 {
     // assert (isValid() && other.isValid());
     return $other->greaterOrEquals($this->rangeMin()) && $other->lessOrEquals($this->rangeMax());
 }