GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoCityObjectGeometrySurface
Table of Contents ▼
Jump to a specific part of the page:
Description
A polygonal surface, composed of a closed exterior loop with optional closed interior loops.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
loops
(type:list(GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoCityObjectGeometryMultiPoint)
, default:nil
)
- The first loop is exterior; any additional are interior. -
materialSpecs
(type:list(GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoCityObjectGeometryMaterialSpec)
, default:nil
)
- The materials this surface is made of. Either all or none of the Surface protos must have this field set (even for 'null' references). Otherwise, this field must not be set. IMPORTANT: This field must not contain more than one MaterialSpec unless CityJSON's material "theme" is incorporated into CityJsonProto (see discussion in go/cityjson-for-hand-modeled-landmarks). -
semanticsIndex
(type:integer()
, default:nil
)
- The semantics of this surface (e.g. what part of a building it is) represented as an index into the containing Geometry'ssemantics
field. Either all or none of the Surface protos must have this field set (even for 'null' references). Otherwise, this field must not be set.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoCityObjectGeometrySurface{
loops: [ GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoCityObjectGeometryMultiPoint.t() ] | nil,
materialSpecs: [ GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoCityObjectGeometryMaterialSpec.t() ] | nil,
semanticsIndex: integer() | nil
}
loops: [ GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoCityObjectGeometryMultiPoint.t() ] | nil,
materialSpecs: [ GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoCityObjectGeometryMaterialSpec.t() ] | nil,
semanticsIndex: integer() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoCityObjectGeometrySurface