GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoTransform
Table of Contents ▼
Jump to a specific part of the page:
Description
Information for transforming a point from an "old" to "new" coordinate frame. Applied as follows: vertex_new = scale * vertex_old + translate
Attributes List
This module has the following attributes (case-insensitive ascending order):
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
, default:nil
)
- Offset of each vertex in the new coordinate system relative to the old coordinate system.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoTransform{
scale: float() | nil,
translate: GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoTransformTranslate.t() | nil
}
scale: float() | nil,
translate: GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoTransformTranslate.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoTransform