IfcColourRgbList定义RGB颜色值的有序集合。每个颜色值是一个由三种颜色组成的固定列表(红、绿、蓝)。属性colorlist是一个二维列表,其中:
●第一维度是一个无界的列表,表示每个颜色值;
●第二个维度是一个由四个列表成员组成的固定列表,其中[1]是红色组件,[2]是绿色组件,[3]是蓝色组件。
注:引入IfcColourRgbList是为了提供镶嵌项目颜色的可索引表示的紧凑表示。
IFC4中增加的新实体。
Attribute inheritance
# | Attribute | Type | Cardinality | Description | C |
---|---|---|---|---|---|
IfcPresentationItem | |||||
IfcColourRgbList | |||||
1 | ColourList | IfcNormalisedRatioMeasure | L[1:?]L[3:3] | List of colours defined by the red, green, blue components. All values are provided as a ratio of 0.0 ≤ value ≤ 1.0. When using 8bit for each colour channel, a value of 0.0 equals 0, a value of 1.0 equals 255, and values between are interpolated. | X |
EXPRESS Specification
ENTITY IfcColourRgbList
SUBTYPE OF (IfcPresentationItem);
ColourList : LIST [1:?] OF LIST [3:3] OF IfcNormalisedRatioMeasure;
END_ENTITY;