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>)


1122
1123
1124
1125
1126
1127
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 1122

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)


1122
1123
1124
1125
1126
1127
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 1122

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