CFx SDK Documentation  2020SP3
GeSplineEnt3d.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_GESPNT3D_H
25 #define OD_GESPNT3D_H
27 class OdGeKnotVector;
28 #include "Ge/GeCurve3d.h"
29 
30 #include "TD_PackPush.h"
31 
40 {
41 public:
42 
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 
96  int index,
97  const OdGeTol& tol = OdGeContext::gTol) const;
98 
105  double startParam() const;
106 
113  double endParam() const;
114 
122 
130 
137  bool hasFitData() const;
138 
147  double knotAt(
148  int knotIndex) const;
149 
160  int knotIndex,
161  double val);
162 
172  int controlPointIndex) const;
173 
183  int controlPointIndex,
184  const OdGePoint3d& point);
185 
187 
189 
190 protected:
193 };
194 
195 #include "TD_PackPop.h"
196 
197 #endif
198 
OdGeSplineEnt3d::degree
int degree() const
OdGeCurve3d::operator=
OdGeCurve3d & operator=(const OdGeCurve3d &curve)
OdGeSplineEnt3d::continuityAtKnot
int continuityAtKnot(int index, const OdGeTol &tol=OdGeContext::gTol) const
tol
tol
Definition: DimVarDefs.h:2287
GeCurve3d.h
OdGeSplineEnt3d::setKnotAt
OdGeSplineEnt3d & setKnotAt(int knotIndex, double val)
TD_PackPop.h
OdGeSplineEnt3d::startParam
double startParam() const
index
GLuint index
Definition: gles2_ext.h:265
OdGeSplineEnt3d::numKnots
int numKnots() const
OdGeSplineEnt3d::controlPointAt
OdGePoint3d controlPointAt(int controlPointIndex) const
OdGeSplineEnt3d::knots
const OdGeKnotVector & knots() const
OdGePoint3d
Definition: GePoint3d.h:55
OdGeSplineEnt3d::hasFitData
bool hasFitData() const
OdGeSplineEnt3d::endParam
double endParam() const
TD_PackPush.h
OdGeSplineEnt3d::startPoint
OdGePoint3d startPoint() const
OdGeKnotVector
Definition: GeKnotVector.h:44
OdGeSplineEnt3d::isRational
bool isRational() const
OdGeSplineEnt3d::endPoint
OdGePoint3d endPoint() const
OdGeCurve3d
Definition: GeCurve3d.h:56
OdGeContext::gTol
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:60
GE_TOOLKIT_EXPORT
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGeSplineEnt3d::OdGeSplineEnt3d
OdGeSplineEnt3d(const OdGeSplineEnt3d &)
OdGeSplineEnt3d
Definition: GeSplineEnt3d.h:40
OdGeTol
Definition: GeTol.h:49
OdGeSplineEnt3d::order
int order() const
OdGeSplineEnt3d::setControlPointAt
OdGeSplineEnt3d & setControlPointAt(int controlPointIndex, const OdGePoint3d &point)
OdGeSplineEnt3d::knotAt
double knotAt(int knotIndex) const
OdGeSplineEnt3d::OdGeSplineEnt3d
OdGeSplineEnt3d()
OdGeSplineEnt3d::numControlPoints
int numControlPoints() const