/////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2002-2025, Open Design Alliance (the "Alliance"). // All rights reserved. // // This software and its documentation and related materials are owned by // the Alliance. The software may only be incorporated into application // programs owned by members of the Alliance, subject to a signed // Membership Agreement and Supplemental Software License Agreement with the // Alliance. The structure and organization of this software are the valuable // trade secrets of the Alliance and its suppliers. The software is also // protected by copyright law and international treaty provisions. Application // programs incorporating this software must include the following statement // with their copyright notices: // // This application incorporates Open Design Alliance software pursuant to a license // agreement with Open Design Alliance. // Open Design Alliance Copyright (C) 2002-2025 by Open Design Alliance. // All rights reserved. // // By use of this software, its documentation or related materials, you // acknowledge and accept the above terms. /////////////////////////////////////////////////////////////////////////////// // This file is generated automatically. #ifndef _IFC4X4_IFCPLATE_AUTO_IMPL_H #define _IFC4X4_IFCPLATE_AUTO_IMPL_H #include "IfcBuiltElementAutoImpl.h" #include "TD_PackPush.h" /** \details The namespace contains schema-dependent classes, definitions and sub routines for work with IFC4X4 express schema definitions. */ namespace OdIfc4x4 { /** \details An IfcPlate is a planar and often flat part with constant thickness. A plate can carry loads between or beyond points of support, or provide stiffening. The location of the plate (being horizontal, vertical or sloped) is not relevant to its definition. Plates are normally made of steel, other metallic material, or by glass panels. However the definition of IfcPlate is material independent and specific material information is handled by using IfcAssociatesMaterial to assign a material specification to the IfcPlate. Plates are often add-on parts. This is represented by the IfcRelAggregates decomposition mechanism used to aggregate parts, such as IfcPlate, into a container element such as IfcElementAssembly or IfcCurtainWall. There are two main representations for plate occurrences: * IfcPlate with IfcMaterialLayerSetUsage is used for all occurrences of plates, that are prismatic and where the thickness parameter can be fully described by the IfcMaterialLayerSetUsage. These plates are always represented geometrically by a 'SweptSolid' geometry (or by a 'Clipping' geometry based on 'SweptSolid'), if a 3D geometric representation is assigned * IfcPlate without IfcMaterialLayerSetUsage is used for all other occurrences of plates, particularly for plates with changing thickness, or plates with non planar surfaces, and plates having only 'SurfaceModel' or 'Brep' geometry or if a more parametric representation is not intended - Body Clipping Geometry - * IfcExtrudedAreaSolid is required * IfcArbitraryClosedProfileDef, IfcArbitraryProfileDefWithVoids, IfcRectangleProfileDef, IfcCircleProfileDef, IfcEllipseProfileDef is supported * The profile can be extruded perpendicularly or non-perpendicularly to the plane of the swept profile * The definition of the IfcMaterialLayerSetUsage, particularly of the OffsetFromReferenceLine and the ForLayerSet.TotalThickness, has to be consistent to the 'SweptSolid' representation * The IfcBooleanClippingResult is supported, allowing for Boolean differences between the swept solid (here IfcExtrudedAreaSolid) and one or several IfcHalfSpaceSolid The image below illustrates a 'Clipping' geometric representation with definition of a plate using advanced geometric representation. The profile is extruded non-perpendicular and the plate body is clipped at the eave. - Body SweptSolid Geometry - * IfcExtrudedAreaSolid is required * IfcArbitraryClosedProfileDef, IfcArbitraryProfileDefWithVoids, IfcRectangleProfileDef, IfcCircleProfileDef, IfcEllipseProfileDef is supported * The profile can be extruded perpendicularly or non-perpendicularly to the plane of the swept profile The image below illustrates a 'SweptSolid' geometric representation. The following interpretation of dimension parameter applies for polygonal plates (in ground floor view): IfcArbitraryClosedProfileDef.OuterCurve being a closed bounded curve is interpreted as area (or foot print) of the plate. - Material Layer Set Usage - The image below illustrates assignment of IfcMaterialLayerSetUsage and IfcMaterialLayerSet to the IfcPlateType and the IfcPlate occurrence. The image below illustrates material layer usage, where: * The reference coordinate system is the coordinate system established by the IfcExtrudedAreaSolid.Position * The reference plane is the plane defined by the extruded profile of IfcExtrudedAreaSolid.SweptSolid. The IfcMaterialLayerSetUsage.OffsetFromReferenceLine is specified as a distance from this plane * The IfcMaterialLayerSetUsage.DirectionSense defines how the IfcMaterialLayer's are assigned to the reference plane. POSITIVE means in direction to the positive z-axis of the reference coordinate system * The IfcMaterialLayerSetUsage.OffsetFromReferenceLine is the distance parallel to the reference plane and always perpendicular to the base (XY) plane of the reference coordinate system. This is independent of a potential non-perpendicular extrusion specified by IfcExtrudedAreaSolid.ExtrudedDirection 0.,0.,1. A positive value of IfcMaterialLayerSetUsage.OffsetFromReferenceLine would then point into the positive z-axis of the reference coordinate system * The Thickness of each IfcMaterialLayer is the parallel distance (measured perpendicular to the base plane). The TotalThickness of the IfcMaterialLayerSet is the sum of all layer thicknesses and in case of a perpendicular extrusion identical with IfcExtrudedAreaSolid.Depth * The IfcMaterialLayerSetUsage.LayerSetDirection is always AXIS3 * The local placement of the wall uses the the x/y plane for the profile, and the z-axis as the extrusion direction for the wall body - Material Set - This concept can be applied to the following resources: * LoadBearing - Object Typing - This concept can be applied to the following resources: * IfcPlateType - Product Assignment - This concept can be applied to the following resources: * IfcStructuralSurfaceMember - An idealized structural member corresponding to the plate * IfcTask - A task for operating on the plate - Property Sets for Objects - This concept can be applied to the following resources: * Pset_ConcreteElementGeneral * Pset_PrecastConcreteElementFabrication * Pset_PrecastConcreteElementGeneral * Pset_PlateCommon - Quantity Sets - This concept can be applied to the following resources: * Qto_PlateBaseQuantities - Spatial Containment - The IfcPlate, as any subtype of IfcBuildingElement, can participate alternatively in one of the two different containment relationships: * the Spatial Containment (defined here) * the Element Composition - Surface 3D Geometry - The 'Surface' can be used to define a surface model of the building (e.g. for analytical purposes, or for reduced Level of Detail representation). \changes * IFC4X3_RC1 changes: Supertype changed from "IfcBuildingElement" to "IfcBuiltElement" */ class IFC4X4_EXPORT IfcPlate : public IfcBuiltElement { //DOM-IGNORE-BEGIN OD_EXP_DECLARE_MEMBERS(OdIfc4x4::IfcPlate); //DOM-IGNORE-END public: // // OdDAI early binding accessors // /** \details Returns the value of PredefinedType attribute. This attribute represents predefined generic type for a plate that is specified in an enumeration. There can be a property set specified specifically for the predefined types. \returns Returns the value of PredefinedType attribute. \remarks The PredefinedType is only used if no IfcPlateType is assigned, providing its own IfcPlateType.PredefinedType. */ IfcPlateTypeEnum getPredefinedType() const; /** \details Sets the value of PredefinedType attribute. This attribute represents predefined generic type for a plate that is specified in an enumeration. There can be a property set specified specifically for the predefined types. \param PredefinedType [in] Predefined type to set. \remarks The PredefinedType is only used if no IfcPlateType is assigned, providing its own IfcPlateType.PredefinedType. */ void setPredefinedType(IfcPlateTypeEnum PredefinedType); public: /** \details Default constructor for the IfcPlate class. */ IfcPlate(); /** \details Reads object's data from the specified filer. \param rdFiler [in] Pointer to a filer from which to read the data. \returns A value of OdResult type that contains the result of the method execution. */ virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler) override; /** \details Writes object's data the the specified filer. \param wrFiler [in] Pointer to a filer to which to write the data. \returns A value of OdResult type that contains the result of the method execution. */ virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler) override; /** \details Returns a type of a class instance. \returns Pointer to the OdDAI::Entity type that determines an entity definition within a schema. */ virtual OdDAI::Entity* getInstanceType() const override; /** \details Returns an attribute value for the specified attribute name. \param attrName [in] Name of an attribute to query. \returns OdRxValue object that represents a generic variant type value. */ virtual OdRxValue getAttr(const char * attrName) const override; /** \details Early-bound version of instances comparison. \param pOther [in] Other application instance. \param ordering [out] Receives the ordering (comparison) status. \returns true if comparison was performed, false if method has no implementation, so late-bound version could be applied. \remarks If the method returns true, the ordering parameter can receive one of the following statuses: Name Value Description _kLessThan_ -1 This object < Other Object. _kEqual_ 0 This object = Other Object. _kGreaterThan_ 1 This object > Other Object. _kNotOrderable_ 2 This class is not orderable.
*/ virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const override; /** \details Resets a value for the specified attribute. \param explicitAttrName [in] Explicit name of the attribute to reset. */ virtual void unsetAttr(const char * explicitAttrName) override; /** \details Checks whether the specified attribute is set. \param explicitAttrName [in] Explicit name of the attribute to test. \returns true if the specified attribute is set, false otherwise. */ virtual bool testAttr(const char * explicitAttrName) const override; /** \details Sets the specified attribute with a given value. \param explicitAttrName [in] Explicit name of the attribute to set. \param val [in] Value to set. \returns true if the value is successfully set for the specified attribute, false otherwise. */ virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val) override; /** \details Checks whether the specified instance is the object derived from or belongs to this class. \param entityType [in] Entity to check. \returns true if the specified instance is the object derived from or belongs to this class, false otherwise. */ virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override; /** \details Returns the type of this entity. \returns A value of the OdIfc::OdIfcEntityType type that represents type of this entity. */ virtual OdIfc::OdIfcEntityType type() const override; /** \details Returns an attribute value for the specified attribute definition. \param attrDef [in] Attribute definition to query. \returns OdRxValue object that represents a generic variant type value. */ virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override; /** \details Resets a value for the specified attribute. \param explicitAttrDef [in] Explicit definition that represents an attribute to reset. */ virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override; /** \details Checks whether the specified attribute is set. \param explicitAttrDef [in] Attribute definition to test. \returns true if the specified attribute is set, false otherwise. */ virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override; /** \details Sets the specified attribute with a given value. \param explicitAttrDef [in] Explicit attribute definition to set. \param val [in] Value to set. \returns true if the value is successfully set for the specified attribute, false otherwise. */ virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override; protected: // Fields declaration: OdDAI::Enum m_PredefinedType; // IfcPlateTypeEnum [optional] }; /** \details A data type that represents a smart pointer to a IfcPlate object. */ typedef OdSmartPtr IfcPlatePtr; } // namespace #include "TD_PackPop.h" #endif // _IFC4X4_IFCPLATE_AUTO_IMPL_H