Class: Aws::GeoRoutes::Types::Circle

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

Overview

Geometry defined as a circle. When request routing boundary was set as ‘AutoCircle`, the response routing boundary will return `Circle` derived from the `AutoCircle` settings.

Constant Summary collapse

SENSITIVE =
[:center]

Instance Attribute Summary collapse

Instance Attribute Details

#centerArray<Float>

Center of the Circle defined in longitude and latitude coordinates.

Example: ‘[-123.1174, 49.2847]` represents the position with longitude `-123.1174` and latitude `49.2847`.

Returns:

  • (Array<Float>)


625
626
627
628
629
630
# File 'lib/aws-sdk-georoutes/types.rb', line 625

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

#radiusFloat

Radius of the Circle.

Unit: ‘meters`

Returns:

  • (Float)


625
626
627
628
629
630
# File 'lib/aws-sdk-georoutes/types.rb', line 625

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