GoogleApi.VectorTile.V1.Model.TriangleStrip (google_api_vector_tile v0.5.0) View Source

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

  • vertexIndices (type: list(integer()), default: nil) - Index into the vertex_offset array representing the next vertex in the triangle strip.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.VectorTile.V1.Model.TriangleStrip{
  vertexIndices: [integer()] | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.