View Source GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoTransform (google_api_content_warehouse v0.3.0)

Information for transforming a point from an "old" to "new" coordinate frame. Applied as follows: vertex_new = scale * vertex_old + translate

Attributes

  • scale (type: float(), default: nil) - Relative scale of the vertices in the new coordinate system relative to the old coordinate system. Applies to all three x,y,z coordinates.
  • translate (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoTransformTranslate.t, default: nil) - Offset of each vertex in the new coordinate system relative to the old coordinate system.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoTransform{
  scale: float() | nil,
  translate:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoTransformTranslate.t()
    | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.