CFx SDK Documentation  2023 SP0
GeCubicSplineCurve3d.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 #ifndef OD_GECSPL3D_H
25 #define OD_GECSPL3D_H
27 #include "Ge/GeSplineEnt3d.h"
28 
29 #include "TD_PackPush.h"
30 
40 {
41 public:
42 
43 
65  const OdGePoint3dArray& fitPnts,
66  const OdGeTol& tol = OdGeContext::gTol);
68  const OdGePoint3dArray& fitPnts,
69  const OdGeVector3d& startDeriv,
70  const OdGeVector3d& endDeriv,
71  const OdGeTol& tol = OdGeContext::gTol);
73  const OdGeCurve3d& curve,
74  double epsilon
75 #ifndef SWIG
76  = OdGeContext::gTol.equalPoint()
77 #endif
78  );
80  const OdGeKnotVector& knots,
81  const OdGePoint3dArray& fitPnts,
82  const OdGeVector3dArray& firstDerivs,
83  bool isPeriodic = false);
84 
91  int numFitPoints() const;
92 
102  int fotPointIndex) const;
103 
114  int fitPointIndex,
115  const OdGePoint3d& point);
116 
126  int fitPointIndex) const;
127 
138  int fitPointIndex,
139  const OdGeVector3d& deriv);
140 
142  const OdGeCubicSplineCurve3d& spline);
143 };
144 
145 #include "TD_PackPop.h"
146 
147 #endif
148 
tol
Definition: DimVarDefs.h:2287
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGeCubicSplineCurve3d(const OdGePoint3dArray &fitPnts, const OdGeTol &tol=OdGeContext::gTol)
int numFitPoints() const
OdGeVector3d firstDerivAt(int fitPointIndex) const
OdGeCubicSplineCurve3d(const OdGeCurve3d &curve, double epsilon=OdGeContext::gTol.equalPoint())
OdGePoint3d fitPointAt(int fotPointIndex) const
OdGeCubicSplineCurve3d & setFirstDerivAt(int fitPointIndex, const OdGeVector3d &deriv)
OdGeCubicSplineCurve3d(const OdGePoint3dArray &fitPnts, const OdGeVector3d &startDeriv, const OdGeVector3d &endDeriv, const OdGeTol &tol=OdGeContext::gTol)
OdGeCubicSplineCurve3d(const OdGeCubicSplineCurve3d &source)
OdGeCubicSplineCurve3d(const OdGeKnotVector &knots, const OdGePoint3dArray &fitPnts, const OdGeVector3dArray &firstDerivs, bool isPeriodic=false)
OdGeCubicSplineCurve3d & setFitPointAt(int fitPointIndex, const OdGePoint3d &point)
OdGeSplineEnt3d & operator=(const OdGeSplineEnt3d &spline)
Definition: GeTol.h:49
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:60