OpenLocationCode.contains

Returns whether the bounding box specified by the Open Location Code contains provided point.

* Params: latitude = Latitude degrees. longitude = Longitude degrees.

struct OpenLocationCode
pure
bool
contains
const @safe
(
double latitude
,
double longitude
)

Return Value

Type: bool

true if the coordinates are contained by the code. * Throws: OLCFormatException if this is not a valid full code.

Meta