CFx SDK Documentation
2026 SP0
Loading...
Searching...
No Matches
SDK
CFx
dd_inc
Ge
GeCubicSplineCurve2d.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_GE_CUBIC_SPLINE_CURVE_2D_H
25
#define OD_GE_CUBIC_SPLINE_CURVE_2D_H
26
27
//
33
34
#include "
Ge/GeSplineEnt2d.h
"
35
#include "
Ge/GePoint2dArray.h
"
36
#include "
Ge/GeVector2dArray.h
"
37
38
#include "
TD_PackPush.h
"
39
48
class
GE_TOOLKIT_EXPORT
OdGeCubicSplineCurve2d
:
public
OdGeSplineEnt2d
49
{
50
public
:
51
GE_OPERATORS_OVERRIDE_2D
(
OdGeCubicSplineCurve2d
);
52
56
OdGeCubicSplineCurve2d
();
57
64
OdGeCubicSplineCurve2d
(
65
const
OdGeCubicSplineCurve2d
&
source
);
66
75
OdGeCubicSplineCurve2d
(
76
const
OdGePoint2dArray
& fitPnts,
77
const
OdGeTol
&
tol
=
OdGeContext::gTol
);
78
89
OdGeCubicSplineCurve2d
(
90
const
OdGePoint2dArray
& fitPnts,
91
const
OdGeVector2d
& startDeriv,
92
const
OdGeVector2d
& endDeriv,
93
const
OdGeTol
&
tol
=
OdGeContext::gTol
);
94
103
OdGeCubicSplineCurve2d
(
104
const
OdGeCurve2d
& curve,
105
double
tol
106
#ifndef SWIG
107
=
OdGeContext::gTol
.equalPoint()
108
#endif
109
);
110
122
OdGeCubicSplineCurve2d
(
123
const
OdGeKnotVector
&
knots
,
124
const
OdGePoint2dArray
& fitPnts,
125
const
OdGeVector2dArray
& firstDerivs,
126
bool
isPeriodic
=
false
);
127
134
int
numFitPoints
()
const
;
135
144
OdGePoint2d
fitPointAt
(
145
int
fitPointIndex)
const
;
146
156
OdGeCubicSplineCurve2d
&
setFitPointAt
(
157
int
fitPointIndex,
158
const
OdGePoint2d
& point);
159
168
OdGeVector2d
firstDerivAt
(
169
int
fitPointIndex)
const
;
170
180
OdGeCubicSplineCurve2d
&
setFirstDerivAt
(
181
int
fitPointIndex,
182
const
OdGeVector2d
& deriv);
183
190
OdGeCubicSplineCurve2d
&
operator =
(
191
const
OdGeCubicSplineCurve2d
& spline);
192
};
193
194
#include "
TD_PackPop.h
"
195
196
#endif
// OD_GE_CUBIC_SPLINE_CURVE_2D_H
tol
tol
Definition
DimVarDefs.h:2287
GE_TOOLKIT_EXPORT
#define GE_TOOLKIT_EXPORT
Definition
GeExport.h:35
OdGePoint2dArray
OdArray< OdGePoint2d, OdMemoryAllocator< OdGePoint2d > > OdGePoint2dArray
Definition
GeGbl.h:45
GePoint2dArray.h
GeSplineEnt2d.h
GeVector2dArray.h
OdGeVector2dArray
OdArray< OdGeVector2d > OdGeVector2dArray
Definition
GeVector2dArray.h:37
TD_PackPop.h
TD_PackPush.h
OdGeCubicSplineCurve2d::OdGeCubicSplineCurve2d
OdGeCubicSplineCurve2d(const OdGeKnotVector &knots, const OdGePoint2dArray &fitPnts, const OdGeVector2dArray &firstDerivs, bool isPeriodic=false)
OdGeCubicSplineCurve2d::OdGeCubicSplineCurve2d
OdGeCubicSplineCurve2d(const OdGeCurve2d &curve, double tol=OdGeContext::gTol.equalPoint())
OdGeCubicSplineCurve2d::setFitPointAt
OdGeCubicSplineCurve2d & setFitPointAt(int fitPointIndex, const OdGePoint2d &point)
OdGeCubicSplineCurve2d::numFitPoints
int numFitPoints() const
OdGeCubicSplineCurve2d::OdGeCubicSplineCurve2d
OdGeCubicSplineCurve2d(const OdGePoint2dArray &fitPnts, const OdGeTol &tol=OdGeContext::gTol)
OdGeCubicSplineCurve2d::setFirstDerivAt
OdGeCubicSplineCurve2d & setFirstDerivAt(int fitPointIndex, const OdGeVector2d &deriv)
OdGeCubicSplineCurve2d::GE_OPERATORS_OVERRIDE_2D
GE_OPERATORS_OVERRIDE_2D(OdGeCubicSplineCurve2d)
OdGeCubicSplineCurve2d::OdGeCubicSplineCurve2d
OdGeCubicSplineCurve2d()
OdGeCubicSplineCurve2d::OdGeCubicSplineCurve2d
OdGeCubicSplineCurve2d(const OdGePoint2dArray &fitPnts, const OdGeVector2d &startDeriv, const OdGeVector2d &endDeriv, const OdGeTol &tol=OdGeContext::gTol)
OdGeCubicSplineCurve2d::OdGeCubicSplineCurve2d
OdGeCubicSplineCurve2d(const OdGeCubicSplineCurve2d &source)
OdGeCubicSplineCurve2d::firstDerivAt
OdGeVector2d firstDerivAt(int fitPointIndex) const
OdGeCubicSplineCurve2d::fitPointAt
OdGePoint2d fitPointAt(int fitPointIndex) const
OdGeCurve2d::OdGeCurve2d
OdGeCurve2d()
OdGeCurve2d::isPeriodic
bool isPeriodic(double &period) const
OdGeKnotVector
Definition
GeKnotVector.h:45
OdGePoint2d
Definition
GePoint2d.h:63
OdGeSplineEnt2d::operator=
OdGeSplineEnt2d & operator=(const OdGeSplineEnt2d &spline)
OdGeSplineEnt2d::OdGeSplineEnt2d
OdGeSplineEnt2d()
OdGeSplineEnt2d::knots
const OdGeKnotVector & knots() const
OdGeTol
Definition
GeTol.h:49
OdGeVector2d
Definition
GeVector2d.h:51
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