Skip to main content

create_fill_area_style_tiles

Function create_fill_area_style_tiles 

Source
pub fn create_fill_area_style_tiles(
    tx: &mut Transaction,
    model: &Model,
    schema: &Schema,
    tiling_pattern: &[EntityId],
    tiles: &[EntityId],
    tiling_scale: f64,
) -> StyleResult<EntityId>
Expand description

Stage an IfcFillAreaStyleTiles.

A repeating tiled fill. TilingPattern is LIST [2:2] OF IfcVector – exactly two, because two vectors define the lattice the tile repeats on; one would leave the repetition direction undetermined.

§Errors

Refuses a tiling pattern that is not exactly two vectors, an empty tile set (SET [1:?]), a non-positive tiling scale, and a reference of the wrong type.