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


680
681
682
683
684
685
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 680

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

#radiusInteger

Radius that defines the width of the corridor.

Returns:

  • (Integer)


680
681
682
683
684
685
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 680

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