Class Ifc2x3::IfcCurveStyleFontAndScaling

Nested Relationships

This class is a nested type of Struct Ifc2x3.

Inheritance Relationships

Base Type

Class Documentation

class Ifc2x3::IfcCurveStyleFontAndScaling : public IfcUtil::IfcBaseEntity

Definition from ISO/CD 10303-46:1992: A curve style font and scaling is a curve style font and a scalar factor for that font, so that a given curve style font may be applied at various scales.

The IfcCurveStyleFontAndScaling allows for the reuse of the same curve style definition in several sizes. The definition of the CurveFontScale is the scaling of a base curve style pattern to be used as a new or derived curve style pattern.

NOTE The CurveFontScale should not be mixed up with the target plot scale.

An example for IfcCurveStyleFontAndScaling is the sizing of a basic curve style dash pattern ‘dash’ (visible 0.01m, invisible 0.005m) into ‘dash large’ withCurveFontScale = 2 (resulting invisible 0.02m, invisible 0.01m), and into ‘dash small’withCurveFontScale = 0.5 (resulting invisible 0.005m, invisible 0.0025m).

NOTE Corresponding ISO 10303 name: curve_style_font_and_scaling. Please refer to ISO/IS 10303-46:1994 for the final definition of the formal standard.

HISTORY New entity in IFC2x2.

Public Functions

bool hasName() const

Whether the optional attribute Name is defined for this IfcCurveStyleFontAndScaling.

std::string Name() const

Name that may be assigned with the scaling of a curve font.

void setName(std::string v)
::Ifc2x3::IfcCurveStyleFontSelect *CurveFont() const

The curve font to be scaled.

void setCurveFont(::Ifc2x3::IfcCurveStyleFontSelect *v)
double CurveFontScaling() const

The scale factor.

void setCurveFontScaling(double v)
const IfcParse::entity &declaration() const
IfcCurveStyleFontAndScaling(IfcEntityInstanceData *e)
IfcCurveStyleFontAndScaling(boost::optional<std::string> v1_Name, ::Ifc2x3::IfcCurveStyleFontSelect *v2_CurveFont, double v3_CurveFontScaling)

Public Static Functions

const IfcParse::entity &Class()