Skip to main content

Module geom_encoder

Module geom_encoder 

Source
Expand description

Flattening of a CityJSON geometry into the arrays FlatCityBuf stores.

Every function here is type-driven: the nesting depth of boundaries, of material.values, of texture.values and of semantics.values is read off the cjseq variant, never inferred from which arrays happen to be non-empty. See crate::reader::geom_decoder for the matching decode side and for the table of depths per geometry type.

Structs§

MaterialValue
MaterialValues

Enums§

MaterialMapping