1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00: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

@@ -27,17 +27,6 @@ uses
TopAbs
is
deferred generic class Tool;
-- signature class. Required by the LinearRegularSweep, defining
-- the indexation type analysis services uppon shapes.
deferred generic class Iterator;
-- signature class. Required by the LinearRegularSweep, defining
-- the iteration services uppon shapes.
deferred generic class Builder;
-- signature class. Required by the LinearRegularSweep.
deferred generic class LinearRegularSweep,
Array2OfShapes,

View File

@@ -1,65 +0,0 @@
-- Created on: 1993-01-08
-- Created by: Philippe DAUTRY
-- 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 Builder from Sweep(TheShape as any)
---Purpose: This is a signature class describing services
-- strictly required by the Swept Primitives
-- algorithms, from the Topology Data Structure .
--
uses
Orientation from TopAbs
is
MakeCompound (me; aCompound : out TheShape)
---Purpose: Returns an empty Compound.
is deferred;
MakeCompSolid (me; aCompSolid : out TheShape)
---Purpose: Returns an empty CompSolid.
is deferred;
MakeSolid (me; aSolid : out TheShape)
---Purpose: Returns an empty Solid.
is deferred;
MakeShell (me; aShell : out TheShape)
---Purpose: Returns an empty Shell.
is deferred;
MakeWire (me; aWire : out TheShape)
---Purpose: Returns an empty Wire.
is deferred;
Add(me; aShape1 : in out TheShape;
aShape2 : in TheShape;
Orient : in Orientation from TopAbs)
---Purpose: Adds the Shape 1 in the Shape 2, set to
-- <Orient> orientation.
is deferred;
Add(me; aShape1 : in out TheShape;
aShape2 : in TheShape)
---Purpose: Adds the Shape 1 in the Shape 2.
is deferred;
end Builder from Sweep;

View File

@@ -1,12 +0,0 @@
// 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,69 +0,0 @@
-- Created on: 1993-01-27
-- Created by: Philippe DAUTRY
-- 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 Iterator from Sweep (TheShape as any)
---Purpose: This is a signature class describing iteration
-- services required by the Swept Primitives
-- algorithms from a Directing or a Generating Line.
-- This tool is used to iterate on the direct
-- sub-shapes of a Shape.
--
uses
Orientation from TopAbs
raises
NoMoreObject from Standard,
NoSuchObject from Standard
is
Init(me : in out; aShape: TheShape)
---Purpose: Resest the Iterator on sub-shapes of <aShape>.
is deferred;
More(me) returns Boolean
---Purpose: Returns True if there is a current sub-shape.
--
-- -C++: inline
is deferred;
Next(me : in out)
---Purpose: Moves to the next sub-shape.
raises
NoMoreObject from Standard
is deferred;
Value(me) returns TheShape
---Purpose: Returns the current sub-shape.
raises
NoSuchObject from Standard
-- -C++: return const &
-- -C++: inline
is deferred;
Orientation(me) returns Orientation from TopAbs
---Purpose: Returns the orientation of the current sub-shape.
raises
NoSuchObject from Standard
---C++: return const &
---C++: inline
is deferred;
end Iterator;

View File

@@ -1,12 +0,0 @@
// 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,15 +0,0 @@
// Created on: 1993-08-09
// Created by: Laurent BOURESCHE
// 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.

View File

@@ -18,12 +18,12 @@ deferred generic class LinearRegularSweep from Sweep (
TheShape as any; -- resulting topological objects.
TheGenShape as any; -- Generating topological objects.
TheDirShape as any; -- Directing topological objects.
TheBuilder as any; -- as Builder from Sweep.
TheGenShapeTool as any; -- as Tool from Sweep.
TheDirShapeTool as any; -- as Tool from Sweep.
TheShapeIterator as any; -- as Iterator from Sweep.
TheGenShapeIterator as any; -- as Iterator from Sweep.
TheDirShapeIterator as any) -- as Iterator from Sweep.
TheBuilder as any;
TheGenShapeTool as any;
TheDirShapeTool as any;
TheShapeIterator as any;
TheGenShapeIterator as any;
TheDirShapeIterator as any)
---Purpose: This a generic class is used to build Sweept

View File

@@ -14,7 +14,7 @@
-- Alternatively, this file may be used under the terms of Open CASCADE
-- commercial license or contractual agreement.
class NumShapeTool from Sweep -- as Tool from Sweep
class NumShapeTool from Sweep
---Purpose: This class provides the indexation and type analysis
-- services required by the NumShape Directing Shapes of

View File

@@ -1,84 +0,0 @@
-- Created on: 1993-05-26
-- Created by: Laurent BOURESCHE
-- 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 Tool from Sweep (TheShape as any)
---Purpose: This is a signature class describing the indexation
-- and type analysis services required by the Directing
-- and Generating Shapes of Swept Primitives.
--
uses
ShapeEnum from TopAbs,
Orientation from TopAbs
raises
OutOfRange from Standard
is
Initialize(aShape: TheShape);
---Purpose: Initialize the tool with <aShape>. The IndexTool
-- must prepare an indexation for all the subshapes
-- of this shape.
NbShapes(me) returns Integer
---Purpose: Returns the number of subshapes in the shape.
is deferred;
Index(me; aShape : TheShape) returns Integer
---Purpose: Returns the index of <aShape>.
is deferred;
Shape(me; anIndex : Integer from Standard) returns TheShape
---Purpose: Returns the Shape of index anIndex
is deferred;
Type(me; aShape : TheShape) returns ShapeEnum from TopAbs
---Purpose: Returns the type of <aShape>.
is deferred;
Orientation(me; aShape : TheShape) returns Orientation from TopAbs
---Purpose: Returns the Orientation of <aShape>.
is deferred;
SetOrientation(me; aShape : in out TheShape; Or : Orientation from TopAbs)
---Purpose: Set the Orientation of <aShape> with Or.
is deferred;
------------------------------------------
--- Methods used for Directing Shapes only
------------------------------------------
HasFirstVertex(me) returns Boolean from Standard
---Purpose: Returns true if there is a First Vertex in the Shape.
is deferred;
HasLastVertex(me) returns Boolean from Standard
---Purpose: Returns true if there is a Last Vertex in the Shape.
is deferred;
FirstVertex(me) returns TheShape
---Purpose: Returns the first vertex.
is deferred;
LastVertex(me) returns TheShape
---Purpose: Returns the last vertex.
is deferred;
end Tool from Sweep;

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.