|
|
|||
File indexing completed on 2026-10-02 09:12:50
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 //! Destructor. 0030 ~IMeshData_Curve() override = default; 0031 0032 //! Inserts new discretization point at the given position. 0033 Standard_EXPORT virtual void InsertPoint(const int thePosition, 0034 const gp_Pnt& thePoint, 0035 const double theParamOnPCurve) = 0; 0036 0037 //! Adds new discretization point to curve. 0038 Standard_EXPORT virtual void AddPoint(const gp_Pnt& thePoint, const double theParamOnCurve) = 0; 0039 0040 //! Returns discretization point with the given index. 0041 Standard_EXPORT virtual gp_Pnt& GetPoint(const int theIndex) = 0; 0042 0043 //! Removes point with the given index. 0044 Standard_EXPORT virtual void RemovePoint(const int theIndex) = 0; 0045 0046 DEFINE_STANDARD_RTTIEXT(IMeshData_Curve, IMeshData_ParametersList) 0047 0048 protected: 0049 //! Constructor. 0050 IMeshData_Curve() {} 0051 }; 0052 0053 #endif
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|