mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +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:
@@ -12,7 +12,7 @@
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
|
||||
#include <Adaptor3d_HSurface.hxx>
|
||||
#include <Adaptor3d_Surface.hxx>
|
||||
#include <ElSLib.hxx>
|
||||
#include <Geom_BezierSurface.hxx>
|
||||
#include <Geom_BSplineSurface.hxx>
|
||||
@@ -50,7 +50,7 @@ IntTools_TopolTool::IntTools_TopolTool()
|
||||
// function: Constructor
|
||||
// purpose:
|
||||
// =====================================================================================
|
||||
IntTools_TopolTool::IntTools_TopolTool(const Handle(Adaptor3d_HSurface)& theSurface)
|
||||
IntTools_TopolTool::IntTools_TopolTool(const Handle(Adaptor3d_Surface)& theSurface)
|
||||
{
|
||||
Initialize(theSurface);
|
||||
myNbSmplU = 0;
|
||||
@@ -72,7 +72,7 @@ void IntTools_TopolTool::Initialize()
|
||||
// function: Initialize
|
||||
// purpose:
|
||||
// =====================================================================================
|
||||
void IntTools_TopolTool::Initialize(const Handle(Adaptor3d_HSurface)& theSurface)
|
||||
void IntTools_TopolTool::Initialize(const Handle(Adaptor3d_Surface)& theSurface)
|
||||
{
|
||||
Adaptor3d_TopolTool::Initialize(theSurface);
|
||||
//myS = theSurface;
|
||||
|
Reference in New Issue
Block a user