Skip to main content

create_texture_map

Function create_texture_map 

Source
pub fn create_texture_map(
    tx: &mut Transaction,
    model: &Model,
    schema: &Schema,
    maps: &[EntityId],
    vertices: &[EntityId],
    mapped_to: EntityId,
) -> StyleResult<EntityId>
Expand description

Stage an IfcTextureMap: explicit texture coordinates on a face.

ยงErrors

Refuses fewer than three vertices, since a mapped area needs at least a triangle; an empty maps list, since the record exists to carry those textures; and a mapped_to that does not resolve to an IfcFace.