// Created on: 1993-07-15 // Created by: Remi LEQUETTE // Copyright (c) 1993-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with special exception defined in the file // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT // distribution for complete text of the license and disclaimer of any warranty. // // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. #ifndef _DBRep_Edge_HeaderFile #define _DBRep_Edge_HeaderFile #include #include #include #include #include class TopoDS_Edge; class Draw_Color; class DBRep_Edge; DEFINE_STANDARD_HANDLE(DBRep_Edge, Standard_Transient) //! Display of an edge. Edge + color. class DBRep_Edge : public Standard_Transient { public: Standard_EXPORT DBRep_Edge(const TopoDS_Edge& E, const Draw_Color& C); const TopoDS_Edge& Edge() const; void Edge (const TopoDS_Edge& E); const Draw_Color& Color() const; void Color (const Draw_Color& C); DEFINE_STANDARD_RTTIEXT(DBRep_Edge,Standard_Transient) protected: private: TopoDS_Edge myEdge; Draw_Color myColor; }; #include #endif // _DBRep_Edge_HeaderFile