CFx SDK Documentation
2024 SP0
Loading...
Searching...
No Matches
SDK
CFx
dd_inc
Ge
GeCubicSplineCurve3d.h
Go to the documentation of this file.
1
2
// Copyright (C) 2002-2022, 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 Open Design Alliance software pursuant to a license
16
// agreement with Open Design Alliance.
17
// Open Design Alliance Copyright (C) 2002-2022 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
39
class
GE_TOOLKIT_EXPORT
OdGeCubicSplineCurve3d
:
public
OdGeSplineEnt3d
40
{
41
public
:
42
46
OdGeCubicSplineCurve3d
();
47
54
OdGeCubicSplineCurve3d
(
55
const
OdGeCubicSplineCurve3d
&
source
);
56
65
OdGeCubicSplineCurve3d
(
66
const
OdGePoint3dArray
& fitPnts,
67
const
OdGeTol
&
tol
=
OdGeContext::gTol
);
68
80
OdGeCubicSplineCurve3d
(
81
const
OdGePoint3dArray
& fitPnts,
82
const
OdGeVector3d
& startDeriv,
83
const
OdGeVector3d
& endDeriv,
84
const
OdGeTol
&
tol
=
OdGeContext::gTol
);
85
94
OdGeCubicSplineCurve3d
(
95
const
OdGeCurve3d
& curve,
96
double
epsilon
97
#ifndef SWIG
98
=
OdGeContext::gTol
.equalPoint()
99
#endif
100
);
101
115
OdGeCubicSplineCurve3d
(
116
const
OdGeKnotVector
& knots,
117
const
OdGePoint3dArray
& fitPnts,
118
const
OdGeVector3dArray
& firstDerivs,
119
bool
isPeriodic =
false
);
120
129
int
numFitPoints
()
const
;
130
141
OdGePoint3d
fitPointAt
(
142
int
fitPointIndex)
const
;
143
155
OdGeCubicSplineCurve3d
&
setFitPointAt
(
156
int
fitPointIndex,
157
const
OdGePoint3d
& point);
158
169
OdGeVector3d
firstDerivAt
(
170
int
fitPointIndex)
const
;
171
183
OdGeCubicSplineCurve3d
&
setFirstDerivAt
(
184
int
fitPointIndex,
185
const
OdGeVector3d
& deriv);
186
194
OdGeCubicSplineCurve3d
&
operator =
(
195
const
OdGeCubicSplineCurve3d
& spline);
196
};
197
198
#include "
TD_PackPop.h
"
199
200
#endif
201
tol
tol
Definition:
DimVarDefs.h:2287
GE_TOOLKIT_EXPORT
#define GE_TOOLKIT_EXPORT
Definition:
GeExport.h:49
GeSplineEnt3d.h
TD_PackPop.h
TD_PackPush.h
OdArray< OdGePoint3d, OdMemoryAllocator< OdGePoint3d > >
OdGeCubicSplineCurve3d
Definition:
GeCubicSplineCurve3d.h:40
OdGeCubicSplineCurve3d::OdGeCubicSplineCurve3d
OdGeCubicSplineCurve3d(const OdGePoint3dArray &fitPnts, const OdGeTol &tol=OdGeContext::gTol)
OdGeCubicSplineCurve3d::numFitPoints
int numFitPoints() const
OdGeCubicSplineCurve3d::OdGeCubicSplineCurve3d
OdGeCubicSplineCurve3d()
OdGeCubicSplineCurve3d::firstDerivAt
OdGeVector3d firstDerivAt(int fitPointIndex) const
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)
OdGeCubicSplineCurve3d::OdGeCubicSplineCurve3d
OdGeCubicSplineCurve3d(const OdGeCubicSplineCurve3d &source)
OdGeCubicSplineCurve3d::setFitPointAt
OdGeCubicSplineCurve3d & setFitPointAt(int fitPointIndex, const OdGePoint3d &point)
OdGeCubicSplineCurve3d::OdGeCubicSplineCurve3d
OdGeCubicSplineCurve3d(const OdGeKnotVector &knots, const OdGePoint3dArray &fitPnts, const OdGeVector3dArray &firstDerivs, bool isPeriodic=false)
OdGeCubicSplineCurve3d::fitPointAt
OdGePoint3d fitPointAt(int fitPointIndex) const
OdGeCubicSplineCurve3d::setFirstDerivAt
OdGeCubicSplineCurve3d & setFirstDerivAt(int fitPointIndex, const OdGeVector3d &deriv)
OdGeCurve3d
Definition:
GeCurve3d.h:56
OdGeKnotVector
Definition:
GeKnotVector.h:45
OdGePoint3d
Definition:
GePoint3d.h:57
OdGeSplineEnt3d
Definition:
GeSplineEnt3d.h:41
OdGeSplineEnt3d::operator=
OdGeSplineEnt3d & operator=(const OdGeSplineEnt3d &spline)
OdGeTol
Definition:
GeTol.h:49
OdGeVector3d
Definition:
GeVector3d.h:55
source
GLsizei GLsizei GLchar * source
Definition:
gles2_ext.h:282
OdGeContext::gTol
static GE_STATIC_EXPORT OdGeTol gTol
Definition:
GeGbl.h:65
Generated on Wed Apr 5 2023 17:29:15