Cloud Vision V1 Client - Class LatLongRect (1.7.6)

Reference documentation and code samples for the Cloud Vision V1 Client class LatLongRect.

Rectangle determined by min and max LatLng pairs.

Generated from protobuf message google.cloud.vision.v1.LatLongRect

Namespace

Google \ Cloud \ Vision \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ min_lat_lng Google\Type\LatLng

Min lat/long pair.

↳ max_lat_lng Google\Type\LatLng

Max lat/long pair.

getMinLatLng

Min lat/long pair.

Returns
TypeDescription
Google\Type\LatLng|null

hasMinLatLng

clearMinLatLng

setMinLatLng

Min lat/long pair.

Parameter
NameDescription
var Google\Type\LatLng
Returns
TypeDescription
$this

getMaxLatLng

Max lat/long pair.

Returns
TypeDescription
Google\Type\LatLng|null

hasMaxLatLng

clearMaxLatLng

setMaxLatLng

Max lat/long pair.

Parameter
NameDescription
var Google\Type\LatLng
Returns
TypeDescription
$this