mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0024660: Removing unused "generic" classes. Part 1
In scope of this issue next unused generic classes will be removed: 1) AppBlend_Line 2) AppBlend_SectionGenerator 3) AppCont_SurfLeastSquare 4) AppCont_TheLineTool 5) AppCont_TheSurfTool 6) AppParCurves_MLineToo 7) AppParCurves_Projection 8) ApproxInt_WLine 9) Approx_ComputeCSurface 10) Approx_TheLineTool 11) Blend_Iterator 12) Contap_ArcTool 13) Contap_SurfaceTool 14) Contap_TopolTool 15) Dynamic_EnumerationParameter 16) Dynamic_MethodInstance 17) Extrema_ExtPSOfRev 18) GProp_CurveTool 19) GProp_DomainTool 20) GProp_FaceTool
This commit is contained in:
@@ -23,12 +23,6 @@ uses Standard,StdFail,MMgt, GeomAbs, TopAbs, TCollection, gp, TColgp,
|
||||
Geom2d, TColStd, Geom, Adaptor3d, Adaptor2d
|
||||
|
||||
is
|
||||
|
||||
deferred generic class ArcTool; -- template class
|
||||
|
||||
deferred generic class SurfaceTool; -- template class
|
||||
|
||||
deferred generic class TopolTool; -- template class
|
||||
|
||||
generic class Point;
|
||||
|
||||
|
@@ -17,8 +17,8 @@
|
||||
generic class ArcFunction from Contap
|
||||
(TheArc as any;
|
||||
TheSurface as any;
|
||||
TheArcTool as any; -- as ArcTool from Contap()
|
||||
TheSurfaceTool as any; -- as SurfaceTool from Contap()
|
||||
TheArcTool as any;
|
||||
TheSurfaceTool as any;
|
||||
TheSurfProps as any; -- as SurfProps from Contap(TheSurface,
|
||||
-- TheSurfaceTool)
|
||||
TheContTool as any) -- as ContTool from Contap()
|
||||
|
@@ -1,58 +0,0 @@
|
||||
-- Created on: 1993-05-12
|
||||
-- Created by: Jacques GOUSSARD
|
||||
-- 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 ArcTool from Contap
|
||||
(TheArc as any )
|
||||
|
||||
|
||||
---Purpose: Template class for a tool on the restriction of
|
||||
-- a surface.
|
||||
-- It is possible to implement this class with an instantiation
|
||||
-- of the class CurveTool from Adaptor3d.
|
||||
|
||||
|
||||
uses Pnt2d from gp,
|
||||
Vec2d from gp
|
||||
|
||||
is
|
||||
|
||||
Value(myclass; A: TheArc; X: Real from Standard)
|
||||
|
||||
---Purpose: Returns the value in the parametric space
|
||||
-- of the surface S, of the point of parameter X
|
||||
-- on the arc A.
|
||||
|
||||
returns Pnt2d from gp;
|
||||
|
||||
|
||||
D1(myclass; A: TheArc; X: Real from Standard;
|
||||
P : out Pnt2d from gp;
|
||||
D2D : out Vec2d from gp);
|
||||
|
||||
---Purpose: Returns the value and the first derivatives in
|
||||
-- the parametric space of the surface S of the point
|
||||
-- at parameter X on the arc A.
|
||||
|
||||
|
||||
Resolution(myclass; A: TheArc; Tol3d: Real from Standard)
|
||||
|
||||
---Purpose : Returns the parametric resolution corresponding
|
||||
-- to the space resolution Tol3d.
|
||||
|
||||
returns Real from Standard;
|
||||
|
||||
|
||||
end ArcTool;
|
@@ -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.
|
@@ -18,14 +18,11 @@ generic class ContourGen from Contap
|
||||
(TheVertex as any;
|
||||
TheArc as any;
|
||||
TheSurface as any;
|
||||
TheArcTool as any; -- as ArcTool from Contap(TheArc)
|
||||
TheSurfaceTool as any; -- as SurfaceTool from Contap(TheSurface)
|
||||
TheArcTool as any;
|
||||
TheSurfaceTool as any;
|
||||
TheContTool as any; -- as ContTool from Contap(TheVertex,TheArc,
|
||||
-- TheSurface)
|
||||
TheTopolTool as Transient)-- as TopolTool from IntStart(TheVertex,
|
||||
-- TheArc)
|
||||
|
||||
---Purpose:
|
||||
TheTopolTool as Transient)
|
||||
|
||||
|
||||
uses PathPoint from IntSurf,
|
||||
|
@@ -16,7 +16,7 @@
|
||||
|
||||
generic class SurfProps from Contap
|
||||
(TheSurface as any;
|
||||
TheSurfaceTool as any) -- as SurfaceTool from Contap
|
||||
TheSurfaceTool as any)
|
||||
|
||||
---Purpose: Internal tool used to compute the normal and its
|
||||
-- derivatives.
|
||||
|
@@ -1,142 +0,0 @@
|
||||
-- Created on: 1993-05-12
|
||||
-- Created by: Jacques GOUSSARD
|
||||
-- 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 SurfaceTool from Contap
|
||||
(TheSurface as any)
|
||||
|
||||
|
||||
---Purpose: Template class for a tool on a surface.
|
||||
-- It is possible to implement this class with an
|
||||
-- instantiation of the Surface2Tool from Adaptor3d.
|
||||
|
||||
|
||||
uses SurfaceType from GeomAbs,
|
||||
Pln from gp,
|
||||
Sphere from gp,
|
||||
Cylinder from gp,
|
||||
Cone from gp,
|
||||
Pnt from gp,
|
||||
Vec from gp
|
||||
|
||||
is
|
||||
|
||||
|
||||
GetType(myclass; S: TheSurface)
|
||||
|
||||
returns SurfaceType from GeomAbs;
|
||||
|
||||
|
||||
Plane(myclass; S: TheSurface)
|
||||
|
||||
---Purpose: Returns the plane from gp when GetType returns
|
||||
-- GeomAbs_Plane.
|
||||
|
||||
returns Pln from gp;
|
||||
|
||||
|
||||
Cylinder(myclass; S: TheSurface)
|
||||
|
||||
---Purpose: Returns the cylinder from gp when GetType returns
|
||||
-- GeomAbs_Cylinder.
|
||||
|
||||
returns Cylinder from gp;
|
||||
|
||||
|
||||
Sphere(myclass; S: TheSurface)
|
||||
|
||||
---Purpose: Returns the sphere from gp when GetType returns
|
||||
-- GeomAbs_Sphere.
|
||||
|
||||
returns Sphere from gp;
|
||||
|
||||
|
||||
Cone(myclass; S: TheSurface)
|
||||
|
||||
---Purpose: Returns the cone from gp when GetType returns
|
||||
-- GeomAbs_Cone.
|
||||
|
||||
returns Cone from gp;
|
||||
|
||||
|
||||
|
||||
UIntervalFirst(myclass ; S: TheSurface)
|
||||
|
||||
---Purpose: Returns the first U parameter of the surface.
|
||||
|
||||
returns Real from Standard;
|
||||
|
||||
|
||||
VIntervalFirst(myclass ; S: TheSurface)
|
||||
|
||||
---Purpose: Returns the first V parameter of the surface.
|
||||
|
||||
returns Real from Standard;
|
||||
|
||||
|
||||
UIntervalLast(myclass ; S: TheSurface)
|
||||
|
||||
---Purpose: Returns the last U parameter of the surface.
|
||||
|
||||
returns Real from Standard;
|
||||
|
||||
|
||||
VIntervalLast(myclass ; S: TheSurface)
|
||||
|
||||
---Purpose: Returns the last V parameter of the surface.
|
||||
|
||||
returns Real from Standard;
|
||||
|
||||
|
||||
Value (myclass ; S: TheSurface;
|
||||
U,V : Real from Standard)
|
||||
|
||||
---Purpose: Returns the point of parameter (U,V) on the surface.
|
||||
|
||||
returns Pnt from gp;
|
||||
|
||||
|
||||
D1(myclass; S: TheSurface; 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.
|
||||
|
||||
|
||||
D2(myclass; S: TheSurface; U,V: Real from Standard; P: out Pnt from gp;
|
||||
D1U,D1V,D2U,D2V,D2UV: out Vec from gp);
|
||||
|
||||
---Purpose: Returns the point of parameter (U,V) on the surface,
|
||||
-- and the first and the second derivatives in the
|
||||
-- directions u and v.
|
||||
|
||||
|
||||
UResolution(myclass; S : TheSurface; 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 : TheSurface; 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 SurfaceTool;
|
@@ -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.
|
@@ -1,111 +0,0 @@
|
||||
-- Created on: 1993-05-12
|
||||
-- Created by: Jacques GOUSSARD
|
||||
-- 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 TopolTool from Contap
|
||||
( TheVertex as any;
|
||||
TheArc as any
|
||||
)
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Template class for an iterator the restriction of
|
||||
-- a surface.
|
||||
|
||||
uses Orientation from TopAbs,
|
||||
State from TopAbs,
|
||||
Pnt2d from gp
|
||||
|
||||
|
||||
is
|
||||
|
||||
-- Arc iterator
|
||||
|
||||
Init(me: mutable)
|
||||
|
||||
;
|
||||
|
||||
|
||||
More(me: mutable)
|
||||
|
||||
returns Boolean from Standard
|
||||
;
|
||||
|
||||
|
||||
Value(me: mutable)
|
||||
|
||||
returns any TheArc
|
||||
;
|
||||
|
||||
|
||||
Next(me: mutable)
|
||||
|
||||
;
|
||||
|
||||
|
||||
-- Iterator on the vertex of an arc of restriction
|
||||
|
||||
|
||||
Initialize(me: mutable; A:TheArc);
|
||||
|
||||
|
||||
InitVertexIterator(me: mutable)
|
||||
|
||||
;
|
||||
|
||||
|
||||
MoreVertex(me: mutable)
|
||||
|
||||
returns Boolean from Standard
|
||||
;
|
||||
|
||||
|
||||
|
||||
Vertex(me: mutable)
|
||||
returns any TheVertex
|
||||
;
|
||||
|
||||
|
||||
NextVertex(me: mutable)
|
||||
|
||||
;
|
||||
|
||||
|
||||
Orientation(me: mutable; A: TheArc)
|
||||
|
||||
returns Orientation from TopAbs;
|
||||
|
||||
|
||||
Orientation(me: mutable; V: TheVertex)
|
||||
|
||||
returns Orientation from TopAbs;
|
||||
|
||||
|
||||
Identical(me: mutable; V1,V2: TheVertex)
|
||||
|
||||
---Purpose: Returns True if the vertices V1 and V2 are identical.
|
||||
-- This method does not take the orientation of the
|
||||
-- vertices in account.
|
||||
|
||||
returns Boolean from Standard;
|
||||
|
||||
|
||||
Classify(me: mutable; P: Pnt2d from gp; Tol: Real from Standard)
|
||||
|
||||
returns State from TopAbs;
|
||||
|
||||
|
||||
end TopolTool;
|
||||
|
@@ -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.
|
Reference in New Issue
Block a user