|
|
|||
File indexing completed on 2026-09-22 08:58:34
0001 // Created on: 1993-04-30 0002 // Created by: Yves FRICAUD 0003 // Copyright (c) 1993-1999 Matra Datavision 0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS 0005 // 0006 // This file is part of Open CASCADE Technology software library. 0007 // 0008 // This library is free software; you can redistribute it and/or modify it under 0009 // the terms of the GNU Lesser General Public License version 2.1 as published 0010 // by the Free Software Foundation, with special exception defined in the file 0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT 0012 // distribution for complete text of the license and disclaimer of any warranty. 0013 // 0014 // Alternatively, this file may be used under the terms of Open CASCADE 0015 // commercial license or contractual agreement. 0016 0017 #ifndef _MAT_BasicElt_HeaderFile 0018 #define _MAT_BasicElt_HeaderFile 0019 0020 #include <Standard.hxx> 0021 #include <Standard_Type.hxx> 0022 0023 #include <Standard_Integer.hxx> 0024 #include <Standard_Transient.hxx> 0025 class MAT_Arc; 0026 0027 //! A BasicELt is associated to each elementary 0028 //! constituent of the figure. 0029 class MAT_BasicElt : public Standard_Transient 0030 { 0031 0032 public: 0033 //! Constructor, <anInteger> is the <index> of <me>. 0034 Standard_EXPORT MAT_BasicElt(const int anInteger); 0035 0036 //! Return <startArcLeft> or <startArcRight> corresponding 0037 //! to <aSide>. 0038 Standard_EXPORT occ::handle<MAT_Arc> StartArc() const; 0039 0040 //! Return <endArcLeft> or <endArcRight> corresponding 0041 //! to <aSide>. 0042 Standard_EXPORT occ::handle<MAT_Arc> EndArc() const; 0043 0044 //! Return the <index> of <me> in Graph.TheBasicElts. 0045 Standard_EXPORT int Index() const; 0046 0047 //! Return the <GeomIndex> of <me>. 0048 Standard_EXPORT int GeomIndex() const; 0049 0050 Standard_EXPORT void SetStartArc(const occ::handle<MAT_Arc>& anArc); 0051 0052 Standard_EXPORT void SetEndArc(const occ::handle<MAT_Arc>& anArc); 0053 0054 Standard_EXPORT void SetIndex(const int anInteger); 0055 0056 Standard_EXPORT void SetGeomIndex(const int anInteger); 0057 0058 DEFINE_STANDARD_RTTIEXT(MAT_BasicElt, Standard_Transient) 0059 0060 private: 0061 void* startLeftArc; 0062 void* endLeftArc; 0063 int index; 0064 int geomIndex; 0065 }; 0066 0067 #endif // _MAT_BasicElt_HeaderFile
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|