|
||||
File indexing completed on 2025-01-18 10:04:05
0001 // Created on: 2016-04-07 0002 // Copyright (c) 2016 OPEN CASCADE SAS 0003 // Created by: Oleg AGASHIN 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 _IMeshData_Curve_HeaderFile 0017 #define _IMeshData_Curve_HeaderFile 0018 0019 #include <IMeshData_ParametersList.hxx> 0020 #include <Standard_Type.hxx> 0021 0022 class gp_Pnt; 0023 0024 //! Interface class representing discrete 3d curve of edge. 0025 //! Indexation of points starts from zero. 0026 class IMeshData_Curve : public IMeshData_ParametersList 0027 { 0028 public: 0029 0030 //! Destructor. 0031 virtual ~IMeshData_Curve() 0032 { 0033 } 0034 0035 //! Inserts new discretization point at the given position. 0036 Standard_EXPORT virtual void InsertPoint( 0037 const Standard_Integer thePosition, 0038 const gp_Pnt& thePoint, 0039 const Standard_Real theParamOnPCurve) = 0; 0040 0041 //! Adds new discretization point to curve. 0042 Standard_EXPORT virtual void AddPoint ( 0043 const gp_Pnt& thePoint, 0044 const Standard_Real theParamOnCurve) = 0; 0045 0046 //! Returns discretization point with the given index. 0047 Standard_EXPORT virtual gp_Pnt& GetPoint (const Standard_Integer theIndex) = 0; 0048 0049 //! Removes point with the given index. 0050 Standard_EXPORT virtual void RemovePoint (const Standard_Integer theIndex) = 0; 0051 0052 DEFINE_STANDARD_RTTIEXT(IMeshData_Curve, IMeshData_ParametersList) 0053 0054 protected: 0055 0056 //! Constructor. 0057 IMeshData_Curve() 0058 { 0059 } 0060 }; 0061 0062 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |