|
||||
File indexing completed on 2025-01-18 10:03:04
0001 // Created by: Peter KURNEV 0002 // Copyright (c) 1999-2014 OPEN CASCADE SAS 0003 // 0004 // This file is part of Open CASCADE Technology software library. 0005 // 0006 // This library is free software; you can redistribute it and/or modify it under 0007 // the terms of the GNU Lesser General Public License version 2.1 as published 0008 // by the Free Software Foundation, with special exception defined in the file 0009 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT 0010 // distribution for complete text of the license and disclaimer of any warranty. 0011 // 0012 // Alternatively, this file may be used under the terms of Open CASCADE 0013 // commercial license or contractual agreement. 0014 0015 #ifndef _BOPDS_Point_HeaderFile 0016 #define _BOPDS_Point_HeaderFile 0017 0018 #include <Standard.hxx> 0019 #include <Standard_DefineAlloc.hxx> 0020 0021 #include <gp_Pnt.hxx> 0022 #include <gp_Pnt2d.hxx> 0023 #include <Standard_Integer.hxx> 0024 class gp_Pnt; 0025 class gp_Pnt2d; 0026 0027 0028 0029 //! The class BOPDS_Point is to store 0030 //! the information about intersection point 0031 class BOPDS_Point 0032 { 0033 public: 0034 0035 DEFINE_STANDARD_ALLOC 0036 0037 0038 0039 //! Empty constructor 0040 BOPDS_Point(); 0041 virtual ~BOPDS_Point(); 0042 0043 0044 //! Modifier 0045 //! Sets 3D point <thePnt> 0046 void SetPnt (const gp_Pnt& thePnt); 0047 0048 0049 //! Selector 0050 //! Returns 3D point 0051 const gp_Pnt& Pnt() const; 0052 0053 0054 //! Modifier 0055 //! Sets 2D point on the first face <thePnt> 0056 void SetPnt2D1 (const gp_Pnt2d& thePnt); 0057 0058 0059 //! Selector 0060 //! Returns 2D point on the first face <thePnt> 0061 const gp_Pnt2d& Pnt2D1() const; 0062 0063 0064 //! Modifier 0065 //! Sets 2D point on the second face <thePnt> 0066 void SetPnt2D2 (const gp_Pnt2d& thePnt); 0067 0068 0069 //! Selector 0070 //! Returns 2D point on the second face <thePnt> 0071 const gp_Pnt2d& Pnt2D2() const; 0072 0073 0074 //! Modifier 0075 //! Sets the index of the vertex <theIndex> 0076 void SetIndex (const Standard_Integer theIndex); 0077 0078 0079 //! Selector 0080 //! Returns index of the vertex 0081 Standard_Integer Index() const; 0082 0083 0084 0085 0086 protected: 0087 0088 0089 0090 gp_Pnt myPnt; 0091 gp_Pnt2d myPnt2D1; 0092 gp_Pnt2d myPnt2D2; 0093 Standard_Integer myIndex; 0094 0095 0096 private: 0097 0098 0099 0100 0101 0102 }; 0103 0104 0105 #include <BOPDS_Point.lxx> 0106 0107 0108 0109 0110 0111 #endif // _BOPDS_Point_HeaderFile
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |