// 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_ShapeDivideContinuity_HeaderFile #define _ShapeUpgrade_ShapeDivideContinuity_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _GeomAbs_Shape_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _ShapeUpgrade_ShapeDivide_HeaderFile #include #endif #ifndef _Handle_ShapeUpgrade_FaceDivide_HeaderFile #include #endif class TopoDS_Shape; class ShapeUpgrade_FaceDivide; class ShapeUpgrade_ShapeDivideContinuity : public ShapeUpgrade_ShapeDivide { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } Standard_EXPORT ShapeUpgrade_ShapeDivideContinuity(); //! Initialize by a Shape.
Standard_EXPORT ShapeUpgrade_ShapeDivideContinuity(const TopoDS_Shape& S); //! Sets tolerance.
Standard_EXPORT void SetTolerance(const Standard_Real Tol) ; //! Sets tolerance.
Standard_EXPORT void SetTolerance2d(const Standard_Real Tol) ; //! Defines a criterion of continuity for the boundary (all the
//! Wires)
//!
//! The possible values are C0, G1, C1, G2, C2, C3, CN The
//! default is C1 to respect the Cas.Cade Shape Validity. G1
//! and G2 are not authorized.
Standard_EXPORT void SetBoundaryCriterion(const GeomAbs_Shape Criterion = GeomAbs_C1) ; //! Defines a criterion of continuity for the boundary (all the
//! pcurves of Wires)
//!
//! The possible values are C0, G1, C1, G2, C2, C3, CN The
//! default is C1 to respect the Cas.Cade Shape Validity. G1
//! and G2 are not authorized.
Standard_EXPORT void SetPCurveCriterion(const GeomAbs_Shape Criterion = GeomAbs_C1) ; //! Defines a criterion of continuity for the boundary (all the
//! Wires)
//!
//! The possible values are C0, G1, C1, G2, C2, C3, CN The
//! default is C1 to respect the Cas.Cade Shape Validity. G1
//! and G2 are not authorized.
Standard_EXPORT void SetSurfaceCriterion(const GeomAbs_Shape Criterion = GeomAbs_C1) ; protected: //! Returns the tool for dividing faces.
Standard_EXPORT virtual Handle_ShapeUpgrade_FaceDivide GetSplitFaceTool() const; private: GeomAbs_Shape myCurve3dCriterion; GeomAbs_Shape myCurve2dCriterion; GeomAbs_Shape mySurfaceCriterion; Standard_Real myTolerance3d; Standard_Real myTolerance2d; }; // other Inline functions and methods (like "C++: function call" methods) #endif