31 class OdGeNurbCurve2dImpl;
75 bool isPeriodic =
false);
81 bool isPeriodic =
false);
85 bool isPeriodic =
false);
90 bool startTangentDefined =
true,
91 bool endTangentDefined =
true,
100 bool isPeriodic =
false);
110 bool startTangentDefined,
111 bool endTangentDefined,
240 int weightIndex)
const;
358 bool isPeriodic =
false);
418 int controlPointIndex,
428 bool evalMode =
false);
446 double newStartParam,
460 double weight = 1.0);
577 bool isPeriodic =
false);
#define GE_TOOLKIT_EXPORT
bool getFitTolerance(OdGeTol &fitTolerance) const
OdGeNurbCurve2d & makePeriodic()
OdGeNurbCurve2d & addKnot(double newKnot)
bool setFitKnotParameterization(OdGeKnotParameterization knotParam)
OdGeNurbCurve2d(const OdGeLineSeg2d &linSeg)
OdGeNurbCurve2d & makeNonPeriodic()
void set(int degree, const OdGeKnotVector &knots, const OdGePoint2dArray &cntrlPnts, const OdGeDoubleArray &weights, bool isPeriodic, const OdGePoint2dArray &fitPoints, const OdGeVector2d &startTangent, const OdGeVector2d &endTangent)
bool setFitPointAt(int index, const OdGePoint2d &point)
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(const OdGePoint2dArray &fitPoints, const OdGeTol &fitTolerance=OdGeContext::gTol)
OdGeNurbCurve2d(const OdGePoint2dArray &fitPoints, const OdGeVector2d &startTangent, const OdGeVector2d &endTangent, bool startTangentDefined=true, bool endTangentDefined=true, const OdGeTol &fitTolerance=OdGeContext::gTol)
OdGeNurbCurve2d & setFitData(const OdGePoint2dArray &fitPoints, const OdGeVector2d &startTangent, const OdGeVector2d &endTangent, OdGeKnotParameterization knotParam, const OdGeTol &fitTol=OdGeContext::gTol)
bool getFitKnotParameterization(OdGeKnotParameterization &knotParam) const
OdGeNurbCurve2d & elevateDegree(int plusDegree)
OdGeNurbCurve2d & setFitData(int degree, const OdGePoint2dArray &fitPoints, const OdGeTol &fitTol=OdGeContext::gTol)
bool getFitData(OdGePoint2dArray &fitPoints, OdGeTol &fitTolerance, bool &tangentsExist, OdGeVector2d &startTangent, OdGeVector2d &endTangent) const
bool getParamsOfC1Discontinuity(OdGeDoubleArray ¶ms, const OdGeTol &tol=OdGeContext::gTol) const
OdGeNurbCurve2d & insertKnot(double newKnot)
OdGeNurbCurve2d(int degree, const OdGePolyline2d &fitPolyline, bool isPeriodic=false)
bool setFitTangents(const OdGeVector2d &startTangent, const OdGeVector2d &endTangent)
void set(int degree, const OdGeKnotVector &knots, const OdGePoint2dArray &controlPoints, const OdGeDoubleArray &weights, bool isPeriodic=false)
OdGeNurbCurve2d & hardTrimByParams(double newStartParam, double newEndParam)
OdGeNurbCurve2d & setEvalMode(bool evalMode=false)
OdGeNurbCurve2d & setFitData(const OdGeKnotVector &fitKnots, const OdGePoint2dArray &fitPoints, const OdGeVector2d &startTangent, const OdGeVector2d &endTangent, const OdGeTol &fitTol=OdGeContext::gTol, bool isPeriodic=false)
bool getFitPointAt(int index, OdGePoint2d &point) const
bool deleteControlPointAt(int index)
OdGeSplineEnt2d & setWeightAt(int controlPointIndex, double weight)
OdGeNurbCurve2d(const OdGeEllipArc2d &ellipse)
double weightAt(int weightIndex) const
OdGeNurbCurve2d(int degree, const OdGeKnotVector &knots, const OdGePoint2dArray &controlPoints, const OdGeDoubleArray &weights, bool isPeriodic=false)
OdGeNurbCurve2d(int degree, const OdGeKnotVector &knots, const OdGePoint2dArray &controlPoints, bool isPeriodic=false)
bool getFitData(OdGePoint2dArray &fitPoints, OdGeTol &fitTolerance, bool &tangentsExist, OdGeVector2d &startTangent, OdGeVector2d &endTangent, OdGeKnotParameterization &knotParam) const
bool getFitTangents(OdGeVector2d &startTangent, OdGeVector2d &endTangent) const
bool setFitTolerance(const OdGeTol &fitTol=OdGeContext::gTol)
bool addFitPointAt(int index, const OdGePoint2d &point)
void getDefinitionData(int °ree, bool &rational, bool &periodic, OdGeKnotVector &knots, OdGePoint2dArray &controlPoints, OdGeDoubleArray &weights) const
OdGeNurbCurve2d(const OdGeNurbCurve2d &source)
OdGeNurbCurve2d & makeRational(double weight=1.0)
OdGeNurbCurve2d & makeClosed()
OdGeNurbCurve2d & setFitData(const OdGePoint2dArray &fitPoints, const OdGeVector2d &startTangent, const OdGeVector2d &endTangent, const OdGeTol &fitTol=OdGeContext::gTol)
bool intersectWith(const OdGeLine2d &line2d, OdGePoint2dArray &pnts2d, const OdGeTol &tol=OdGeContext::gTol, OdGeDoubleArray *params=NULL) const
OdGeNurbCurve2d & joinWith(const OdGeNurbCurve2d &curve)
OdGeNurbCurve2d & makeOpen()
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)
bool deleteFitPointAt(int index)
OdGeSplineEnt2d & operator=(const OdGeSplineEnt2d &spline)
GLsizei GLsizei GLchar * source
static GE_STATIC_EXPORT OdGeTol gTol