CFx SDK Documentation  2023 SP0
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 
tol
Definition: DimVarDefs.h:2287
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGeCurve3d & operator=(const OdGeCurve3d &curve)
OdGeSplineEnt3d & setKnotAt(int knotIndex, double val)
bool hasFitData() const
int numKnots() const
OdGeSplineEnt3d & setControlPointAt(int controlPointIndex, const OdGePoint3d &point)
double knotAt(int knotIndex) const
int order() const
double startParam() const
double endParam() const
bool isRational() const
int degree() const
int continuityAtKnot(int index, const OdGeTol &tol=OdGeContext::gTol) const
const OdGeKnotVector & knots() const
OdGePoint3d startPoint() const
OdGePoint3d endPoint() const
OdGeSplineEnt3d(const OdGeSplineEnt3d &)
OdGePoint3d controlPointAt(int controlPointIndex) const
int numControlPoints() const
Definition: GeTol.h:49
GLuint index
Definition: gles2_ext.h:265
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:60