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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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 | |
|---|---|
| Type | Description |
Google\Type\LatLng|null |
|
hasMinLatLng
clearMinLatLng
setMinLatLng
Min lat/long pair.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Type\LatLng
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMaxLatLng
Max lat/long pair.
| Returns | |
|---|---|
| Type | Description |
Google\Type\LatLng|null |
|
hasMaxLatLng
clearMaxLatLng
setMaxLatLng
Max lat/long pair.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Type\LatLng
|
| Returns | |
|---|---|
| Type | Description |
$this |
|