CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
28 #include "Ge/GeSplineEnt2d.h"
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);
bool deleteFitPointAt(int index)
OdGeNurbCurve2d(const OdGePoint2dArray &fitPoints, const OdGeTol &fitTolerance=OdGeContext::gTol)
OdGeNurbCurve2d(const OdGeEllipArc2d &ellipse)
OdGeNurbCurve2d(const OdGePoint2dArray &fitPoints, const OdGeVector2d &startTangent, const OdGeVector2d &endTangent, bool startTangentDefined, bool endTangentDefined, OdGeKnotParameterization knotParam, const OdGeTol &fitTol=OdGeContext::gTol)
OdGeNurbCurve2d & addKnot(double newKnot)
GLsizei GLsizei GLchar * source
OdGeNurbCurve2d & setEvalMode(bool evalMode=false)
bool addControlPointAt(double newKnot, const OdGePoint2d &point, double weight=1.0)
bool getFitTolerance(OdGeTol &fitTolerance) const
OdGeNurbCurve2d(const OdGePoint2dArray &fitPoints, const OdGeVector2d &startTangent, const OdGeVector2d &endTangent, bool startTangentDefined=true, bool endTangentDefined=true, const OdGeTol &fitTolerance=OdGeContext::gTol)
OdGeNurbCurve2d(int degree, const OdGeKnotVector &knots, const OdGePoint2dArray &controlPoints, bool isPeriodic=false)
bool setFitPointAt(int index, const OdGePoint2d &point)
OdGeNurbCurve2d(const OdGePoint2dArray &fitPoints, const OdGeVector2dArray &fitTangents, const OdGeTol &fitTolerance=OdGeContext::gTol, bool isPeriodic=false)
bool setFitKnotParameterization(OdGeKnotParameterization knotParam)
OdGeNurbCurve2d & makeOpen()
bool getFitTangents(OdGeVector2d &startTangent, OdGeVector2d &endTangent) const
bool getFitKnotParameterization(OdGeKnotParameterization &knotParam) const
bool intersectWith(const OdGeLine2d &line2d, OdGePoint2dArray &pnts2d, const OdGeTol &tol=OdGeContext::gTol, OdGeDoubleArray *params=NULL) const
bool getParamsOfC1Discontinuity(OdGeDoubleArray ¶ms, const OdGeTol &tol=OdGeContext::gTol) const
OdGeNurbCurve2d & setFitData(const OdGeKnotVector &fitKnots, const OdGePoint2dArray &fitPoints, const OdGeVector2d &startTangent, const OdGeVector2d &endTangent, const OdGeTol &fitTol=OdGeContext::gTol, bool isPeriodic=false)
OdGeNurbCurve2d(int degree, const OdGeKnotVector &knots, const OdGePoint2dArray &controlPoints, const OdGeDoubleArray &weights, bool isPeriodic=false)
bool getFitData(OdGePoint2dArray &fitPoints, OdGeTol &fitTolerance, bool &tangentsExist, OdGeVector2d &startTangent, OdGeVector2d &endTangent) const
bool getFitData(OdGePoint2dArray &fitPoints, OdGeTol &fitTolerance, bool &tangentsExist, OdGeVector2d &startTangent, OdGeVector2d &endTangent, OdGeKnotParameterization &knotParam) const
bool getFitPointAt(int index, OdGePoint2d &point) const
double weightAt(int weightIndex) const
bool deleteControlPointAt(int index)
OdGeNurbCurve2d & makeNonPeriodic()
OdGeNurbCurve2d & setFitData(const OdGePoint2dArray &fitPoints, const OdGeVector2d &startTangent, const OdGeVector2d &endTangent, const OdGeTol &fitTol=OdGeContext::gTol)
OdGeNurbCurve2d & setFitData(int degree, const OdGePoint2dArray &fitPoints, const OdGeTol &fitTol=OdGeContext::gTol)
OdGeNurbCurve2d(const OdGeLineSeg2d &linSeg)
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 getParamsOfG1Discontinuity(OdGeDoubleArray ¶ms, const OdGeTol &tol=OdGeContext::gTol) const
void set(int degree, const OdGeKnotVector &knots, const OdGePoint2dArray &controlPoints, const OdGeDoubleArray &weights, bool isPeriodic=false)
bool setFitTangents(const OdGeVector2d &startTangent, const OdGeVector2d &endTangent)
bool addFitPointAt(int index, const OdGePoint2d &point)
OdGeNurbCurve2d(const OdGeNurbCurve2d &source)
OdGeNurbCurve2d & joinWith(const OdGeNurbCurve2d &curve)
static GE_STATIC_EXPORT OdGeTol gTol
#define GE_TOOLKIT_EXPORT
OdGeNurbCurve2d & insertKnot(double newKnot)
OdGeNurbCurve2d & hardTrimByParams(double newStartParam, double newEndParam)
OdGeSplineEnt2d & setWeightAt(int controlPointIndex, double weight)
void getDefinitionData(int °ree, bool &rational, bool &periodic, OdGeKnotVector &knots, OdGePoint2dArray &controlPoints, OdGeDoubleArray &weights) const
OdGeNurbCurve2d & elevateDegree(int plusDegree)
OdGeNurbCurve2d(int degree, const OdGePolyline2d &fitPolyline, bool isPeriodic=false)
OdGeSplineEnt2d & operator=(const OdGeSplineEnt2d &spline)
OdGeNurbCurve2d & makePeriodic()
OdGeNurbCurve2d & setFitData(const OdGePoint2dArray &fitPoints, const OdGeVector2d &startTangent, const OdGeVector2d &endTangent, OdGeKnotParameterization knotParam, const OdGeTol &fitTol=OdGeContext::gTol)
bool setFitTolerance(const OdGeTol &fitTol=OdGeContext::gTol)
OdGeNurbCurve2d & makeRational(double weight=1.0)
OdGeNurbCurve2d & makeClosed()