CFx SDK Documentation
2026 SP0
Loading...
Searching...
No Matches
SDK
CFx
dd_inc
Ge
GeCubicSplineCurve3d.h
Go to the documentation of this file.
1
2
// Copyright (C) 2002-2024, 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-2024 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
26
27
#include "
Ge/GeSplineEnt3d.h
"
28
29
#include "
TD_PackPush.h
"
30
39
class
GE_TOOLKIT_EXPORT
OdGeCubicSplineCurve3d
:
public
OdGeSplineEnt3d
40
{
41
public
:
42
GE_OPERATORS_OVERRIDE_3D
(
OdGeCubicSplineCurve3d
);
43
47
OdGeCubicSplineCurve3d
();
48
55
OdGeCubicSplineCurve3d
(
56
const
OdGeCubicSplineCurve3d
&
source
);
57
66
OdGeCubicSplineCurve3d
(
67
const
OdGePoint3dArray
& fitPnts,
68
const
OdGeTol
&
tol
=
OdGeContext::gTol
);
69
81
OdGeCubicSplineCurve3d
(
82
const
OdGePoint3dArray
& fitPnts,
83
const
OdGeVector3d
& startDeriv,
84
const
OdGeVector3d
& endDeriv,
85
const
OdGeTol
&
tol
=
OdGeContext::gTol
);
86
95
OdGeCubicSplineCurve3d
(
96
const
OdGeCurve3d
& curve,
97
double
epsilon
98
#ifndef SWIG
99
=
OdGeContext::gTol
.equalPoint()
100
#endif
101
);
102
116
OdGeCubicSplineCurve3d
(
117
const
OdGeKnotVector
&
knots
,
118
const
OdGePoint3dArray
& fitPnts,
119
const
OdGeVector3dArray
& firstDerivs,
120
bool
isPeriodic
=
false
);
121
130
int
numFitPoints
()
const
;
131
142
OdGePoint3d
fitPointAt
(
143
int
fitPointIndex)
const
;
144
156
OdGeCubicSplineCurve3d
&
setFitPointAt
(
157
int
fitPointIndex,
158
const
OdGePoint3d
& point);
159
170
OdGeVector3d
firstDerivAt
(
171
int
fitPointIndex)
const
;
172
184
OdGeCubicSplineCurve3d
&
setFirstDerivAt
(
185
int
fitPointIndex,
186
const
OdGeVector3d
& deriv);
187
195
OdGeCubicSplineCurve3d
&
operator =
(
196
const
OdGeCubicSplineCurve3d
& spline);
197
};
198
199
#include "
TD_PackPop.h
"
200
201
#endif
202
OdGePoint3dArray
OdArray< OdGePoint3d, OdMemoryAllocator< OdGePoint3d > > OdGePoint3dArray
Definition
AECMeshTools.h:34
tol
tol
Definition
DimVarDefs.h:2287
GE_TOOLKIT_EXPORT
#define GE_TOOLKIT_EXPORT
Definition
GeExport.h:35
GeSplineEnt3d.h
OdGeVector3dArray
OdArray< OdGeVector3d, OdMemoryAllocator< OdGeVector3d > > OdGeVector3dArray
Definition
GeVector3dArray.h:37
TD_PackPop.h
TD_PackPush.h
OdGeCubicSplineCurve3d::GE_OPERATORS_OVERRIDE_3D
GE_OPERATORS_OVERRIDE_3D(OdGeCubicSplineCurve3d)
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::isPeriodic
bool isPeriodic(double &period) const
OdGeCurve3d::OdGeCurve3d
OdGeCurve3d()
OdGeKnotVector
Definition
GeKnotVector.h:45
OdGePoint3d
Definition
GePoint3d.h:57
OdGeSplineEnt3d::OdGeSplineEnt3d
OdGeSplineEnt3d()
OdGeSplineEnt3d::operator=
OdGeSplineEnt3d & operator=(const OdGeSplineEnt3d &spline)
OdGeSplineEnt3d::knots
const OdGeKnotVector & knots() const
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:67
Generated on Tue Apr 15 2025 11:30:00