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


1280
1281
1282
1283
1284
1285
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 1280

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)


1280
1281
1282
1283
1284
1285
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 1280

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