Skip to main content

create_surface_style_refraction

Function create_surface_style_refraction 

Source
pub fn create_surface_style_refraction(
    tx: &mut Transaction,
    schema: &Schema,
    refraction_index: Option<f64>,
    dispersion_factor: Option<f64>,
) -> StyleResult<EntityId>
Expand description

Stage an IfcSurfaceStyleRefraction.

ยงErrors

Refuses a refraction index below 1.0: no physical medium refracts less than a vacuum, and a value below one inverts the bend.