S2Cells::Cap
Constants
ROUND_UP = 1.0 + (1.0 / (1_u64 << 52))
Constructors
empty
Sourcefrom_axis_angle(axis : Point, angle : Angle) : Cap
Sourcefull
SourceClass methods
Instance methods
add_point(point : Point)
Sourceangle
Sourcearea
Sourceaxis
Sourcecomplement
Sourceexpanded(distance : Angle) : Cap
Sourceget_cap_bound
Sourceget_rect_bound
Sourceheight
Sourceis_empty?
Sourceis_full?
Sourceis_valid?
Source