class PlusCode::CodeArea
- PlusCode::CodeArea
- Reference
- Object
Overview
CodeArea
contains coordinates of a decoded Open Location Code(Plus+Codes).
The coordinates include the latitude and longitude of the lower left and
upper right corners and the center of the bounding box for the area the
code represents.
Defined in:
pluscode/code_area.crConstructors
-
.new(south_latitude : Float64, west_longitude : Float64, latitude_height : Float64, longitude_width : Float64, code_length : Int32)
Creates a
CodeArea
Instance Method Summary
- #code_length : Int32
- #code_length=(code_length : Int32)
- #east_longitude
- #latitude_center : BigRational
- #latitude_height : Float64
- #latitude_height=(latitude_height : Float64)
- #longitude_center : BigRational
- #longitude_width : Float64
- #longitude_width=(longitude_width : Float64)
- #north_latitude
- #south_latitude : Float64
- #south_latitude=(south_latitude : Float64)
- #west_longitude : Float64
- #west_longitude=(west_longitude : Float64)
Constructor Detail
def self.new(south_latitude : Float64, west_longitude : Float64, latitude_height : Float64, longitude_width : Float64, code_length : Int32)
#
Creates a CodeArea