/////////////////////////////////////////////////////////////////////////////// // 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. /////////////////////////////////////////////////////////////////////////////// // OdIfcConnectedFaceSet.h: interface for the OdIfcConnectedFaceSet class. // ////////////////////////////////////////////////////////////////////// #ifndef _IFC_CCONNECTEDFACESET_H_ #define _IFC_CCONNECTEDFACESET_H_ #include "IfcModelerGeometry/IfcModelerGeometry.h" #include "IfcTopologicalRepresentationItem.h" #include "TD_PackPush.h" namespace OdIfc { class OdIfcModelerGeometry; /** \details A data type that represents a smart pointer to an OdIfcModelerGeometry object. */ typedef OdSmartPtr OdIfcModelerGeometryPtr; /** \details A class that stores and handles information about a set of connected faces within the IFC format. */ class IFCGEOM_EXPORT OdIfcConnectedFaceSet : public OdIfcTopologicalRepresentationItem { ODRX_DECLARE_MEMBERS(OdIfcConnectedFaceSet); protected: OdIfcModelerGeometryPtr m_pModeler; OdIfcConnectedFaceSet(); public: /** \details Retrieves the geometry modeler associated with the object. \returns A smart pointer to the geometry modeler object. */ OdIfcModelerGeometryPtr getModeler(); /** \details Composes the set of connected faces. */ void compose() override; /** \details Draws the set of connected faces to the OdGiWorldDraw interface. \param pWd [in] A raw pointer to the object for the entity-level vectorization. \returns true if the set of connected faces was successfully drawn; otherwise, the method returns false. */ bool draw(OdGiWorldDraw* pWd) const override; /** \details Transforms the set of connected faces 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. */ OdResult transformBy(const OdGeMatrix3d &transform) override; /** \details Retrieves the body container. \returns An instance of the OdBodyVariant class that represents the body container. */ OdDAI::OdBodyVariant bodyContainer() const; }; SMARTPTR(OdIfcConnectedFaceSet); } #include "TD_PackPop.h" #endif // _IFC_CCONNECTEDFACESET_H_