CFx SDK Documentation
2026 SP0
Loading...
Searching...
No Matches
SDK
CFx
dd_inc
Ge
GeSplineEnt2d.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_SPLINE_ENT_2D_H
25
#define OD_GE_SPLINE_ENT_2D_H
26
27
class
OdGeKnotVector
;
28
29
#include "
Ge/GeCurve2d.h
"
30
31
#include "
TD_PackPush.h
"
32
41
class
GE_TOOLKIT_EXPORT
OdGeSplineEnt2d
:
public
OdGeCurve2d
42
{
43
public
:
44
GE_OPERATORS_OVERRIDE_2D
(
OdGeSplineEnt2d
);
45
56
bool
isRational
()
const
;
57
64
int
degree
()
const
;
65
72
int
order
()
const
;
73
80
int
numKnots
()
const
;
81
88
const
OdGeKnotVector
&
knots
()
const
;
89
93
int
numControlPoints
()
const
;
94
105
int
continuityAtKnot
(
106
int
knotIndex,
107
const
OdGeTol
&
tol
=
OdGeContext::gTol
)
const
;
108
115
double
startParam
()
const
;
116
123
double
endParam
()
const
;
124
134
OdGePoint2d
startPoint
()
const
;
135
145
OdGePoint2d
endPoint
()
const
;
146
153
bool
hasFitData
()
const
;
154
163
double
knotAt
(
164
int
knotIndex)
const
;
165
178
OdGeSplineEnt2d
&
setKnotAt
(
179
int
knotIndex,
180
double
val);
181
190
OdGePoint2d
controlPointAt
(
191
int
controlPointIndex)
const
;
192
202
OdGeSplineEnt2d
&
setControlPointAt
(
203
int
controlPointIndex,
204
const
OdGePoint2d
& point);
205
214
OdGeSplineEnt2d
&
operator =
(
const
OdGeSplineEnt2d
& spline);
215
217
218
protected
:
219
//DOM-IGNORE-BEGIN
220
OdGeSplineEnt2d
();
221
OdGeSplineEnt2d
(
222
const
OdGeSplineEnt2d
& spline);
223
//DOM-IGNORE-END
224
};
225
226
#include "
TD_PackPop.h
"
227
228
#endif
// OD_GE_SPLINE_ENT_2D_H
tol
tol
Definition
DimVarDefs.h:2287
GeCurve2d.h
GE_TOOLKIT_EXPORT
#define GE_TOOLKIT_EXPORT
Definition
GeExport.h:35
TD_PackPop.h
TD_PackPush.h
OdGeCurve2d::OdGeCurve2d
OdGeCurve2d()
OdGeCurve2d::operator=
OdGeCurve2d & operator=(const OdGeCurve2d &curve)
OdGeKnotVector
Definition
GeKnotVector.h:45
OdGePoint2d
Definition
GePoint2d.h:63
OdGeSplineEnt2d::startParam
double startParam() const
OdGeSplineEnt2d::setControlPointAt
OdGeSplineEnt2d & setControlPointAt(int controlPointIndex, const OdGePoint2d &point)
OdGeSplineEnt2d::numKnots
int numKnots() const
OdGeSplineEnt2d::continuityAtKnot
int continuityAtKnot(int knotIndex, const OdGeTol &tol=OdGeContext::gTol) const
OdGeSplineEnt2d::order
int order() const
OdGeSplineEnt2d::degree
int degree() const
OdGeSplineEnt2d::knotAt
double knotAt(int knotIndex) const
OdGeSplineEnt2d::OdGeSplineEnt2d
OdGeSplineEnt2d(const OdGeSplineEnt2d &spline)
OdGeSplineEnt2d::GE_OPERATORS_OVERRIDE_2D
GE_OPERATORS_OVERRIDE_2D(OdGeSplineEnt2d)
OdGeSplineEnt2d::startPoint
OdGePoint2d startPoint() const
OdGeSplineEnt2d::OdGeSplineEnt2d
OdGeSplineEnt2d()
OdGeSplineEnt2d::endParam
double endParam() const
OdGeSplineEnt2d::controlPointAt
OdGePoint2d controlPointAt(int controlPointIndex) const
OdGeSplineEnt2d::endPoint
OdGePoint2d endPoint() const
OdGeSplineEnt2d::knots
const OdGeKnotVector & knots() const
OdGeSplineEnt2d::setKnotAt
OdGeSplineEnt2d & setKnotAt(int knotIndex, double val)
OdGeSplineEnt2d::isRational
bool isRational() const
OdGeSplineEnt2d::numControlPoints
int numControlPoints() const
OdGeSplineEnt2d::hasFitData
bool hasFitData() const
OdGeTol
Definition
GeTol.h:49
OdGeContext::gTol
static GE_STATIC_EXPORT OdGeTol gTol
Definition
GeGbl.h:67
Generated on Tue Apr 15 2025 11:30:00