struct S2Cells::SphereInterval
- S2Cells::SphereInterval
- S2Cells::Interval
- Struct
- Value
- Object
Defined in:
s2_cells/interval.crConstructors
- .from_point_pair(a : Float64, b : Float64) : SphereInterval
- .full : SphereInterval
- .new(lo : Float | Int = Math::PI, hi : Float | Int = -Math::PI, args_checked : Bool = false)
Class Method Summary
Instance Method Summary
- #==(other : SphereInterval) : Bool
- #approx_equals(other : SphereInterval, max_error = 1e-15) : Bool
- #complement : SphereInterval
- #contains(other : SphereInterval | Float64) : Bool
- #empty? : Bool
- #expanded(radius : Float64) : SphereInterval
- #fast_contains(other : Float64) : Bool
- #full? : Bool
- #get_center : Float64
- #get_complement_center : Float64
- #get_directed_hausdorff_distance(other : SphereInterval) : Float64
- #get_length : Float64
- #interior_contains(other : SphereInterval | Float64) : Bool
- #interior_intersects(other : SphereInterval) : Bool
- #intersection(other : SphereInterval) : SphereInterval
- #intersects(other : SphereInterval) : Bool
- #inverted? : Bool
- #union(other : SphereInterval) : SphereInterval
- #valid? : Bool
Instance methods inherited from struct S2Cells::Interval
bound(i : Int) : Float64
bound,
bounds : Tuple(Float64, Float64)
bounds,
hi : Float64
hi,
lo : Float64
lo,
to_s : String
to_s
Constructor methods inherited from struct S2Cells::Interval
empty : Interval
empty,
new(lo : Float | Int, hi : Float | Int)
new
Constructor Detail
def self.new(lo : Float | Int = Math::PI, hi : Float | Int = -Math::PI, args_checked : Bool = false)
#