0028316: Coding Rules - Elimilate confusing aliases of Standard_Real type in V3d_View
[occt.git] / src / StdPrs / StdPrs_DeflectionCurve.hxx
index a793c00..8cd4bb3 100644 (file)
@@ -26,7 +26,7 @@
 #include <Standard_Boolean.hxx>
 #include <Standard_Real.hxx>
 #include <TColgp_SequenceOfPnt.hxx>
-#include <Quantity_Length.hxx>
+
 class Prs3d_Presentation;
 class Adaptor3d_Curve;
 
@@ -90,25 +90,25 @@ public:
   //! returns true if the distance between the point (X,Y,Z) and the
   //! drawing of the curve aCurve with respect of the maximal
   //! chordial deviation defined by the drawer aDrawer is less then aDistance.
-  Standard_EXPORT static Standard_Boolean Match (const Quantity_Length X, const Quantity_Length Y, const Quantity_Length Z, const Quantity_Length aDistance, const Adaptor3d_Curve& aCurve, const Handle(Prs3d_Drawer)& aDrawer);
+  Standard_EXPORT static Standard_Boolean Match (const Standard_Real X, const Standard_Real Y, const Standard_Real Z, const Standard_Real aDistance, const Adaptor3d_Curve& aCurve, const Handle(Prs3d_Drawer)& aDrawer);
   
   //! returns true if the distance between the point (X,Y,Z) and the
   //! drawing of the curve aCurve with respect of the maximal
   //! chordial deviation defined by the drawer aDrawer is less
   //! then aDistance. The drawing is considered between the points
   //! of parameter U1 and U2;
-  Standard_EXPORT static Standard_Boolean Match (const Quantity_Length X, const Quantity_Length Y, const Quantity_Length Z, const Quantity_Length aDistance, const Adaptor3d_Curve& aCurve, const Standard_Real U1, const Standard_Real U2, const Handle(Prs3d_Drawer)& aDrawer);
+  Standard_EXPORT static Standard_Boolean Match (const Standard_Real X, const Standard_Real Y, const Standard_Real Z, const Standard_Real aDistance, const Adaptor3d_Curve& aCurve, const Standard_Real U1, const Standard_Real U2, const Handle(Prs3d_Drawer)& aDrawer);
 
   //! Returns true if the distance between the point (theX, theY, theZ)
   //! and the drawing with respect of the maximal chordial deviation theDeflection is less then theDistance.
-  Standard_EXPORT static Standard_Boolean Match (const Quantity_Length theX, const Quantity_Length theY, const Quantity_Length theZ, const Quantity_Length theDistance,
+  Standard_EXPORT static Standard_Boolean Match (const Standard_Real theX, const Standard_Real theY, const Standard_Real theZ, const Standard_Real theDistance,
                                                  const Adaptor3d_Curve& theCurve,
                                                  const Standard_Real theDeflection, const Standard_Real theLimit, const Standard_Real theAngle);
 
   //! Returns true if the distance between the point (theX, theY, theZ)
   //! and the drawing with respect of the maximal chordial deviation theDeflection is less then theDistance.
   //! The drawing is considered between the points of parameter theU1 and theU2.
-  Standard_EXPORT static Standard_Boolean Match (const Quantity_Length theX, const Quantity_Length theY, const Quantity_Length theZ, const Quantity_Length theDistance,
+  Standard_EXPORT static Standard_Boolean Match (const Standard_Real theX, const Standard_Real theY, const Standard_Real theZ, const Standard_Real theDistance,
                                                  const Adaptor3d_Curve& theCurve, const Standard_Real theU1, const Standard_Real theU2,
                                                  const Standard_Real theDeflection, const Standard_Real theAngle);