/////////////////////////////////////////////////////////////////////////////// // 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. /////////////////////////////////////////////////////////////////////////////// #ifndef _IFC_SHELLBASEDSURFACEMODEL_H_ #define _IFC_SHELLBASEDSURFACEMODEL_H_ #include "IfcGeometricRepresentationItem.h" #include "TD_PackPush.h" namespace OdIfc { /** \details A class that stores and handles information about a shell-based surface model within the IFC format. */ class IFCGEOM_EXPORT OdIfcShellBasedSurfaceModel : public OdIfcGeometricRepresentationItem { ODRX_DECLARE_MEMBERS(OdIfcShellBasedSurfaceModel); public: /** \details Composes the shell-based surface model. */ virtual void compose(); /** \details Transforms the shell-based surface model by a specified transformation matrix. \param transform [in] A transformation matrix object. \returns eOk if the transformation operation succeeds; otherwise, the method returns an appropriate error code. */ virtual OdResult transformBy(const OdGeMatrix3d &transform) ODRX_OVERRIDE; /** \details Draws the shell-based surface model to the OdGiWorldDraw interface. \param pWd [in] A raw pointer to the object for the entity-level vectorization. \returns true if the shell-based surface model was successfully drawn; otherwise, the method returns false. */ bool draw(OdGiWorldDraw* pWd) const override; /** \details Retrieves the body container. \returns An instance of the OdBodyVariant class that represents the body container. */ OdDAI::OdBodyVariant bodyContainer() const ODRX_OVERRIDE; }; } #include "TD_PackPop.h" #endif // _IFC_SHELLBASEDSURFACEMODEL_H_