1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
|
// 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 _TopOpeBRepTool_GeomTool_HeaderFile
#define _TopOpeBRepTool_GeomTool_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>
#include <TopOpeBRepTool_OutCurveType.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_Real.hxx>
#include <Standard_Integer.hxx>
class TopOpeBRepTool_GeomTool
{
public:
DEFINE_STANDARD_ALLOC
//! Boolean flags <CompC3D>, <CompPC1>, <CompPC2>
//! indicate whether the corresponding result curves
//! <C3D>, <PC1>, <PC2> of MakeCurves method must or not
//! be computed from an intersection line <L>.
//! When the line <L> is a walking one, <TypeC3D> is the
//! kind of the 3D curve <C3D> to compute :
//! - BSPLINE1 to compute a BSpline of degree 1 on the
//! walking points of <L>,
//! - APPROX to build an approximation curve on the
//! walking points of <L>.
Standard_EXPORT TopOpeBRepTool_GeomTool(const TopOpeBRepTool_OutCurveType TypeC3D = TopOpeBRepTool_BSPLINE1, const Standard_Boolean CompC3D = Standard_True, const Standard_Boolean CompPC1 = Standard_True, const Standard_Boolean CompPC2 = Standard_True);
Standard_EXPORT void Define (const TopOpeBRepTool_OutCurveType TypeC3D, const Standard_Boolean CompC3D, const Standard_Boolean CompPC1, const Standard_Boolean CompPC2) ;
Standard_EXPORT void Define (const TopOpeBRepTool_OutCurveType TypeC3D) ;
Standard_EXPORT void DefineCurves (const Standard_Boolean CompC3D) ;
Standard_EXPORT void DefinePCurves1 (const Standard_Boolean CompPC1) ;
Standard_EXPORT void DefinePCurves2 (const Standard_Boolean CompPC2) ;
Standard_EXPORT void Define (const TopOpeBRepTool_GeomTool& GT) ;
Standard_EXPORT void GetTolerances (Standard_Real& tol3d, Standard_Real& tol2d) const;
Standard_EXPORT void SetTolerances (const Standard_Real tol3d, const Standard_Real tol2d) ;
Standard_EXPORT void GetTolerances (Standard_Real& tol3d, Standard_Real& tol2d, Standard_Boolean& relative) const;
Standard_EXPORT void SetTolerances (const Standard_Real tol3d, const Standard_Real tol2d, const Standard_Boolean relative) ;
Standard_EXPORT Standard_Integer NbPntMax() const;
Standard_EXPORT void SetNbPntMax (const Standard_Integer NbPntMax) ;
Standard_EXPORT TopOpeBRepTool_OutCurveType TypeC3D() const;
Standard_EXPORT Standard_Boolean CompC3D() const;
Standard_EXPORT Standard_Boolean CompPC1() const;
Standard_EXPORT Standard_Boolean CompPC2() const;
protected:
TopOpeBRepTool_OutCurveType myTypeC3D;
Standard_Boolean myCompC3D;
Standard_Boolean myCompPC1;
Standard_Boolean myCompPC2;
private:
Standard_Real myTol3d;
Standard_Real myTol2d;
Standard_Boolean myRelativeTol;
Standard_Integer myNbPntMax;
};
#endif // _TopOpeBRepTool_GeomTool_HeaderFile
|