CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GeSplineEnt2d.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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-2022 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
27class OdGeKnotVector;
28
29#include "Ge/GeCurve2d.h"
30
31#include "TD_PackPush.h"
32
42{
43public:
44
55 bool isRational() const;
56
63 int degree() const;
64
71 int order() const;
72
79 int numKnots() const;
80
87 const OdGeKnotVector& knots() const;
88
92 int numControlPoints() const;
93
105 int knotIndex,
106 const OdGeTol& tol = OdGeContext::gTol) const;
107
114 double startParam() const;
115
122 double endParam() const;
123
134
145
152 bool hasFitData() const;
153
162 double knotAt(
163 int knotIndex) const;
164
178 int knotIndex,
179 double val);
180
190 int controlPointIndex) const;
191
202 int controlPointIndex,
203 const OdGePoint2d& point);
204
214
216
217protected:
218 //DOM-IGNORE-BEGIN
221 const OdGeSplineEnt2d& spline);
222 //DOM-IGNORE-END
223};
224
225#include "TD_PackPop.h"
226
227#endif // OD_GE_SPLINE_ENT_2D_H
tol
Definition: DimVarDefs.h:2287
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGeCurve2d & operator=(const OdGeCurve2d &curve)
double startParam() const
OdGeSplineEnt2d & setControlPointAt(int controlPointIndex, const OdGePoint2d &point)
int numKnots() const
int continuityAtKnot(int knotIndex, const OdGeTol &tol=OdGeContext::gTol) const
int order() const
int degree() const
double knotAt(int knotIndex) const
OdGeSplineEnt2d(const OdGeSplineEnt2d &spline)
OdGePoint2d startPoint() const
double endParam() const
OdGePoint2d controlPointAt(int controlPointIndex) const
OdGePoint2d endPoint() const
const OdGeKnotVector & knots() const
OdGeSplineEnt2d & setKnotAt(int knotIndex, double val)
bool isRational() const
int numControlPoints() const
bool hasFitData() const
Definition: GeTol.h:49
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:65