CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
25 #ifndef _DbNurbSurface_h_Included_
26 #define _DbNurbSurface_h_Included_
83 OdResult get (
int& iUDegree,
int& iVDegree,
bool& bRational,
int& iUNumControlPoints,
int& iVNumControlPoints,
121 OdResult set (
int iUDegree,
int iVDegree,
bool bRational,
int iUNumControlPoints,
int iVNumControlPoints,
646 OdResult rebuild(
int iUDegree,
int iVDegree,
int iNumUCtrlPts,
int iNumVCtrlPts,
bool bRestore =
false);
715 #endif //_DbNurbSurface_h_Included_
OdResult getVKnots(OdGeKnotVector &knots) const
OdResult getNumberOfControlPointsInV(int &iCount) const
OdResult getControlPointAt(int iUIndex, int iVIndex, OdGePoint3d &point) const
OdResult isPointOnSurface(const OdGePoint3d &point, bool &bOnSurface) const
OdResult getNumberOfKnotsInV(int &iCount) const
OdResult getDegreeInV(int &iDegree) const
OdResult getDegreeInU(int &iDegree) const
OdResult isPeriodicInU(bool &bIsPeriodic) const
OdResult getNumberOfControlPointsInU(int &iCount) const
OdResult RemoveControlPointsAtU(int iUDegree)
OdResult InsertKnotAtU(double dU)
OdResult rebuild(int iUDegree, int iVDegree, int iNumUCtrlPts, int iNumVCtrlPts, bool bRestore=false)
OdResult setControlPoints(int iUCount, int iVCount, const OdGePoint3dArray &points)
OdSmartPtr< OdDbNurbSurface > OdDbNurbSurfacePtr
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdResult getControlPoints(int &iUCount, int &iVCount, OdGePoint3dArray &points) const
OdResult evaluate(double dU, double dV, OdGePoint3d &pos, OdGeVector3d &uDeriv, OdGeVector3d &vDeriv) const
OdResult getIsolineAtV(double dV, OdDbCurvePtrArray &lineSegments) const
OdResult evaluate(double dU, double dV, OdGePoint3d &pos) const
OdResult setWeight(int iUIndex, int iVIndex, double weight)
OdResult getNumberOfSpansInU(int &span) const
OdResult InsertControlPointsAtV(double dV, const OdGePoint3dArray &uCtrlPts, const OdGeDoubleArray &uWeights)
OdArray< OdDbCurvePtr > OdDbCurvePtrArray
OdResult isPeriodicInV(bool &bIsPeriodic) const
OdResult isPlanar(bool &bIsPlanar, OdGePoint3d &ptOnSurface, OdGeVector3d &normal) const
OdResult set(int iUDegree, int iVDegree, bool bRational, int iUNumControlPoints, int iVNumControlPoints, const OdGePoint3dArray &ctrlPtsArr, const OdGeDoubleArray &weights, const OdGeKnotVector &uKnots, const OdGeKnotVector &vKnots)
OdResult isRational(bool &bIsRational) const
OdResult getNormal(double dU, double dV, OdGeVector3d &normal) const
OdResult getUKnots(OdGeKnotVector &knots) const
OdResult getPeriodInU(double &dPeriod) const
OdResult get(int &iUDegree, int &iVDegree, bool &bRational, int &iUNumControlPoints, int &iVNumControlPoints, OdGePoint3dArray &ctrlPtsArr, OdGeDoubleArray &weights, OdGeKnotVector &uKnots, OdGeKnotVector &vKnots) const
OdResult getNumberOfKnotsInU(int &iCount) const
OdResult getIsolineAtU(double dU, OdDbCurvePtrArray &lineSegments) const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
static OdResult createNurbSurface(const OdGeNurbSurface &surface, const OdArray< OdArray< OdGeNurbCurve3d * > > &arrLoopsPtr, const OdArray< OdGePoint3d > *arrApex, const OdArray< OdArray< OdGeNurbCurve2d * > > &arrLoopsProjPtr, OdDbNurbSurface &NURBS, bool bVaidateInput=true)
OdResult convertFrom(OdDbSurface *pSource, OdDb::DwgVersion version, bool transferId=true)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdResult getNumberOfSpansInV(int &span) const
OdResult evaluate(double dU, double dV, OdGePoint3d &pos, OdGeVector3d &uDeriv, OdGeVector3d &vDeriv, OdGeVector3d &uuDeriv, OdGeVector3d &uvDeriv, OdGeVector3d &vvDeriv) const
OdResult isClosedInV(bool &bIsClosed) const
ODDB_DECLARE_MEMBERS(OdDbNurbSurface)
OdResult getPeriodInV(double &dPeriod) const
OdResult InsertKnotAtV(double dV)
OdResult isClosedInU(bool &bIsClosed) const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdResult setControlPointAt(int iUIndex, int iVIndex, const OdGePoint3d &point)
OdResult InsertControlPointsAtU(double dU, const OdGePoint3dArray &vCtrlPts, const OdGeDoubleArray &vWeights)
OdResult modifyPositionAndTangent(double dU, double dV, const OdGePoint3d &point, const OdGeVector3d *uDeriv=NULL, const OdGeVector3d *vDeriv=NULL)
OdResult getWeight(int iUIndex, int iVIndex, double &weight) const
OdResult getParameterOfPoint(const OdGePoint3d &point, double &dU, double &dV) const
OdResult evaluate(double dU, double dV, int iDerivDegree, OdGePoint3d &point, OdGeVector3dArray &derivatives) const
OdResult RemoveControlPointsAtV(int iVDegree)