31class OdGeNurbCurve2dImpl;
97 bool isPeriodic =
false);
137 bool isPeriodic =
false);
153 bool isPeriodic =
false);
177 bool startTangentDefined =
true,
178 bool endTangentDefined =
true,
213 bool isPeriodic =
false);
260 bool startTangentDefined,
261 bool endTangentDefined,
428 int weightIndex)
const;
649 bool isPeriodic =
false);
756 bool evalMode =
false);
784 double newStartParam,
800 double weight = 1.0);
917 bool isPeriodic =
false);
#define GE_TOOLKIT_EXPORT
bool getFitTolerance(OdGeTol &fitTolerance) const
bool setFitKnotParameterization(OdGeKnotParameterization knotParam)
OdGeNurbCurve2d(const OdGeLineSeg2d &linSeg)
OdGeNurbCurve2d(const OdGePoint2dArray &fitPoints, const OdGeVector2dArray &fitTangents, const OdGeTol &fitTolerance=OdGeContext::gTol, bool isPeriodic=false)
bool addControlPointAt(double newKnot, const OdGePoint2d &point, double weight=1.0)
OdGeNurbCurve2d & hardTrimByParams(double newStartParam, double newEndParam)
OdGeNurbCurve2d(const OdGePoint2dArray &fitPoints, const OdGeTol &fitTolerance=OdGeContext::gTol)
OdGeNurbCurve2d & setWeightAt(int weightIndex, double weight)
OdGeNurbCurve2d(const OdGePoint2dArray &fitPoints, const OdGeVector2d &startTangent, const OdGeVector2d &endTangent, bool startTangentDefined=true, bool endTangentDefined=true, const OdGeTol &fitTolerance=OdGeContext::gTol)
bool getFitKnotParameterization(OdGeKnotParameterization &knotParam) const
OdGeNurbCurve2d & setEvalMode(bool evalMode=false)
OdGeNurbCurve2d & setData(int degree, const OdGeKnotVector &knots, const OdGePoint2dArray &controlPoints, const OdGeDoubleArray &weights, bool isPeriodic, const OdGePoint2dArray &fitPoints, const OdGeVector2d &startTangent, const OdGeVector2d &endTangent)
OdGeNurbCurve2d & insertKnot(double newKnot)
OdGeNurbCurve2d & makeNonPeriodic()
bool getFitData(OdGePoint2dArray &fitPoints, OdGeTol &fitTolerance, bool &tangentsExist, OdGeVector2d &startTangent, OdGeVector2d &endTangent) const
bool getParamsOfC1Discontinuity(OdGeDoubleArray ¶ms, const OdGeTol &tol=OdGeContext::gTol) const
OdGeNurbCurve2d(int degree, const OdGePolyline2d &fitPolyline, bool isPeriodic=false)
bool setFitTangents(const OdGeVector2d &startTangent, const OdGeVector2d &endTangent)
OdGeNurbCurve2d & setFitData(const OdGePoint2dArray &fitPoints, const OdGeVector2d &startTangent, const OdGeVector2d &endTangent, OdGeKnotParameterization knotParam, const OdGeTol &fitTol=OdGeContext::gTol)
OdGeNurbCurve2d & makeRational(double weight=1.0)
OdGeNurbCurve2d & setFitData(int degree, const OdGePoint2dArray &fitPoints, const OdGeTol &fitTol=OdGeContext::gTol)
bool deleteControlPointAt(int index)
bool setFitPointAt(int fitPointIndex, const OdGePoint2d &point)
OdGeNurbCurve2d & makeOpen()
OdGeNurbCurve2d & elevateDegree(int plusDegree)
bool getFitPointAt(int fitPointIndex, OdGePoint2d &point) const
OdGeNurbCurve2d & setFitData(const OdGePoint2dArray &fitPoints, const OdGeVector2d &startTangent, const OdGeVector2d &endTangent, const OdGeTol &fitTol=OdGeContext::gTol)
OdGeNurbCurve2d(const OdGeEllipArc2d &ellipse)
double weightAt(int weightIndex) const
OdGeNurbCurve2d(int degree, const OdGeKnotVector &knots, const OdGePoint2dArray &controlPoints, const OdGeDoubleArray &weights, bool isPeriodic=false)
bool deleteFitPointAt(int fitPointIndex)
OdGeNurbCurve2d(int degree, const OdGeKnotVector &knots, const OdGePoint2dArray &controlPoints, bool isPeriodic=false)
OdGeNurbCurve2d & setFitData(const OdGeKnotVector &fitKnots, const OdGePoint2dArray &fitPoints, const OdGeVector2d &startTangent, const OdGeVector2d &endTangent, const OdGeTol &fitTol=OdGeContext::gTol, bool isPeriodic=false)
bool getFitData(OdGePoint2dArray &fitPoints, OdGeTol &fitTolerance, bool &tangentsExist, OdGeVector2d &startTangent, OdGeVector2d &endTangent, OdGeKnotParameterization &knotParam) const
OdGeNurbCurve2d & makePeriodic()
bool getFitTangents(OdGeVector2d &startTangent, OdGeVector2d &endTangent) const
static OdGeNurbCurve2d * convertFrom(const OdGeCurve2d *source, const OdGeTol &tol=OdGeContext::gTol, bool sameParametrization=false)
bool setFitTolerance(const OdGeTol &fitTol=OdGeContext::gTol)
void getDefinitionData(int °ree, bool &rational, bool &periodic, OdGeKnotVector &knots, OdGePoint2dArray &controlPoints, OdGeDoubleArray &weights) const
OdGeNurbCurve2d(const OdGeNurbCurve2d &source)
OdGeNurbCurve2d & addKnot(double newKnot)
bool intersectWith(const OdGeLine2d &line2d, OdGePoint2dArray &pnts2d, const OdGeTol &tol=OdGeContext::gTol, OdGeDoubleArray *params=NULL) const
OdGeNurbCurve2d & set(int degree, const OdGeKnotVector &knots, const OdGePoint2dArray &controlPoints, const OdGeDoubleArray &weights, bool isPeriodic=false)
bool addFitPointAt(int fitPointIndex, const OdGePoint2d &point)
OdGeNurbCurve2d & joinWith(const OdGeNurbCurve2d &curve)
static OdGeNurbCurve2d * convertFrom(const OdGeCurve2d *source, const OdGeInterval &domain, const OdGeTol &tol=OdGeContext::gTol, bool sameParametrization=false)
bool getParamsOfG1Discontinuity(OdGeDoubleArray ¶ms, const OdGeTol &tol=OdGeContext::gTol) const
OdGeNurbCurve2d(const OdGePoint2dArray &fitPoints, const OdGeVector2d &startTangent, const OdGeVector2d &endTangent, bool startTangentDefined, bool endTangentDefined, OdGeKnotParameterization knotParam, const OdGeTol &fitTol=OdGeContext::gTol)
OdGeNurbCurve2d & makeClosed()
OdGeSplineEnt2d & operator=(const OdGeSplineEnt2d &spline)
GLsizei GLsizei GLchar * source
static GE_STATIC_EXPORT OdGeTol gTol