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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-locationservice/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 coordinates, in the form [longitude, latitude].

Returns:

  • (Array<Float>)


1298
1299
1300
1301
1302
1303
# File 'gems/aws-sdk-locationservice/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 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 1298

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