mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-24 13:50:49 +03:00
0028966: Coding Rules - remove Adaptor2d_HCurve2d, Adaptor3d_HCurve and Adaptor3d_HSurface classes
Adaptor2d_Curve2d, Adaptor3d_Curve and Adaptor3d_Surface now inherit Standard_Transient. Interfaces Adaptor2d_HCurve2d, Adaptor3d_HCurve, Adaptor3d_HSurface and their subclasses are now aliases to Adaptor2d_Curve2d, Adaptor3d_Curve and Adaptor3d_Surface. Removed numerous unsafe reinterpret casts. Generic classes Adaptor3d_GenHCurve, Adaptor3d_GenHSurface, Adaptor2d_GenHCurve2d have been removed. Several redundant .lxx files have been merged into .hxx. Removed obsolete adaptor classes with H suffix.
This commit is contained in:
@@ -17,11 +17,7 @@
|
||||
#ifndef _IntWalk_TheInt2S_HeaderFile
|
||||
#define _IntWalk_TheInt2S_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <Adaptor3d_Surface.hxx>
|
||||
#include <IntSurf_PntOn2S.hxx>
|
||||
#include <gp_Dir.hxx>
|
||||
#include <gp_Dir2d.hxx>
|
||||
@@ -29,19 +25,9 @@
|
||||
#include <Standard_Real.hxx>
|
||||
#include <TColStd_Array1OfReal.hxx>
|
||||
#include <IntImp_ConstIsoparametric.hxx>
|
||||
class StdFail_NotDone;
|
||||
class Standard_DomainError;
|
||||
class Standard_ConstructionError;
|
||||
class StdFail_UndefinedDerivative;
|
||||
class Adaptor3d_HSurface;
|
||||
|
||||
class Adaptor3d_HSurfaceTool;
|
||||
class IntWalk_TheFunctionOfTheInt2S;
|
||||
class math_FunctionSetRoot;
|
||||
class IntSurf_PntOn2S;
|
||||
class gp_Dir;
|
||||
class gp_Dir2d;
|
||||
|
||||
|
||||
|
||||
class IntWalk_TheInt2S
|
||||
{
|
||||
@@ -50,7 +36,7 @@ public:
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
//! compute the solution point with the close point
|
||||
Standard_EXPORT IntWalk_TheInt2S(const TColStd_Array1OfReal& Param, const Handle(Adaptor3d_HSurface)& S1, const Handle(Adaptor3d_HSurface)& S2, const Standard_Real TolTangency);
|
||||
Standard_EXPORT IntWalk_TheInt2S(const TColStd_Array1OfReal& Param, const Handle(Adaptor3d_Surface)& S1, const Handle(Adaptor3d_Surface)& S2, const Standard_Real TolTangency);
|
||||
|
||||
//! initialize the parameters to compute the solution point
|
||||
//! it 's possible to write to optimize:
|
||||
@@ -62,7 +48,7 @@ public:
|
||||
//! param(3)=...
|
||||
//! inter.Perform(Param,rsnld);
|
||||
//! }
|
||||
Standard_EXPORT IntWalk_TheInt2S(const Handle(Adaptor3d_HSurface)& S1, const Handle(Adaptor3d_HSurface)& S2, const Standard_Real TolTangency);
|
||||
Standard_EXPORT IntWalk_TheInt2S(const Handle(Adaptor3d_Surface)& S1, const Handle(Adaptor3d_Surface)& S2, const Standard_Real TolTangency);
|
||||
|
||||
//! returns the best constant isoparametric to find
|
||||
//! the next intersection's point +stores the solution
|
||||
@@ -148,8 +134,8 @@ private:
|
||||
|
||||
};
|
||||
|
||||
#define ThePSurface Handle(Adaptor3d_HSurface)
|
||||
#define ThePSurface_hxx <Adaptor3d_HSurface.hxx>
|
||||
#define ThePSurface Handle(Adaptor3d_Surface)
|
||||
#define ThePSurface_hxx <Adaptor3d_Surface.hxx>
|
||||
#define ThePSurfaceTool Adaptor3d_HSurfaceTool
|
||||
#define ThePSurfaceTool_hxx <Adaptor3d_HSurfaceTool.hxx>
|
||||
#define IntImp_TheFunction IntWalk_TheFunctionOfTheInt2S
|
||||
|
Reference in New Issue
Block a user