Class: Aws::GeoRoutes::Types::Circle
- Inherits:
-
Struct
- Object
- Struct
- Aws::GeoRoutes::Types::Circle
- Defined in:
- gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb
Overview
Geometry defined as a circle. The circle defines the routing boundary area. Any waypoints outside the circle will result in a route matrix entry error.
You can specify a Circle directly in the request, or it will be
auto-derived when AutoCircle is used. When AutoCircle is set in
the request, the response routing boundary will return Circle
derived from the AutoCircle settings.
Constant Summary collapse
- SENSITIVE =
[:center, :radius]
Instance Attribute Summary collapse
-
#center ⇒ Array<Float>
Center of the Circle in World Geodetic System (WGS 84) format: [longitude, latitude].
-
#radius ⇒ Float
Radius of the Circle.
Instance Attribute Details
#center ⇒ Array<Float>
Center of the Circle in World Geodetic System (WGS 84) format: [longitude, latitude].
Example: [-123.1174, 49.2847] represents the position with
longitude -123.1174 and latitude 49.2847.
931 932 933 934 935 936 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 931 class Circle < Struct.new( :center, :radius) SENSITIVE = [:center, :radius] include Aws::Structure end |
#radius ⇒ Float
Radius of the Circle.
Unit: meters
Valid Range: Minimum value of 0. Maximum value of 200000.
931 932 933 934 935 936 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 931 class Circle < Struct.new( :center, :radius) SENSITIVE = [:center, :radius] include Aws::Structure end |