class Google::Apis::VectortileV1::TriangleStrip

Represents a strip of triangles. Each triangle uses the last edge of the previous one. The following diagram shows an example of a triangle strip, with each vertex labeled with its index in the vertex_index array. (1)—–(3) / \ / \ / \ / \ / \ / \ (0)—–(2)—–(4) Vertices may be in either clockwise or counter-clockwise order.

Attributes

vertex_indices[RW]

Index into the vertex_offset array representing the next vertex in the triangle strip. Corresponds to the JSON property `vertexIndices` @return [Array<Fixnum>]

Public Class Methods

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