mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +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:
@@ -38,23 +38,6 @@ is
|
||||
ArretSurPoint, OK;
|
||||
|
||||
-- StepTooGreat, ConfusedPoint, StopOnPreviousPoint, StopOnPoint, OK
|
||||
|
||||
-- class for definition of ressources on a biparametric surface
|
||||
|
||||
deferred generic class PSurfaceTool;
|
||||
|
||||
|
||||
-- classes for definition of marching algorithm on a
|
||||
-- biparametric surface
|
||||
|
||||
deferred generic class PathPointTool;
|
||||
|
||||
deferred generic class LoopPointTool;
|
||||
|
||||
deferred generic class IWFunction;
|
||||
|
||||
generic class Iterator;
|
||||
|
||||
|
||||
--class of result objects marching on a biparametric surface
|
||||
|
||||
|
@@ -1,124 +0,0 @@
|
||||
-- Created on: 1993-06-03
|
||||
-- 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 IWFunction from IntWalk
|
||||
(ThePSurface as any)
|
||||
|
||||
inherits FunctionSetWithDerivatives from math
|
||||
|
||||
|
||||
---Purpose: Template class for a function on a parametric surface.
|
||||
-- the form of the function is F(u,v) = 0 where u and v are
|
||||
-- the parameteric coordinates of a point on the surface.
|
||||
|
||||
uses Vector from math,
|
||||
Matrix from math,
|
||||
Pnt from gp,
|
||||
Vec from gp,
|
||||
Dir2d from gp
|
||||
|
||||
|
||||
raises UndefinedDerivative from StdFail
|
||||
|
||||
is
|
||||
|
||||
Set(me: in out; PS: ThePSurface)
|
||||
|
||||
is static;
|
||||
|
||||
|
||||
NbVariables(me)
|
||||
|
||||
---Purpose: This method has to return 2.
|
||||
returns Integer from Standard;
|
||||
|
||||
|
||||
NbEquations(me)
|
||||
|
||||
---Purpose: This method has to return 1.
|
||||
returns Integer from Standard;
|
||||
|
||||
|
||||
Value(me : in out; X : Vector from math;
|
||||
F : out Vector from math)
|
||||
|
||||
---Purpose: The dimension of F is 1.
|
||||
|
||||
returns Boolean from Standard;
|
||||
|
||||
|
||||
Derivatives(me : in out; X : Vector from math;
|
||||
D : out Matrix from math)
|
||||
|
||||
---Purpose: The dimension of D is (1,2).
|
||||
|
||||
returns Boolean from Standard;
|
||||
|
||||
|
||||
Values(me : in out; X : Vector from math;
|
||||
F : out Vector from math;
|
||||
D : out Matrix from math)
|
||||
|
||||
returns Boolean from Standard;
|
||||
|
||||
|
||||
Root(me)
|
||||
|
||||
---Purpose: Root is the value of the function at the solution.
|
||||
-- It is a vector of dimension 1, i-e a real.
|
||||
|
||||
returns Real from Standard
|
||||
is static;
|
||||
|
||||
|
||||
Tolerance(me)
|
||||
|
||||
---Purpose: Returns the value Tol so that if Abs(Func.Root())<Tol
|
||||
-- the function is considered null.
|
||||
|
||||
returns Real from Standard
|
||||
is static;
|
||||
|
||||
|
||||
Point(me)
|
||||
|
||||
---Purpose: Returns the value of the solution point on the surface.
|
||||
|
||||
returns Pnt from gp
|
||||
is static;
|
||||
|
||||
|
||||
IsTangent(me : in out)
|
||||
|
||||
returns Boolean from Standard
|
||||
is static;
|
||||
|
||||
|
||||
Direction3d(me: in out)
|
||||
|
||||
returns Vec from gp
|
||||
raises UndefinedDerivative from StdFail
|
||||
is static;
|
||||
|
||||
|
||||
Direction2d(me: in out)
|
||||
|
||||
returns Dir2d from gp
|
||||
raises UndefinedDerivative from StdFail
|
||||
is static;
|
||||
|
||||
|
||||
end IWFunction;
|
@@ -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.
|
@@ -16,14 +16,14 @@
|
||||
|
||||
generic class IWalking from IntWalk (
|
||||
ThePointOfPath as any;
|
||||
ThePointOfPathTool as any; -- as PathPointTool(ThePointOfPath)
|
||||
ThePOPIterator as any; -- as Iterator from IntWalk(ThePointOfPath)
|
||||
ThePointOfPathTool as any;
|
||||
ThePOPIterator as any;
|
||||
ThePointOfLoop as any;
|
||||
ThePointOfLoopTool as any; -- as LoopPointTool(ThePointOfLoop)
|
||||
ThePOLIterator as any; -- as Iterator from IntWalk(ThePointOfLoop)
|
||||
ThePointOfLoopTool as any;
|
||||
ThePOLIterator as any;
|
||||
ThePSurface as any;
|
||||
ThePSurfaceTool as any; -- as PSurfaceTool(ThePSurface)
|
||||
TheIWFunction as any) -- as IWFunction from IntWalk(ThePSurface)
|
||||
ThePSurfaceTool as any;
|
||||
TheIWFunction as any)
|
||||
|
||||
|
||||
---Purpose: This class implements an algorithm to find all the points
|
||||
|
@@ -1,61 +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.
|
||||
|
||||
generic class Iterator from IntWalk (Point as any)
|
||||
|
||||
|
||||
---Purpose: Template class to describe the exploration argument of the
|
||||
-- generic class IWalking
|
||||
|
||||
|
||||
raises OutOfRange from Standard
|
||||
|
||||
is
|
||||
|
||||
Create
|
||||
|
||||
returns Iterator from IntWalk;
|
||||
|
||||
|
||||
Length(me)
|
||||
|
||||
---Purpose: returns the dimension of the exploration
|
||||
|
||||
returns Integer from Standard
|
||||
|
||||
is static;
|
||||
|
||||
|
||||
Value(me; Index : Integer)
|
||||
|
||||
---Purpose: returns the current point
|
||||
-- an exception is raised if i>NbPoints
|
||||
|
||||
returns Point
|
||||
|
||||
raises OutOfRange from Standard
|
||||
|
||||
is static;
|
||||
|
||||
|
||||
Append(me: in out; P: Point)
|
||||
|
||||
---Purpose: Adds a point in the iterator.
|
||||
|
||||
is static;
|
||||
|
||||
|
||||
end Iterator;
|
@@ -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,64 +0,0 @@
|
||||
-- Created on: 1992-03-09
|
||||
-- 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 LoopPointTool from IntWalk
|
||||
(LoopPoint as any)
|
||||
|
||||
---Purpose: template class to describe the necessary ressources
|
||||
-- for a point usedas a starting point for a marching
|
||||
-- algorithm.
|
||||
-- The 'marching algorithm' determines the intersection
|
||||
-- between an implicit surface and a parametrized surface.
|
||||
-- these point are inside the surface not on the boundaries.
|
||||
|
||||
uses Pnt from gp,
|
||||
Vec from gp,
|
||||
Dir2d from gp
|
||||
|
||||
is
|
||||
|
||||
Value3d(myclass; PStart: LoopPoint)
|
||||
|
||||
---Purpose: Returns the 3d coordinates of the starting point.
|
||||
|
||||
returns Pnt from gp;
|
||||
|
||||
|
||||
Value2d(myclass; PStart: LoopPoint; U, V: out Real from Standard);
|
||||
|
||||
---Purpose: Returns the <U,V> parameters which are associated
|
||||
-- with <P>
|
||||
-- it's the parameters which start the marching algorithm
|
||||
|
||||
|
||||
Direction3d(myclass; PStart: LoopPoint)
|
||||
|
||||
---Purpose: returns the tangent at the intersectin in 3d space
|
||||
-- associated to <P>
|
||||
|
||||
returns Vec from gp;
|
||||
|
||||
|
||||
Direction2d(myclass; PStart: LoopPoint)
|
||||
|
||||
---Purpose: returns the tangent at the intersectin in the
|
||||
-- parametric space of the parametrized surface.This tangent
|
||||
-- is associated to the value2d
|
||||
|
||||
returns Dir2d from gp;
|
||||
|
||||
|
||||
end LoopPointTool;
|
@@ -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,73 +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 IntWalk (ThePSurface as any)
|
||||
|
||||
|
||||
---Purpose: Template class for a tool on a bi-parametrised
|
||||
-- surface.
|
||||
-- It is possible to implement this class with an
|
||||
-- instantiation of the SurfaceTool from Adaptor3d.
|
||||
|
||||
is
|
||||
|
||||
UIntervalFirst(myclass ; S: ThePSurface)
|
||||
|
||||
---Purpose: Returns the first U parameter of the surface.
|
||||
|
||||
returns Real from Standard;
|
||||
|
||||
|
||||
VIntervalFirst(myclass ; S: ThePSurface)
|
||||
|
||||
---Purpose: Returns the first V parameter of the surface.
|
||||
|
||||
returns Real from Standard;
|
||||
|
||||
|
||||
UIntervalLast(myclass ; S: ThePSurface)
|
||||
|
||||
---Purpose: Returns the last U parameter of the surface.
|
||||
|
||||
returns Real from Standard;
|
||||
|
||||
|
||||
VIntervalLast(myclass ; S: ThePSurface)
|
||||
|
||||
---Purpose: Returns the last V parameter of the surface.
|
||||
|
||||
returns Real from Standard;
|
||||
|
||||
|
||||
UResolution(myclass; S : ThePSurface; 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 : ThePSurface; 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;
|
||||
|
@@ -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.
|
@@ -16,7 +16,7 @@
|
||||
|
||||
generic class PWalking from IntWalk (
|
||||
ThePSurface as any;
|
||||
ThePSurfaceTool as any) -- as PSurfaceTool from IntWalk(ThePSurface)
|
||||
ThePSurfaceTool as any)
|
||||
|
||||
|
||||
---Purpose: This class implements an algorithm to determine the
|
||||
|
@@ -1,115 +0,0 @@
|
||||
-- Created on: 1992-03-09
|
||||
-- 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 PathPointTool from IntWalk
|
||||
(PathPoint as any)
|
||||
|
||||
---Purpose: Template class to describe the necessary ressources
|
||||
-- for a point used as a starting point for a marching
|
||||
-- algorithm.
|
||||
-- The 'marching algorithm' determines the intersection
|
||||
-- between an implicit surface and a parametrized surface.
|
||||
-- these points are necessary on an arc of the surface
|
||||
|
||||
uses Pnt from gp,
|
||||
Vec from gp,
|
||||
Dir2d from gp
|
||||
|
||||
raises OutOfRange from Standard,
|
||||
UndefinedDerivative from StdFail
|
||||
|
||||
is
|
||||
|
||||
Value3d(myclass; PStart: PathPoint)
|
||||
|
||||
---Purpose: Returns the 3d coordinates of the starting point.
|
||||
|
||||
returns Pnt from gp;
|
||||
|
||||
|
||||
Value2d(myclass; PStart: PathPoint; U, V: out Real from Standard);
|
||||
|
||||
---Purpose: Returns the <U, V> parameters which are associated
|
||||
-- with <P>
|
||||
-- it's the parameters which start the marching algorithm
|
||||
|
||||
|
||||
IsPassingPnt(myclass; PStart: PathPoint)
|
||||
|
||||
---Purpose: Returns True if the point is a point on a non-oriented
|
||||
-- arc, which means that the intersection line does not
|
||||
-- stop at such a point but just go through such a point.
|
||||
-- IsPassingPnt is True when IsOnArc is True
|
||||
|
||||
returns Boolean from Standard;
|
||||
|
||||
|
||||
IsTangent(myclass; PStart: PathPoint )
|
||||
|
||||
---Purpose: Returns True if the surfaces are tangent at this point.
|
||||
-- IsTangent can be True when IsOnArc is True
|
||||
-- if IsPassingPnt is True and IsTangent is True,this point
|
||||
-- is a stopped point.
|
||||
|
||||
returns Boolean from Standard;
|
||||
|
||||
|
||||
Direction3d(myclass; PStart: PathPoint)
|
||||
|
||||
---Purpose: returns the tangent at the intersection in 3d space
|
||||
-- associated to <P>
|
||||
-- an exception is raised if IsTangent is true.
|
||||
|
||||
returns Vec from gp
|
||||
|
||||
raises UndefinedDerivative from StdFail;
|
||||
|
||||
|
||||
Direction2d(myclass; PStart: PathPoint)
|
||||
|
||||
---Purpose: returns the tangent at the intersection in the
|
||||
-- parametric space of the parametrized surface.This tangent
|
||||
-- is associated to the value2d
|
||||
-- la tangente a un sens signifiant (indique le sens de chemin
|
||||
-- ement)
|
||||
-- an exception is raised if IsTangent is true.
|
||||
|
||||
returns Dir2d from gp
|
||||
|
||||
raises UndefinedDerivative from StdFail;
|
||||
|
||||
|
||||
Multiplicity(myclass; PStart: PathPoint)
|
||||
|
||||
---Purpose: Returns the multiplicity of the point i-e
|
||||
-- the number of auxillar parameters associated to the
|
||||
-- point which the principal parameters are given by Value2d
|
||||
|
||||
returns Integer from Standard;
|
||||
|
||||
|
||||
Parameters(myclass; PStart: PathPoint;
|
||||
Mult: Integer from Standard;
|
||||
U, V: out Real from Standard)
|
||||
|
||||
---Purpose: Parametric coordinates associated to the multiplicity.
|
||||
-- An exception is raised if Mult<=0 or Mult>multiplicity.
|
||||
|
||||
raises OutOfRange from Standard;
|
||||
|
||||
|
||||
end PathPointTool;
|
||||
|
@@ -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