Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class GeoCoordinate.
Location Coordinate Representation
Generated from protobuf message google.cloud.visionai.v1.GeoCoordinate
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ latitude |
float
Latitude Coordinate. Degrees [-90 .. 90] |
↳ longitude |
float
Longitude Coordinate. Degrees [-180 .. 180] |
getLatitude
Latitude Coordinate. Degrees [-90 .. 90]
| Returns | |
|---|---|
| Type | Description |
float |
|
setLatitude
Latitude Coordinate. Degrees [-90 .. 90]
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLongitude
Longitude Coordinate. Degrees [-180 .. 180]
| Returns | |
|---|---|
| Type | Description |
float |
|
setLongitude
Longitude Coordinate. Degrees [-180 .. 180]
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|