Class: Aws::LocationService::Types::Circle

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-locationservice/types.rb

Overview

A circle on the earth, as defined by a center point and a radius.

Constant Summary collapse

SENSITIVE =
[:center]

Instance Attribute Summary collapse

Instance Attribute Details

#centerArray<Float>

A single point geometry, specifying the center of the circle, using

WGS 84][1

coordinates, in the form ‘[longitude, latitude]`.

[1]: gisgeography.com/wgs84-world-geodetic-system/

Returns:

  • (Array<Float>)


1298
1299
1300
1301
1302
1303
# File 'lib/aws-sdk-locationservice/types.rb', line 1298

class Circle < Struct.new(
  :center,
  :radius)
  SENSITIVE = [:center]
  include Aws::Structure
end

#radiusFloat

The radius of the circle in meters. Must be greater than zero and no larger than 100,000 (100 kilometers).

Returns:

  • (Float)


1298
1299
1300
1301
1302
1303
# File 'lib/aws-sdk-locationservice/types.rb', line 1298

class Circle < Struct.new(
  :center,
  :radius)
  SENSITIVE = [:center]
  include Aws::Structure
end