1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0024662: Removing unused "generic" classes. Part 3

In scope of this issue next unused generic class will be removed:

- IntImp_CSCurveTool
- IntImp_CSFunction
- IntImp_CurveTool
- IntImp_ISurfaceTool
- IntImp_PSurfaceTool
- IntStart_ArcTool
- IntStart_PSurfaceTool
- IntStart_SIFunction
- IntStart_SITool
- IntStart_SOBFunction
- IntStart_SOBTool
- IntStart_TopolTool
- IntWalk_IWFunction
- IntWalk_Iterator
- IntWalk_LoopPointTool
- IntWalk_PSurfaceTool
- IntWalk_PathPointTool
- Intf_ToolPolyhedron
- LProp_CurveTool
- LProp_SurfaceTool
- LibCtl_ProtocolTemplate
- MAT_Tool
- Primitives_Builder
- Sweep_Builder
- Sweep_Iterator
- Sweep_Tool
- TopClass_FaceExplorer
- TopClass_Intersection2d
- HatchGen_Intersector
- IFSelect_SelectList
- IntCurveSurface_CurveTool
- IntImp_COnSCurveTool
- IntImpParGen_ParTool
This commit is contained in:
dln
2014-02-19 11:29:13 +04:00
committed by abv
parent 8e3ebc7a63
commit 93cb31a607
103 changed files with 41 additions and 3627 deletions

View File

@@ -25,23 +25,11 @@ is
enumeration ConstIsoparametric is
UIsoparametricOnCaro1, VIsoparametricOnCaro1,
UIsoparametricOnCaro2, VIsoparametricOnCaro2;
deferred generic class PSurfaceTool;
deferred generic class ISurfaceTool;
deferred generic class CurveTool;
deferred generic class CSCurveTool;
deferred generic class COnSCurveTool;
generic class ZerImpFunc; -- inherits FunctionSetWithDerivatives
generic class ZerParFunc; -- inherits FunctionSetWithDerivatives
deferred generic class CSFunction; -- inherits FunctionSetWithDerivatives
generic class ZerCSParFunc; -- inherits FunctionSetWithDerivatives
generic class ZerCOnSSParFunc; -- inherits FunctionSetWithDerivatives

View File

@@ -1,45 +0,0 @@
-- Created on: 1994-02-14
-- Created by: Jacques GOUSSARD
-- Copyright (c) 1994-1999 Matra Datavision
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
--
-- This file is part of Open CASCADE Technology software library.
--
-- This library is free software; you can redistribute it and/or modify it under
-- the terms of the GNU Lesser General Public License version 2.1 as published
-- by the Free Software Foundation, with special exception defined in the file
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-- distribution for complete text of the license and disclaimer of any warranty.
--
-- Alternatively, this file may be used under the terms of Open CASCADE
-- commercial license or contractual agreement.
deferred generic class COnSCurveTool from IntImp (Curve as any)
---Purpose: Template class for the methods on a curve on surface.
-- It is possible to implement this class with
-- an instantiation of the Curve2dTool from Adaptor3d.
uses Pnt2d from gp,
Vec2d from gp
is
FirstParameter(myclass;C : Curve ) returns Real;
LastParameter(myclass;C : Curve ) returns Real;
Value (myclass; C : Curve; U : Real) returns Pnt2d from gp;
D1(myclass; C : Curve ; U : Real;
P : out Pnt2d from gp; V : out Vec2d from gp);
Resolution(myclass; C : Curve; Tol3d: Real from Standard)
---Purpose : Returns the parametric resolution corresponding
-- to the space resolution Tol3d.
returns Real from Standard;
end COnSCurveTool;

View File

@@ -1,13 +0,0 @@
// Copyright (c) 1995-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.

View File

@@ -1,45 +0,0 @@
-- Created on: 1994-02-14
-- Created by: Jacques GOUSSARD
-- Copyright (c) 1994-1999 Matra Datavision
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
--
-- This file is part of Open CASCADE Technology software library.
--
-- This library is free software; you can redistribute it and/or modify it under
-- the terms of the GNU Lesser General Public License version 2.1 as published
-- by the Free Software Foundation, with special exception defined in the file
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-- distribution for complete text of the license and disclaimer of any warranty.
--
-- Alternatively, this file may be used under the terms of Open CASCADE
-- commercial license or contractual agreement.
deferred generic class CSCurveTool from IntImp (Curve as any)
---Purpose: Template class for the methods on a curve.
-- It is possible to implement this class with
-- an instantiation of the CurveTool from Adaptor3d.
uses Pnt from gp,
Vec from gp
is
FirstParameter(myclass;C : Curve ) returns Real;
LastParameter(myclass;C : Curve ) returns Real;
Value (myclass; C : Curve; U : Real) returns Pnt from gp;
D1(myclass; C : Curve ; U : Real;
P : out Pnt from gp; V : out Vec from gp);
Resolution(myclass; C : Curve; Tol3d: Real from Standard)
---Purpose : Returns the parametric resolution corresponding
-- to the space resolution Tol3d.
returns Real from Standard;
end CSCurveTool;

View File

@@ -1,13 +0,0 @@
// Copyright (c) 1995-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.

View File

@@ -1,82 +0,0 @@
-- Created on: 1994-02-14
-- Created by: Jacques GOUSSARD
-- Copyright (c) 1994-1999 Matra Datavision
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
--
-- This file is part of Open CASCADE Technology software library.
--
-- This library is free software; you can redistribute it and/or modify it under
-- the terms of the GNU Lesser General Public License version 2.1 as published
-- by the Free Software Foundation, with special exception defined in the file
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-- distribution for complete text of the license and disclaimer of any warranty.
--
-- Alternatively, this file may be used under the terms of Open CASCADE
-- commercial license or contractual agreement.
deferred generic class CSFunction from IntImp
(ThePSurface as any;
TheCurve as any
)
inherits FunctionSetWithDerivatives from math
---Purpose: This class is the template function for the intersection
-- between a curve and a surface.
-- It is possible to implement such a function with an
-- instantiation of :
-- - ZerCSParFunc for the intersection between a 3d curve
-- and a surface.
-- - ZerCOnSSParFunc for the intersection between a curve
-- on surface and another surface.
uses Vector from math,
Matrix from math,
Pnt from gp
is
NbVariables(me) returns Integer from Standard
---Purpose: Returns 3.
is static;
NbEquations(me) returns Integer from Standard
---Purpose: Returns 3.
is static;
Value(me : in out; X : in Vector from math;
F : out Vector from math)
returns Boolean from Standard
is static;
Derivatives(me : in out;X : in Vector from math;
D : out Matrix from math)
returns Boolean from Standard
is static;
Values(me : in out;
X : in Vector from math;
F : out Vector from math; D: out Matrix from math)
returns Boolean from Standard
is static;
Point(me)
---C++: return const&
returns Pnt from gp
is static;
Root(me) returns Real from Standard
is static;
AuxillarSurface(me)
---C++: return const&
returns ThePSurface
is static;
AuxillarCurve(me)
---C++: return const&
returns TheCurve
is static;
end CSFunction;

View File

@@ -1,13 +0,0 @@
// Copyright (c) 1995-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.

View File

@@ -1,40 +0,0 @@
-- Created on: 1993-01-26
-- Created by: Isabelle GRIGNON
-- Copyright (c) 1993-1999 Matra Datavision
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
--
-- This file is part of Open CASCADE Technology software library.
--
-- This library is free software; you can redistribute it and/or modify it under
-- the terms of the GNU Lesser General Public License version 2.1 as published
-- by the Free Software Foundation, with special exception defined in the file
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-- distribution for complete text of the license and disclaimer of any warranty.
--
-- Alternatively, this file may be used under the terms of Open CASCADE
-- commercial license or contractual agreement.
deferred generic class CurveTool from IntImp (Curve as any)
---Purpose: Template class for the methods on a curve.
-- It is possible to implement this class with
-- an instantiation of the CurveTool from Adaptor3d.
uses Pnt from gp,
Vec from gp
is
FirstParameter(myclass;C : Curve ) returns Real;
LastParameter(myclass;C : Curve ) returns Real;
Resolution(myclass; C : Curve; Tol3d: Real from Standard)
---Purpose : Returns the parametric resolution corresponding
-- to the space resolution Tol3d.
returns Real from Standard;
end CurveTool;

View File

@@ -1,13 +0,0 @@
// Copyright (c) 1995-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.

View File

@@ -1,58 +0,0 @@
-- Created on: 1992-03-06
-- Created by: Isabelle GRIGNON
-- Copyright (c) 1992-1999 Matra Datavision
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
--
-- This file is part of Open CASCADE Technology software library.
--
-- This library is free software; you can redistribute it and/or modify it under
-- the terms of the GNU Lesser General Public License version 2.1 as published
-- by the Free Software Foundation, with special exception defined in the file
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-- distribution for complete text of the license and disclaimer of any warranty.
--
-- Alternatively, this file may be used under the terms of Open CASCADE
-- commercial license or contractual agreement.
deferred generic class ISurfaceTool from IntImp
( ImplicitSurface as any)
---Purpose: Template class for a tool on an
-- implicit surface.
uses Vec from gp
is
Value(myclass; Is: ImplicitSurface;
X, Y, Z: Real from Standard)
---Purpose: Returns the value of the function.
returns Real from Standard;
Gradient(myclass; Is: ImplicitSurface;
X, Y, Z: Real from Standard ; V: out Vec from gp);
---Purpose: Returns the gradient of the function.
ValueAndGradient(myclass; Is: ImplicitSurface;
X, Y, Z: Real from Standard;
Val: out Real from Standard; Grad: out Vec from gp);
---Purpose: Returns the value and the gradient.
Tolerance(myclass; Is: ImplicitSurface )
---Purpose: returns the tolerance of the zero of the implicit function
returns Real from Standard;
end ISurfaceTool;

View File

@@ -1,13 +0,0 @@
// Copyright (c) 1995-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.

View File

@@ -16,7 +16,7 @@
generic class Int2S from IntImp
(ThePSurface as any;
ThePSurfaceTool as any) -- as PSurfaceTool from IntImp (ThePSurface)
ThePSurfaceTool as any)
---Purpose: Determination of the intersection between 2 surfaces

View File

@@ -16,11 +16,10 @@
generic class IntCS from IntImp
(ThePSurface as any;
ThePSurfaceTool as any; --as PSurfaceTool from IntImp(ThePSurface)
ThePSurfaceTool as any;
TheCurve as any;
TheCurveTool as any; --as CurveTool from IntImp(TheCurve)
TheFunction as any --as CSFunction from IntImp
)
TheCurveTool as any;
TheFunction as any)
---Purpose: intersection between a curve and a surface with a close
-- point

View File

@@ -1,88 +0,0 @@
-- Created on: 1992-03-06
-- Created by: Isabelle GRIGNON
-- Copyright (c) 1992-1999 Matra Datavision
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
--
-- This file is part of Open CASCADE Technology software library.
--
-- This library is free software; you can redistribute it and/or modify it under
-- the terms of the GNU Lesser General Public License version 2.1 as published
-- by the Free Software Foundation, with special exception defined in the file
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-- distribution for complete text of the license and disclaimer of any warranty.
--
-- Alternatively, this file may be used under the terms of Open CASCADE
-- commercial license or contractual agreement.
deferred generic class PSurfaceTool from IntImp
(Surface as any)
---Purpose: Template class for a tool on a bi-parametrised surface.
-- It is possible to implement this tool with an
-- instantiation of the SurfaceTool from Adaptor3d.
uses Pnt from gp,
Vec from gp
is
UIntervalFirst(myclass ; S: Surface)
---Purpose: Returns the first U parameter of the surface.
returns Real from Standard;
VIntervalFirst(myclass ; S: Surface)
---Purpose: Returns the first V parameter of the surface.
returns Real from Standard;
UIntervalLast(myclass ; S: Surface)
---Purpose: Returns the last U parameter of the surface.
returns Real from Standard;
VIntervalLast(myclass ; S: Surface)
---Purpose: Returns the last V parameter of the surface.
returns Real from Standard;
Value (myclass ; S: Surface; U,V : Real from Standard)
---Purpose: Returns the point of parameter (U,V) on the surface.
returns Pnt from gp;
D1(myclass; S: Surface; U,V: Real from Standard;
P: out Pnt from gp; D1U,D1V: out Vec from gp);
---Purpose: Returns the point of parameter (U,V) on the surface,
-- and the first derivatives in the directions u and v.
UResolution(myclass; S : Surface; Tol3d: Real from Standard)
---Purpose: Returns the numerical resolution in the U direction,
-- for a given resolution in 3d space.
returns Real from Standard;
VResolution(myclass; S : Surface; Tol3d: Real from Standard)
---Purpose: Returns the numerical resolution in the V direction,
-- for a given resolution in 3d space.
returns Real from Standard;
end PSurfaceTool;

View File

@@ -1,13 +0,0 @@
// Copyright (c) 1995-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.

View File

@@ -16,9 +16,9 @@
generic class ZerCOnSSParFunc from IntImp
(ThePSurface as any;
ThePSurfaceTool as any; --as PSurfaceTool from IntImp(ThePSurface)
ThePSurfaceTool as any;
TheCurveOnSurf as any;
TheCurveTool as any --as COnSCurveTool from IntImp(TheCurve)
TheCurveTool as any
)
inherits FunctionSetWithDerivatives from math

View File

@@ -16,10 +16,9 @@
generic class ZerCSParFunc from IntImp
(ThePSurface as any;
ThePSurfaceTool as any; --as PSurfaceTool from IntImp(ThePSurface)
ThePSurfaceTool as any;
TheCurve as any;
TheCurveTool as any --as CSCurveTool from IntImp(TheCurve)
)
TheCurveTool as any)
inherits FunctionSetWithDerivatives from math

View File

@@ -16,9 +16,9 @@
generic class ZerImpFunc from IntImp
(ThePSurface as any;
ThePSurfaceTool as any; -- as PSurfaceTool from IntImp(ThePSurface)
ThePSurfaceTool as any;
TheISurface as any;
TheISurfaceTool as any) -- as ISurfaceTool from IntImp(TheISurface)
TheISurfaceTool as any)
inherits FunctionSetWithDerivatives from math

View File

@@ -16,7 +16,7 @@
generic class ZerParFunc from IntImp
(ThePSurface as any;
ThePSurfaceTool as any) -- as PSurfaceTool from IntImp (ThePSurface)
ThePSurfaceTool as any)
inherits FunctionSetWithDerivatives from math