CFx SDK Documentation  2020SP3
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 
OdGeVector3d
Definition: GeVector3d.h:54
OdGeCubicSplineCurve3d::OdGeCubicSplineCurve3d
OdGeCubicSplineCurve3d(const OdGeCurve3d &curve, double epsilon=OdGeContext::gTol.equalPoint())
OdGeCubicSplineCurve3d::OdGeCubicSplineCurve3d
OdGeCubicSplineCurve3d(const OdGePoint3dArray &fitPnts, const OdGeVector3d &startDeriv, const OdGeVector3d &endDeriv, const OdGeTol &tol=OdGeContext::gTol)
OdGeSplineEnt3d::operator=
OdGeSplineEnt3d & operator=(const OdGeSplineEnt3d &spline)
tol
tol
Definition: DimVarDefs.h:2287
source
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282
OdGeCubicSplineCurve3d::fitPointAt
OdGePoint3d fitPointAt(int fotPointIndex) const
OdGeCubicSplineCurve3d::firstDerivAt
OdGeVector3d firstDerivAt(int fitPointIndex) const
OdArray< OdGePoint3d, OdMemoryAllocator< OdGePoint3d > >
TD_PackPop.h
OdGeCubicSplineCurve3d::OdGeCubicSplineCurve3d
OdGeCubicSplineCurve3d(const OdGeKnotVector &knots, const OdGePoint3dArray &fitPnts, const OdGeVector3dArray &firstDerivs, bool isPeriodic=false)
OdGePoint3d
Definition: GePoint3d.h:55
OdGeCubicSplineCurve3d::setFirstDerivAt
OdGeCubicSplineCurve3d & setFirstDerivAt(int fitPointIndex, const OdGeVector3d &deriv)
TD_PackPush.h
OdGeCubicSplineCurve3d::OdGeCubicSplineCurve3d
OdGeCubicSplineCurve3d()
OdGeKnotVector
Definition: GeKnotVector.h:44
OdGeCubicSplineCurve3d::OdGeCubicSplineCurve3d
OdGeCubicSplineCurve3d(const OdGeCubicSplineCurve3d &source)
OdGeCurve3d
Definition: GeCurve3d.h:56
OdGeContext::gTol
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:60
GE_TOOLKIT_EXPORT
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGeCubicSplineCurve3d::OdGeCubicSplineCurve3d
OdGeCubicSplineCurve3d(const OdGePoint3dArray &fitPnts, const OdGeTol &tol=OdGeContext::gTol)
OdGeSplineEnt3d
Definition: GeSplineEnt3d.h:40
OdGeCubicSplineCurve3d::setFitPointAt
OdGeCubicSplineCurve3d & setFitPointAt(int fitPointIndex, const OdGePoint3d &point)
OdGeTol
Definition: GeTol.h:49
OdGeCubicSplineCurve3d::numFitPoints
int numFitPoints() const
OdGeCubicSplineCurve3d
Definition: GeCubicSplineCurve3d.h:40