Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-28 09:20:03

0001 // Copyright (c) 2025 OPEN CASCADE SAS
0002 //
0003 // This file is part of Open CASCADE Technology software library.
0004 //
0005 // This library is free software; you can redistribute it and/or modify it under
0006 // the terms of the GNU Lesser General Public License version 2.1 as published
0007 // by the Free Software Foundation, with special exception defined in the file
0008 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0009 // distribution for complete text of the license and disclaimer of any warranty.
0010 //
0011 // Alternatively, this file may be used under the terms of Open CASCADE
0012 // commercial license or contractual agreement.
0013 
0014 #ifndef _Geom2dGridEval_HeaderFile
0015 #define _Geom2dGridEval_HeaderFile
0016 
0017 #include <gp_Pnt2d.hxx>
0018 #include <gp_Vec2d.hxx>
0019 #include <NCollection_Array1.hxx>
0020 
0021 //! @brief Namespace containing result structures for 2D curve grid evaluators.
0022 //!
0023 //! Provides lightweight POD structures for returning evaluation results
0024 //! with derivatives from 2D curve grid evaluators.
0025 namespace Geom2dGridEval
0026 {
0027 
0028 //! Result structure for curve D1 evaluation (point and first derivative).
0029 struct CurveD1
0030 {
0031   gp_Pnt2d Point;
0032   gp_Vec2d D1;
0033 };
0034 
0035 //! Result structure for curve D2 evaluation (point and first two derivatives).
0036 struct CurveD2
0037 {
0038   gp_Pnt2d Point;
0039   gp_Vec2d D1;
0040   gp_Vec2d D2;
0041 };
0042 
0043 //! Result structure for curve D3 evaluation (point and first three derivatives).
0044 struct CurveD3
0045 {
0046   gp_Pnt2d Point;
0047   gp_Vec2d D1;
0048   gp_Vec2d D2;
0049   gp_Vec2d D3;
0050 };
0051 
0052 } // namespace Geom2dGridEval
0053 
0054 #endif // _Geom2dGridEval_HeaderFile