class Google::Apis::VectortileV1::Row
A row of altitude points in the elevation grid, ordered from west to east.
Attributes
altitude_diffs[RW]
The difference between each successive pair of altitudes, from west to east. The first, westmost point, is just the altitude rather than a diff. The units are specified by the altitude_multiplier parameter above; the value in meters is given by altitude_multiplier * altitude_diffs. The altitude row (in metres above sea level) can be reconstructed with: a = altitude_diffs * altitude_multiplier when n > 0, a = a + altitude_diffs * altitude_multiplier. Corresponds to the JSON property `altitudeDiffs` @return [Array<Fixnum>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/vectortile_v1/classes.rb, line 560 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/vectortile_v1/classes.rb, line 565 def update!(**args) @altitude_diffs = args[:altitude_diffs] if args.key?(:altitude_diffs) end