#### IfcRectangleProfileDef

Natural language names

##### Semantic definitions at the entity

Entity definition

Definition from IAI: The IfcRectangleProfileDef defines a rectangle as the profile definition used by the swept surface geometry or the swept area solid. It is given by its X extent and its Y extent, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system.

> HISTORY: New class in IFC Release 1.5. The use definition has changed in IFC Release 2x.

Illustration:

| 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 IfcRectangleProfileDef is defined within the position coordinate system, where the XDim defines the length measure for the length of the rectangle (half along the positive x-axis) and the YDim defines the length measure for the width of the rectangle (half along the positive y-axis).

Table: Parameter of rectangle profile definition

Attribute definitions

# | Attribute | Type | Cardinality | Description | A
--- | --- | --- | --- | --- | ---
4 | XDim | IfcPositiveLengthMeasure | [1:1] | The extent of the rectangle in the direction of the x-axis. | X
5 | YDim | IfcPositiveLengthMeasure | [1:1] | The extent of the rectangle in the direction of the y-axis. | X

##### Inherited definitions from supertypes

Entity inheritance
Attribute inheritance

# | Attribute | Type | Cardinality | Description | A
--- | --- | --- | --- | --- | ---
IfcProfileDef
1 | ProfileType | IfcProfileTypeEnum | [1:1] | Defines the type of geometry into which this profile definition shall be resolved, either a curve or a surface area. In case of curve the profile should be referenced by a swept surface, in case of area the profile should be referenced by a swept area solid. | X
2 | ProfileName | - |  | This attribute is out of scope for this model view definition and shall not be set. |
IfcParameterizedProfileDef
3 | Position | IfcAxis2Placement2D | [1:1] | Position coordinate system of the parameterized profile definition. | X
IfcRectangleProfileDef
4 | XDim | IfcPositiveLengthMeasure | [1:1] | The extent of the rectangle in the direction of the x-axis. | X
5 | YDim | IfcPositiveLengthMeasure | [1:1] | The extent of the rectangle in the direction of the y-axis. | X

##### Formal representations

XSD Specification
`<xs:element name="IfcRectangleProfileDef" type="ifc:IfcRectangleProfileDef" substitutionGroup="ifc:IfcParameterizedProfileDef" nillable="true"/>
<xs:complexType name="IfcRectangleProfileDef">
<xs:complexContent>
<xs:extension base="ifc:IfcParameterizedProfileDef">
<xs:attribute name="XDim" type="ifc:IfcPositiveLengthMeasure" use="optional"/>
<xs:attribute name="YDim" type="ifc:IfcPositiveLengthMeasure" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
`
EXPRESS Specification
`ENTITY IfcRectangleProfileDef
SUPERTYPE OF(ONEOF(IfcRectangleHollowProfileDef, IfcRoundedRectangleProfileDef))
SUBTYPE OF (IfcParameterizedProfileDef);
XDim : IfcPositiveLengthMeasure;
YDim : IfcPositiveLengthMeasure;
END_ENTITY;

EXPRESS-G diagram

`

Link to this page