CFx SDK Documentation
2022 SP0
SDK
CFx
dd_inc
Ge
GeSplineEnt2d.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_GE_SPLINE_ENT_2D_H
25
#define OD_GE_SPLINE_ENT_2D_H
27
class
OdGeKnotVector
;
28
29
#include "
Ge/GeCurve2d.h
"
30
31
#include "
TD_PackPush.h
"
32
40
class
GE_TOOLKIT_EXPORT
OdGeSplineEnt2d
:
public
OdGeCurve2d
41
{
42
public
:
43
53
bool
isRational
()
const
;
54
61
int
degree
()
const
;
62
69
int
order
()
const
;
70
77
int
numKnots
()
const
;
78
85
const
OdGeKnotVector
&
knots
()
const
;
86
93
int
numControlPoints
()
const
;
94
104
int
continuityAtKnot
(
105
int
knotIndex,
106
const
OdGeTol
&
tol
=
OdGeContext::gTol
)
const
;
107
114
double
startParam
()
const
;
115
122
double
endParam
()
const
;
123
130
OdGePoint2d
startPoint
()
const
;
131
138
OdGePoint2d
endPoint
()
const
;
139
146
bool
hasFitData
()
const
;
147
156
double
knotAt
(
157
int
knotIndex)
const
;
158
168
OdGeSplineEnt2d
&
setKnotAt
(
169
int
knotIndex,
170
double
val);
171
180
OdGePoint2d
controlPointAt
(
181
int
controlPointIndex)
const
;
182
191
OdGeSplineEnt2d
&
setControlPointAt
(
192
int
controlPointIndex,
193
const
OdGePoint2d
& point);
194
195
OdGeSplineEnt2d
&
operator =
(
const
OdGeSplineEnt2d
& spline);
196
198
199
protected
:
200
OdGeSplineEnt2d
();
201
OdGeSplineEnt2d
(
202
const
OdGeSplineEnt2d
& spline);
203
};
204
205
#include "
TD_PackPop.h
"
206
207
#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:49
TD_PackPop.h
TD_PackPush.h
OdGeCurve2d
Definition:
GeCurve2d.h:53
OdGeCurve2d::operator=
OdGeCurve2d & operator=(const OdGeCurve2d &curve)
OdGeKnotVector
Definition:
GeKnotVector.h:44
OdGePoint2d
Definition:
GePoint2d.h:60
OdGeSplineEnt2d
Definition:
GeSplineEnt2d.h:41
OdGeSplineEnt2d::knots
const OdGeKnotVector & knots() const
OdGeSplineEnt2d::startParam
double startParam() const
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::setControlPointAt
OdGeSplineEnt2d & setControlPointAt(int controlPointIndex, const OdGePoint2d &point)
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::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:60
Generated on Fri Jan 22 2021 18:01:35