struct LavinMQ::AMQP::GISFilter::BoundingBox

Overview

Represents a bounding box defined by min/max latitude and longitude

Defined in:

lavinmq/amqp/stream/filters/gis.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(min_lat : Float64, max_lat : Float64, min_lon : Float64, max_lon : Float64) #

[View source]

Instance Method Detail

def contains?(point : Point) : Bool #

[View source]
def max_lat : Float64 #

[View source]
def max_lon : Float64 #

[View source]
def min_lat : Float64 #

[View source]
def min_lon : Float64 #

[View source]
def to_s(io : IO) #
Description copied from struct Struct

Same as #inspect(io).


[View source]