class Google::Apis::VectortileV1::ModeledVolume
Represents a modeled volume in 3D space. Used to represent 3D buildings.
Attributes
strips[RW]
The triangle strips present in this mesh. Corresponds to the JSON property `strips` @return [Array<Google::Apis::VectortileV1::TriangleStrip>]
vertex_offsets[RW]
3D vertex list used for modeled volumes. Each entry represents an offset from the previous one in local tile coordinates. The first coordinate is offset from (0, 0, 0). Corresponds to the JSON property `vertexOffsets` @return [Google::Apis::VectortileV1::Vertex3DList]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/vectortile_v1/classes.rb, line 465 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 470 def update!(**args) @strips = args[:strips] if args.key?(:strips) @vertex_offsets = args[:vertex_offsets] if args.key?(:vertex_offsets) end