S2Cells::LatLngRect
Constructors
empty
Sourcefrom_center_size(center : LatLng, size : LatLng) : LatLngRect
Sourcefrom_point(p : LatLng) : LatLngRect
Sourcefrom_point_pair(a : LatLng, b : LatLng) : LatLngRect
Sourcefull
Sourcenew(lo : LatLng, hi : LatLng)
Sourcenew(lat : LineInterval, lng : SphereInterval)
Sourcenew
SourceClass methods
full_lat
Sourcefull_lng
Sourceortho(a : Point) : Point
Sourcerobust_cross_prod(a : Point, b : Point) : Point
SourceInstance methods
area
Sourceconvolve_with_cap(angle : Angle) : LatLngRect
Sourceempty?
Sourceexpanded(margin : LatLng) : LatLngRect
Sourcefull?
Sourceget_cap_bound
Sourceget_center
Sourceget_size
Sourcehi
Sourceintersection(other : LatLngRect) : LatLngRect
Sourcelat
Sourcelat_hi
Sourcelat_lo
Sourcelng
Sourcelng_hi
Sourcelng_lo
Sourcelo
Sourcepoint?
Sourceto_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.
union(other : LatLngRect) : LatLngRect
Sourcevalid?
Source