Class Ifc2x3::IfcCurveStyle¶
Defined in File Ifc2x3.h
Nested Relationships¶
This class is a nested type of Struct Ifc2x3.
Inheritance Relationships¶
Base Type¶
public Ifc2x3::IfcPresentationStyle
(Class Ifc2x3::IfcPresentationStyle)
Class Documentation¶
-
class
Ifc2x3
::
IfcCurveStyle
: public Ifc2x3::IfcPresentationStyle¶ Definition from ISO/CD 10303-46:1992: A curve style specifies the visual appearance of curves.
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.
NOTE global units are defined at the single IfcProject instance, given by UnitsInContext:IfcUnitAssignment, the same units are used for the geometric representation items and for the style definitions.
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.. For different scale and projection dependent curve styles a different instance of IfcCurveStyle needs to be used by IfcPresentationStyleAssignment for different IfcGeometricRepresentationSubContext dependent representations.
NOTE the target plot scale is given by IfcGeometricRepresentationSubContext.TargetScale.
An IfcCurveStyle can be assigned to IfcGeometricRepresentationItem’s via the IfcPresentationStyleAssignment through an intermediate IfcStyledItem or IfcAnnotationCurveOccurrence.
NOTE Corresponding ISO 10303 name: curve_style. Please refer to ISO/IS 10303-46:1994 for the final definition of the formal standard.
HISTORY New entity in IFC2x2.
Public Types
-
typedef IfcTemplatedEntityList<IfcCurveStyle>
list
¶
Public Functions
-
bool
hasCurveFont
() const¶ Whether the optional attribute CurveFont is defined for this IfcCurveStyle.
-
::Ifc2x3::IfcCurveFontOrScaledCurveFontSelect *
CurveFont
() const¶ 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.
-
void
setCurveFont
(::Ifc2x3::IfcCurveFontOrScaledCurveFontSelect *v)¶
-
bool
hasCurveWidth
() const¶ Whether the optional attribute CurveWidth is defined for this IfcCurveStyle.
-
::Ifc2x3::IfcSizeSelect *
CurveWidth
() const¶ 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.
-
void
setCurveWidth
(::Ifc2x3::IfcSizeSelect *v)¶
-
bool
hasCurveColour
() const¶ Whether the optional attribute CurveColour is defined for this IfcCurveStyle.
-
::Ifc2x3::IfcColour *
CurveColour
() const¶ 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.
-
IfcCurveStyle
(IfcEntityInstanceData *e)¶
-
IfcCurveStyle
(boost::optional<std::string> v1_Name, ::Ifc2x3::IfcCurveFontOrScaledCurveFontSelect *v2_CurveFont, ::Ifc2x3::IfcSizeSelect *v3_CurveWidth, ::Ifc2x3::IfcColour *v4_CurveColour)¶
-
typedef IfcTemplatedEntityList<IfcCurveStyle>