struct
LavinMQ::AMQP::GISFilter::Polygon
- LavinMQ::AMQP::GISFilter::Polygon
- Struct
- Value
- Object
Overview
Represents a polygon as an array of points
Defined in:
lavinmq/amqp/stream/filters/gis.crConstructors
Instance Method Summary
- #bbox : BoundingBox
-
#contains?(point : Point) : Bool
Point-in-polygon test using ray casting algorithm https://en.wikipedia.org/wiki/Point_in_polygon
- #points : Array(Point)
-
#to_s(io : IO)
Same as
#inspect(io).
Constructor Detail
Instance Method Detail
Point-in-polygon test using ray casting algorithm https://en.wikipedia.org/wiki/Point_in_polygon