// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _ShapeUpgrade_SplitCurve2dContinuity_HeaderFile #define _ShapeUpgrade_SplitCurve2dContinuity_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_ShapeUpgrade_SplitCurve2dContinuity_HeaderFile #include #endif #ifndef _GeomAbs_Shape_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _ShapeUpgrade_SplitCurve2d_HeaderFile #include #endif //! Corrects/splits a 2d curve with a continuity criterion.
//! Tolerance is used to correct the curve at a knot that respects
//! geometrically the criterion, in order to reduce the
//! multiplicity of the knot.
class ShapeUpgrade_SplitCurve2dContinuity : public ShapeUpgrade_SplitCurve2d { public: //! Empty constructor.
Standard_EXPORT ShapeUpgrade_SplitCurve2dContinuity(); //! Sets criterion for splitting.
Standard_EXPORT void SetCriterion(const GeomAbs_Shape Criterion) ; //! Sets tolerance.
Standard_EXPORT void SetTolerance(const Standard_Real Tol) ; //! Calculates points for correction/splitting of the curve
Standard_EXPORT virtual void Compute() ; DEFINE_STANDARD_RTTI(ShapeUpgrade_SplitCurve2dContinuity) protected: private: GeomAbs_Shape myCriterion; Standard_Integer myCont; Standard_Real myTolerance; }; // other Inline functions and methods (like "C++: function call" methods) #endif