File indexing completed on 2025-01-18 10:04:10
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _IntTools_HeaderFile
0017 #define _IntTools_HeaderFile
0018
0019 #include <IntTools_CArray1OfReal.hxx>
0020 #include <IntTools_SequenceOfRoots.hxx>
0021
0022 class TopoDS_Edge;
0023 class gp_Pnt;
0024 class Geom_Curve;
0025 class BRepAdaptor_Curve;
0026
0027
0028 class IntTools
0029 {
0030 public:
0031
0032 DEFINE_STANDARD_ALLOC
0033
0034
0035 Standard_EXPORT static Standard_Real Length (const TopoDS_Edge& E);
0036
0037
0038
0039 Standard_EXPORT static void RemoveIdenticalRoots (IntTools_SequenceOfRoots& aSeq, const Standard_Real anEpsT);
0040
0041
0042 Standard_EXPORT static void SortRoots (IntTools_SequenceOfRoots& aSeq, const Standard_Real anEpsT);
0043
0044
0045 Standard_EXPORT static void FindRootStates (IntTools_SequenceOfRoots& aSeq, const Standard_Real anEpsNull);
0046
0047 Standard_EXPORT static Standard_Integer Parameter (const gp_Pnt& P, const Handle(Geom_Curve)& Curve, Standard_Real& aParm);
0048
0049 Standard_EXPORT static Standard_Integer GetRadius (const BRepAdaptor_Curve& C, const Standard_Real t1, const Standard_Real t3, Standard_Real& R);
0050
0051 Standard_EXPORT static Standard_Integer PrepareArgs (BRepAdaptor_Curve& C,
0052 const Standard_Real tMax, const Standard_Real tMin,
0053 const Standard_Integer Discret, const Standard_Real Deflect,
0054 TColStd_Array1OfReal& anArgs);
0055
0056 };
0057
0058 #endif