CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
27 #ifndef ODDB_DBSPLINE_H
28 #define ODDB_DBSPLINE_H
79 int controlPointIndex,
89 int controlPointIndex,
159 double fitTolerance);
197 double& fitTolerance,
216 double& fitTolerance,
284 double& controlPtTol,
285 double& knotTol)
const;
306 double& controlPtTol)
const;
366 double controlPtTol);
373 int weightIndex)
const;
447 double& param)
const;
450 double& startParam)
const;
453 double& endParam)
const;
500 bool& exchangeXData);
625 double& param)
const = 0;
629 double& area)
const = 0;
virtual OdResult getStartParam(double &startParam) const
void setControlPointAt(int controlPointIndex, const OdGePoint3d &point)
OdResult getFitPointAt(int fitPointIndex, OdGePoint3d &point) const
virtual OdResult getFirstDeriv(double param, OdGeVector3d &firstDeriv) const =0
virtual OdResult subGetGeomExtents(OdGeExtents3d &extents) const
void setCvFrame(bool bVisible)
void setFitTangents(const OdGeVector3d &startTangent, const OdGeVector3d &endTangent)
virtual OdResult getSecondDeriv(double param, OdGeVector3d &secondDeriv) const
virtual OdResult subExplode(OdRxObjectPtrArray &entitySet) const
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm)
virtual OdResult getEndParam(double &endParam) const
GLuint GLsizei GLsizei GLint GLenum * type
void setFitData(const OdGePoint3dArray &fitPoints, int degree, double fitTolerance, const OdGeVector3d &startTangent, const OdGeVector3d &endTangent)
OdResult removeControlPointAt(int index)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual OdResult setFromOdGeCurve(const OdGeCurve3d &geCurve, OdGeVector3d *normal=NULL, const OdGeTol &tol=OdGeContext::gTol)
virtual OdResult getArea(const OdDbCurve *pCurve, double &area) const =0
virtual OdResult getSecondDeriv(double param, OdGeVector3d &secondDeriv) const
void setFitPointAt(int fitPointIndex, const OdGePoint3d &point)
void setFitData(const OdGePoint3dArray &fitPoints, int degree, double fitTolerance, const OdGeVector3d &startTangent, const OdGeVector3d &endTangent, OdGe::OdGeKnotParameterization knotParam)
bool modifyPositionAndTangent(double param, const OdGePoint3d &point, const OdGeVector3d *deriv)
ODDB_DECLARE_MEMBERS(OdDbSpline)
virtual OdResult getParamAtPoint(const OdGePoint3d &pointOnCurve, double ¶m) const
int numControlPoints() const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdResult getFitData(OdGePoint3dArray &fitPoints, int °ree, double &fitTolerance, bool &tangentsExist, OdGeVector3d &startTangent, OdGeVector3d &endTangent, OdGe::OdGeKnotParameterization &knotParam) const
void elevateDegree(int newDegree)
void removeFitPointAt(int fitPointIndex)
virtual OdResult getOdGeCurve(OdGeCurve3d *&pGeCurve, const OdGeTol &tol=OdGeContext::gTol) const
TD_USING(OdDbCurve::getFirstDeriv)
virtual OdResult getArea(double &area) const
void setNurbsData(int degree, bool rational, bool closed, bool periodic, const OdGePoint3dArray &controlPoints, const OdGeKnotVector &knots, const OdGeDoubleArray &weights, double controlPtTol)
void getNurbsData(int °ree, bool &rational, bool &closed, bool &periodic, OdGePoint3dArray &controlPoints, OdGeDoubleArray &knots, OdGeDoubleArray &weights, double &controlPtTol, double &knotTol) const
TD_USING(OdDbCurve::getSplitCurves)
virtual OdResult getPlane(OdGePlane &plane, OdDb::Planarity &planarity) const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdResult insertControlPointAt(double knotParam, const OdGePoint3d &ctrlPt, double weight=1.0)
virtual OdResult getParamAtPoint(const OdDbCurve *pCurve, const OdGePoint3d &pointOnCurve, double ¶m) const =0
OdResult getFitData(OdGePoint3dArray &fitPoints, int °ree, double &fitTolerance, bool &tangentsExist, OdGeVector3d &startTangent, OdGeVector3d &endTangent) const
void setNurbsData(int degree, bool rational, bool closed, bool periodic, const OdGePoint3dArray &controlPoints, const OdGeDoubleArray &knots, const OdGeDoubleArray &weights, double controlPtTol, double knotTol)
virtual OdResult getFirstDeriv(double param, OdGeVector3d &firstDeriv) const
OdSmartPtr< OdDbSplinePE > OdDbSplinePEPtr
OdSmartPtr< OdDbSpline > OdDbSplinePtr
void insertFitPointAt(int fitPointIndex, const OdGePoint3d &point)
virtual OdResult getDistAtParam(double param, double &dist) const
virtual OdResult getEndPoint(OdGePoint3d &endPoint) const
virtual bool isPlanar() const
OdDbObjectPtr decomposeForSave(OdDb::DwgVersion ver, OdDbObjectId &replaceId, bool &exchangeXData)
OdResult setType(SplineType type)
void setFitTol(double fitTolerance)
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const
virtual OdResult getSplitCurves(const OdGeDoubleArray ¶ms, OdRxObjectPtrArray &entitySet) const
static GE_STATIC_EXPORT OdGeTol gTol
TD_USING(OdDbCurve::getSecondDeriv)
void setWeightAt(int weightIndex, double weight)
double fitTolerance() const
virtual OdResult subGetClassID(void *pClsid) const
void getNurbsData(int °ree, bool &rational, bool &closed, bool &periodic, OdGePoint3dArray &controlPoints, OdGeKnotVector &knots, OdGeDoubleArray &weights, double &controlPtTol) const
ODRX_DECLARE_MEMBERS(OdDbSplinePE)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual OdResult getStartPoint(OdGePoint3d &startPoint) const
void insertKnot(double param)
virtual OdResult reverseCurve()
void getControlPointAt(int controlPointIndex, OdGePoint3d &point) const
OdResult getFitTangents(OdGeVector3d &startTangent, OdGeVector3d &endTangent) const
double weightAt(int weightIndex) const
virtual OdResult getSplitCurves(const OdGeDoubleArray ¶ms, OdRxObjectPtrArray &curveSegments) const
virtual OdResult getParamAtDist(double dist, double ¶m) const
virtual OdResult getPointAtParam(double param, OdGePoint3d &pointOnCurve) const