struct

S2Cells::SphereInterval

Inherits S2Cells::Interval < Struct < Value < Object

Constructors

from_point_pair(a : Float64, b : Float64) : SphereInterval
Source
full
Source
new(lo : Float | Int = Math::PI, hi : Float | Int = -Math::PI, args_checked : Bool = false)
Source

Class methods

positive_distance(a : Float64, b : Float64) : Float64
Source

Instance methods

==(other : SphereInterval) : Bool
Source
approx_equals(other : SphereInterval, max_error = 1e-15) : Bool
Source
complement
Source
contains(other : SphereInterval | Float64) : Bool
Source
empty?
Source
expanded(radius : Float64) : SphereInterval
Source
fast_contains(other : Float64) : Bool
Source
full?
Source
get_center
Source
get_complement_center
Source
get_directed_hausdorff_distance(other : SphereInterval) : Float64
Source
get_length
Source
interior_contains(other : SphereInterval | Float64) : Bool
Source
interior_intersects(other : SphereInterval) : Bool
Source
intersection(other : SphereInterval) : SphereInterval
Source
intersects(other : SphereInterval) : Bool
Source
inverted?
Source
union(other : SphereInterval) : SphereInterval
Source
valid?
Source