Google Cloud Vision Ai V1 Client - Class CircleArea (0.1.0)

Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class CircleArea.

Representation of a circle area.

Generated from protobuf message google.cloud.visionai.v1.CircleArea

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ latitude float

Latitude of circle area's center. Degrees [-90 .. 90]

↳ longitude float

Longitude of circle area's center. Degrees [-180 .. 180]

↳ radius_meter float

Radius of the circle area in meters.

getLatitude

Latitude of circle area's center. Degrees [-90 .. 90]

Returns
Type Description
float

setLatitude

Latitude of circle area's center. Degrees [-90 .. 90]

Parameter
Name Description
var float
Returns
Type Description
$this

getLongitude

Longitude of circle area's center. Degrees [-180 .. 180]

Returns
Type Description
float

setLongitude

Longitude of circle area's center. Degrees [-180 .. 180]

Parameter
Name Description
var float
Returns
Type Description
$this

getRadiusMeter

Radius of the circle area in meters.

Returns
Type Description
float

setRadiusMeter

Radius of the circle area in meters.

Parameter
Name Description
var float
Returns
Type Description
$this