8.12.3.5 IfcCurveStyle
8.12.3.5.1 Semantic definition
An IfcCurveStyle provides the style table for presentation information assigned to geometric curves. The style is defined by a color, a font and a width. The IfcCurveStyle defines curve patterns as model patterns, that is, the distance between visible and invisible segments of curve patterns are given in model space dimensions (that have to be scaled using the target plot scale).
Styles are intended to be shared by multiple IfcStyledItem's, assigning the style to occurrences of (subtypes of) IfcGeometricRepresentationItem's. Measures given to a font pattern or a curve width are given in global drawing length units.
The measure values for font pattern and curve width apply to the model space with a target plot scale provided for the correct appearance in the default plot scale.
An IfcCurveStyle can be assigned to IfcGeometricRepresentationItem's via the IfcStyledItem.
8.12.3.5.2 Entity inheritance
8.12.3.5.3 Attributes
# | Attribute | Type | Description |
---|---|---|---|
IfcPresentationStyle (1) | |||
1 | Name | OPTIONAL IfcLabel |
Name of the presentation style. |
Click to show 1 hidden inherited attributes Click to hide 1 inherited attributes | |||
IfcCurveStyle (4) | |||
2 | CurveFont | OPTIONAL IfcCurveFontOrScaledCurveFontSelect |
A curve style font which is used to present a curve. It can either be a predefined curve font, or an explicitly defined curve font. Both may be scaled. If not given, then the curve font should be taken from the layer assignment with style, if that is not given either, then the default curve font applies. |
3 | CurveWidth | OPTIONAL IfcSizeSelect |
A positive length measure in units of the presentation area for the width of a presented curve. If not given, then the style should be taken from the layer assignment with style, if that is not given either, then the default style applies. |
4 | CurveColour | OPTIONAL IfcColour |
The colour of the visible part of the curve. If not given, then the colour should be taken from the layer assignment with style, if that is not given either, then the default colour applies. |
5 | ModelOrDraughting | OPTIONAL IfcBoolean |
Indication whether the length measures provided for the presentation style are model based, or draughting based. |
8.12.3.5.4 Formal propositions
Name | Description |
---|---|
IdentifiableCurveStyle |
At minimum one of the three attribute values have to be provided, CurveFont, CurveWidth, CurveColour. |
|
|
MeasureOfWidth |
The curve width, if provided, shall be given by an IfcPositiveLengthMeasure representing the curve width in the default measure unit, or by an IfcDescriptiveMeasure with the value 'by layer' representing the curve width by the default curve width at the associated layer. |
|
8.12.3.5.5 Formal representation
ENTITY IfcCurveStyle
SUBTYPE OF (IfcPresentationStyle);
CurveFont : OPTIONAL IfcCurveFontOrScaledCurveFontSelect;
CurveWidth : OPTIONAL IfcSizeSelect;
CurveColour : OPTIONAL IfcColour;
ModelOrDraughting : OPTIONAL IfcBoolean;
WHERE
IdentifiableCurveStyle : EXISTS(CurveFont) OR EXISTS(CurveWidth) OR EXISTS(CurveColour);
MeasureOfWidth : (NOT(EXISTS(CurveWidth))) OR
('IFC4X3_DEV_c85b862.IFCPOSITIVELENGTHMEASURE' IN TYPEOF(CurveWidth)) OR
(('IFC4X3_DEV_c85b862.IFCDESCRIPTIVEMEASURE' IN TYPEOF(CurveWidth)) AND
(CurveWidth = 'by layer'));
END_ENTITY;