Class: Aws::GeoRoutes::Types::Corridor

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

Overview

Geometry defined as a corridor - a LineString with a radius that defines the width of the corridor.

Constant Summary collapse

SENSITIVE =
[:line_string]

Instance Attribute Summary collapse

Instance Attribute Details

#line_string ⇒ Array<Array<Float>>

An ordered list of positions used to plot a route on a map.

LineString and Polyline are mutually exclusive properties.

Returns:

  • (Array<Array<Float>>)


955
956
957
958
959
960
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 955

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

#radius ⇒ Integer

Radius that defines the width of the corridor.

Returns:

  • (Integer)


955
956
957
958
959
960
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 955

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