class Google::Apis::VectortileV1::ExtrudedArea

Represents a height-extruded area: a 3D prism with a constant X-Y plane cross section. Used to represent extruded buildings. A single building may consist of several extruded areas. The min_z and max_z fields are scaled to the size of the tile. An extruded area with a max_z value of 4096 has the same height as the width of the tile that it is on.

Attributes

area[RW]

Represents an area. Used to represent regions such as water, parks, etc. Next ID: 10 Corresponds to the JSON property `area` @return [Google::Apis::VectortileV1::Area]

max_z[RW]

The z-value in local tile coordinates where the extruded area ends. Corresponds to the JSON property `maxZ` @return [Fixnum]

min_z[RW]

The z-value in local tile coordinates where the extruded area begins. This is non-zero for extruded areas that begin off the ground. For example, a building with a skybridge may have an extruded area component with a non-zero min_z. Corresponds to the JSON property `minZ` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/vectortile_v1/classes.rb, line 180
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 185
def update!(**args)
  @area = args[:area] if args.key?(:area)
  @max_z = args[:max_z] if args.key?(:max_z)
  @min_z = args[:min_z] if args.key?(:min_z)
end