0024553: Deleting obsolete/unused ".gxx" files from "GCPnts"
[occt.git] / src / GCPnts / GCPnts_TangentialDeflection.hxx
index e95142d..0e66213 100644 (file)
 #ifndef _GCPnts_TangentialDeflection_HeaderFile
 #define _GCPnts_TangentialDeflection_HeaderFile
 
-#include <Standard.hxx>
-#include <Standard_DefineAlloc.hxx>
-#include <Standard_Handle.hxx>
-
-#include <Standard_Real.hxx>
-#include <Standard_Integer.hxx>
 #include <TColgp_SequenceOfPnt.hxx>
 #include <TColStd_SequenceOfReal.hxx>
-#include <Standard_Boolean.hxx>
 #include <gp_Pnt.hxx>
 #include <gp_Lin.hxx>
 #include <math_Function.hxx>
 #include <math_MultipleVarFunction.hxx>
 #include <Adaptor3d_Curve.hxx>
 #include <Adaptor2d_Curve2d.hxx>
+
 class Standard_ConstructionError;
 class Standard_OutOfRange;
 
@@ -102,26 +96,25 @@ public:
   //! or founded with parametric tolerance (replaced if theIsReplace is true)
   Standard_EXPORT Standard_Integer AddPoint (const gp_Pnt& thePnt, const Standard_Real theParam, const Standard_Boolean theIsReplace = Standard_True);
   
-    Standard_Integer NbPoints() const;
+  Standard_Integer NbPoints () const
+  {
+    return parameters.Length ();
+  }
   
-    Standard_Real Parameter (const Standard_Integer I) const;
+  Standard_Real Parameter (const Standard_Integer I) const
+  {
+    return parameters.Value (I);
+  }
   
-    gp_Pnt Value (const Standard_Integer I) const;
+  gp_Pnt Value (const Standard_Integer I) const
+  {
+    return points.Value (I);
+  }
   
   //! Computes angular step for the arc using the given parameters.
   Standard_EXPORT static Standard_Real ArcAngularStep (const Standard_Real theRadius, const Standard_Real theLinearDeflection, const Standard_Real theAngularDeflection, const Standard_Real theMinLength);
 
-
-
-
-protected:
-
-
-
-
-
 private:
-
   
   Standard_EXPORT void PerformLinear (const Adaptor3d_Curve& C);
   
@@ -145,6 +138,7 @@ private:
   Standard_EXPORT void EstimDefl (const Adaptor2d_Curve2d& C, const Standard_Real U1, const Standard_Real U2, 
                                   Standard_Real& MaxDefl, Standard_Real& UMax);
 
+private:
   Standard_Real angularDeflection;
   Standard_Real curvatureDeflection;
   Standard_Real uTol;
@@ -154,15 +148,6 @@ private:
   Standard_Real firstu;
   TColgp_SequenceOfPnt points;
   TColStd_SequenceOfReal parameters;
-
-
 };
 
-
-#include <GCPnts_TangentialDeflection.lxx>
-
-
-
-
-
 #endif // _GCPnts_TangentialDeflection_HeaderFile