Navigation
Navigate Navigate Navigate Navigate Navigate Navigate Navigate Navigate

IfcRoundedRectangleProfileDef

Definition from IAI: The IfcRoundedRectangleProfileDef defines a rectangle with equally rounded corners as the profile definition used by the swept surface geometry or the swept area solid. It is given by the X extent, the Y extent, and the radius for the rounded corners, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, i.e. in the center of the bounding box.

HISTORY: New class in IFC Release 2x
IFC2x PLATFORM CHANGE: The IfcRoundedRectangleProfileDef is now subtyped from IfcRectangleProfileDef. The XDim and YDim attributes have been removed (now inherited from supertype).
Illustration:
rounded rectangle profile

Position
The parameterized profile defines its own position coordinate system. The underlying coordinate system is defined by the swept surface or swept area solid that uses the profile definition. It is the xy plane of either:

  • IfcSweptSurface.Position
  • IfcSweptAreaSolid.Position
or in case of sectioned spines the xy plane of each list member of IfcSectionedSpine.CrossSectionPositions.

By using offsets of the position location, the parameterized profile can be positioned centric (using x,y offsets = 0.), or at any position relative to the profile. Explicit coordinate offsets are used to define cardinal points (e.g. upper-left bound).

Parameter
The IfcRoundedRectangleProfileDef is defined within the position coordinate system, where the XDim defines the measure for the length of the rectangle (half along the positive x-axis), the YDim defines the length measure for the width of the rectangle (half along the positive y-axis) and the RoundingRadius defines the radius of curvature in all four corners of the rectangle.

Table: Parameter of rounded rectangle profile definition

EXPRESS specification:

ENTITY IfcRoundedRectangleProfileDef
SUBTYPE OF ( IfcRectangleProfileDef);
RoundingRadius  :  IfcPositiveLengthMeasure;
WHERE
WR31  :  ((RoundingRadius <= (SELF\IfcRectangleProfileDef.XDim/2.)) AND (RoundingRadius <= (SELF\IfcRectangleProfileDef.YDim/2.)));
END_ENTITY;

Attribute definitions:

RoundingRadius  :  Radius of the circular arcs, by which all four corners of the rectangle are equally rounded. If not given, zero (= no rounding arcs) applies.

Formal Propositions:

WR31  :  The value of the attribute RoundingRadius shall be lower or equal than either of both, half the value of the Xdim and the YDim attribute.

Inheritance graph

ENTITY IfcRoundedRectangleProfileDef;
ENTITY IfcProfileDef;
ProfileType  :  IfcProfileTypeEnum;
ProfileName  :  OPTIONAL IfcLabel;
ENTITY IfcParameterizedProfileDef;
Position  :  IfcAxis2Placement2D;
ENTITY IfcRectangleProfileDef;
XDim  :  IfcPositiveLengthMeasure;
YDim  :  IfcPositiveLengthMeasure;
ENTITY IfcRoundedRectangleProfileDef;
RoundingRadius  :  IfcPositiveLengthMeasure;
END_ENTITY;