mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +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,32 +17,23 @@
|
||||
#ifndef _IntCurvesFace_Intersector_HeaderFile
|
||||
#define _IntCurvesFace_Intersector_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Real.hxx>
|
||||
#include <Adaptor3d_Curve.hxx>
|
||||
#include <BRepAdaptor_Surface.hxx>
|
||||
#include <IntCurveSurface_SequenceOfPnt.hxx>
|
||||
#include <TColStd_SequenceOfInteger.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <TopoDS_Face.hxx>
|
||||
#include <Standard_Address.hxx>
|
||||
#include <GeomAbs_SurfaceType.hxx>
|
||||
#include <IntCurveSurface_TransitionOnCurve.hxx>
|
||||
#include <TopAbs_State.hxx>
|
||||
|
||||
class BRepTopAdaptor_TopolTool;
|
||||
class BRepAdaptor_HSurface;
|
||||
class TopoDS_Face;
|
||||
class gp_Lin;
|
||||
class Adaptor3d_HCurve;
|
||||
class gp_Pnt;
|
||||
class IntCurveSurface_HInter;
|
||||
class gp_Pnt2d;
|
||||
class Bnd_Box;
|
||||
|
||||
|
||||
|
||||
class IntCurvesFace_Intersector
|
||||
{
|
||||
public:
|
||||
@@ -78,7 +69,7 @@ public:
|
||||
|
||||
//! same method for a HCurve from Adaptor3d.
|
||||
//! PInf an PSup can also be - and + INF.
|
||||
Standard_EXPORT void Perform (const Handle(Adaptor3d_HCurve)& HCu, const Standard_Real PInf, const Standard_Real PSup);
|
||||
Standard_EXPORT void Perform (const Handle(Adaptor3d_Curve)& HCu, const Standard_Real PInf, const Standard_Real PSup);
|
||||
|
||||
//! Return the surface type
|
||||
Standard_EXPORT GeomAbs_SurfaceType SurfaceType() const;
|
||||
@@ -155,7 +146,7 @@ private:
|
||||
|
||||
|
||||
Handle(BRepTopAdaptor_TopolTool) myTopolTool;
|
||||
Handle(BRepAdaptor_HSurface) Hsurface;
|
||||
Handle(BRepAdaptor_Surface) Hsurface;
|
||||
Standard_Real Tol;
|
||||
IntCurveSurface_SequenceOfPnt SeqPnt;
|
||||
TColStd_SequenceOfInteger mySeqState;
|
||||
|
Reference in New Issue
Block a user