Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-11 09:19:23

0001 // Created on: 2002-01-04
0002 // Created by: data exchange team
0003 // Copyright (c) 2002-2014 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 #ifndef _StepShape_Subedge_HeaderFile
0017 #define _StepShape_Subedge_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021 
0022 #include <StepShape_Edge.hxx>
0023 class TCollection_HAsciiString;
0024 class StepShape_Vertex;
0025 
0026 //! Representation of STEP entity Subedge
0027 class StepShape_Subedge : public StepShape_Edge
0028 {
0029 
0030 public:
0031   //! Empty constructor
0032   Standard_EXPORT StepShape_Subedge();
0033 
0034   //! Initialize all fields (own and inherited)
0035   Standard_EXPORT void Init(const occ::handle<TCollection_HAsciiString>& aRepresentationItem_Name,
0036                             const occ::handle<StepShape_Vertex>&         aEdge_EdgeStart,
0037                             const occ::handle<StepShape_Vertex>&         aEdge_EdgeEnd,
0038                             const occ::handle<StepShape_Edge>&           aParentEdge);
0039 
0040   //! Returns field ParentEdge
0041   Standard_EXPORT occ::handle<StepShape_Edge> ParentEdge() const;
0042 
0043   //! Set field ParentEdge
0044   Standard_EXPORT void SetParentEdge(const occ::handle<StepShape_Edge>& ParentEdge);
0045 
0046   DEFINE_STANDARD_RTTIEXT(StepShape_Subedge, StepShape_Edge)
0047 
0048 private:
0049   occ::handle<StepShape_Edge> theParentEdge;
0050 };
0051 
0052 #endif // _StepShape_Subedge_HeaderFile