This is effectively the same function as d3_geo_clipExtent’s isLeft; that should be exposed as a reusable static function, say in math/trigonometry.