From 93cb31a607708c4d1497539f10d317ce246f9f78 Mon Sep 17 00:00:00 2001 From: dln Date: Wed, 19 Feb 2014 11:29:13 +0400 Subject: [PATCH] 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 --- src/HatchGen/HatchGen.cdl | 3 - src/HatchGen/HatchGen_Intersector.cdl | 127 ---------- src/HatchGen/HatchGen_Intersector.gxx | 13 - src/IFSelect/IFSelect.cdl | 2 - src/IFSelect/IFSelect_SelectList.cdl | 67 ----- src/IFSelect/IFSelect_SelectList.gxx | 44 ---- src/IntCurveSurface/IntCurveSurface.cdl | 2 - .../IntCurveSurface_CurveTool.cdl | 236 ------------------ .../IntCurveSurface_CurveTool.gxx | 48 ---- .../IntCurveSurface_CurveTool.lxx | 164 ------------ .../IntCurveSurface_QuadricCurveFunc.cdl | 2 +- src/IntImp/IntImp.cdl | 12 - src/IntImp/IntImp_COnSCurveTool.cdl | 45 ---- src/IntImp/IntImp_COnSCurveTool.gxx | 13 - src/IntImp/IntImp_CSCurveTool.cdl | 45 ---- src/IntImp/IntImp_CSCurveTool.gxx | 13 - src/IntImp/IntImp_CSFunction.cdl | 82 ------ src/IntImp/IntImp_CSFunction.gxx | 13 - src/IntImp/IntImp_CurveTool.cdl | 40 --- src/IntImp/IntImp_CurveTool.gxx | 13 - src/IntImp/IntImp_ISurfaceTool.cdl | 58 ----- src/IntImp/IntImp_ISurfaceTool.gxx | 13 - src/IntImp/IntImp_Int2S.cdl | 2 +- src/IntImp/IntImp_IntCS.cdl | 7 +- src/IntImp/IntImp_PSurfaceTool.cdl | 88 ------- src/IntImp/IntImp_PSurfaceTool.gxx | 13 - src/IntImp/IntImp_ZerCOnSSParFunc.cdl | 4 +- src/IntImp/IntImp_ZerCSParFunc.cdl | 5 +- src/IntImp/IntImp_ZerImpFunc.cdl | 4 +- src/IntImp/IntImp_ZerParFunc.cdl | 2 +- src/IntImpParGen/IntImpParGen.cdl | 3 - src/IntImpParGen/IntImpParGen_ImpParTool.cdl | 2 +- src/IntImpParGen/IntImpParGen_Intersector.cdl | 2 +- src/IntImpParGen/IntImpParGen_ParTool.cdl | 76 ------ src/IntImpParGen/IntImpParGen_ParTool.gxx | 13 - src/IntStart/IntStart.cdl | 14 -- src/IntStart/IntStart_ArcTool.cdl | 41 --- src/IntStart/IntStart_ArcTool.gxx | 13 - src/IntStart/IntStart_PSurfaceTool.cdl | 77 ------ src/IntStart/IntStart_PSurfaceTool.gxx | 13 - src/IntStart/IntStart_SIFunction.cdl | 124 --------- src/IntStart/IntStart_SIFunction.gxx | 13 - src/IntStart/IntStart_SITool.cdl | 43 ---- src/IntStart/IntStart_SITool.gxx | 13 - src/IntStart/IntStart_SOBFunction.cdl | 64 ----- src/IntStart/IntStart_SOBFunction.gxx | 13 - src/IntStart/IntStart_SOBTool.cdl | 151 ----------- src/IntStart/IntStart_SOBTool.gxx | 13 - src/IntStart/IntStart_SearchInside.cdl | 6 +- src/IntStart/IntStart_SearchOnBoundaries.cdl | 9 +- src/IntStart/IntStart_TopolTool.cdl | 98 -------- src/IntStart/IntStart_TopolTool.gxx | 13 - src/IntWalk/IntWalk.cdl | 17 -- src/IntWalk/IntWalk_IWFunction.cdl | 124 --------- src/IntWalk/IntWalk_IWFunction.gxx | 13 - src/IntWalk/IntWalk_IWalking.cdl | 12 +- src/IntWalk/IntWalk_Iterator.cdl | 61 ----- src/IntWalk/IntWalk_Iterator.gxx | 13 - src/IntWalk/IntWalk_LoopPointTool.cdl | 64 ----- src/IntWalk/IntWalk_LoopPointTool.gxx | 13 - src/IntWalk/IntWalk_PSurfaceTool.cdl | 73 ------ src/IntWalk/IntWalk_PSurfaceTool.gxx | 13 - src/IntWalk/IntWalk_PWalking.cdl | 2 +- src/IntWalk/IntWalk_PathPointTool.cdl | 115 --------- src/IntWalk/IntWalk_PathPointTool.gxx | 13 - src/Intf/Intf.cdl | 4 - .../Intf_InterferencePolygonPolyhedron.cdl | 2 +- src/Intf/Intf_InterferencePolyhedron.cdl | 2 +- src/Intf/Intf_ToolPolyhedron.cdl | 89 ------- src/Intf/Intf_ToolPolyhedron.gxx | 13 - src/LProp/LProp.cdl | 5 - src/LProp/LProp_CurveTool.cdl | 55 ---- src/LProp/LProp_CurveTool.gxx | 13 - src/LProp/LProp_SurfaceTool.cdl | 50 ---- src/LProp/LProp_SurfaceTool.gxx | 13 - src/LibCtl/FILES | 1 - src/LibCtl/LibCtl.cdl | 1 - src/LibCtl/LibCtl_ProtocolTemplate.cdl | 59 ----- src/LibCtl/LibCtl_ProtocolTemplate.gxx | 13 - src/MAT/MAT.cdl | 3 - src/MAT/MAT_Tool.cdl | 126 ---------- src/MAT/MAT_Tool.gxx | 15 -- src/Primitives/Primitives.cdl | 3 - src/Primitives/Primitives_Builder.cdl | 160 ------------ src/Primitives/Primitives_Builder.gxx | 15 -- src/Primitives/Primitives_OneAxis.cdl | 2 +- src/Sweep/Sweep.cdl | 11 - src/Sweep/Sweep_Builder.cdl | 65 ----- src/Sweep/Sweep_Builder.gxx | 12 - src/Sweep/Sweep_Iterator.cdl | 69 ----- src/Sweep/Sweep_Iterator.gxx | 12 - src/Sweep/Sweep_Iterator.lxx | 15 -- src/Sweep/Sweep_LinearRegularSweep.cdl | 12 +- src/Sweep/Sweep_NumShapeTool.cdl | 2 +- src/Sweep/Sweep_Tool.cdl | 84 ------- src/Sweep/Sweep_Tool.gxx | 13 - src/TopClass/TopClass.cdl | 11 +- src/TopClass/TopClass_Classifier2d.cdl | 2 +- src/TopClass/TopClass_FaceExplorer.cdl | 84 ------- src/TopClass/TopClass_FaceExplorer.gxx | 15 -- src/TopClass/TopClass_FaceExplorer.lxx | 15 -- src/TopClass/TopClass_Intersection2d.cdl | 60 ----- src/TopClass/TopClass_Intersection2d.gxx | 15 -- 103 files changed, 41 insertions(+), 3627 deletions(-) delete mode 100644 src/HatchGen/HatchGen_Intersector.cdl delete mode 100644 src/HatchGen/HatchGen_Intersector.gxx delete mode 100644 src/IFSelect/IFSelect_SelectList.cdl delete mode 100644 src/IFSelect/IFSelect_SelectList.gxx delete mode 100644 src/IntCurveSurface/IntCurveSurface_CurveTool.cdl delete mode 100644 src/IntCurveSurface/IntCurveSurface_CurveTool.gxx delete mode 100644 src/IntCurveSurface/IntCurveSurface_CurveTool.lxx delete mode 100644 src/IntImp/IntImp_COnSCurveTool.cdl delete mode 100644 src/IntImp/IntImp_COnSCurveTool.gxx delete mode 100644 src/IntImp/IntImp_CSCurveTool.cdl delete mode 100644 src/IntImp/IntImp_CSCurveTool.gxx delete mode 100644 src/IntImp/IntImp_CSFunction.cdl delete mode 100644 src/IntImp/IntImp_CSFunction.gxx delete mode 100644 src/IntImp/IntImp_CurveTool.cdl delete mode 100644 src/IntImp/IntImp_CurveTool.gxx delete mode 100644 src/IntImp/IntImp_ISurfaceTool.cdl delete mode 100644 src/IntImp/IntImp_ISurfaceTool.gxx delete mode 100644 src/IntImp/IntImp_PSurfaceTool.cdl delete mode 100644 src/IntImp/IntImp_PSurfaceTool.gxx delete mode 100644 src/IntImpParGen/IntImpParGen_ParTool.cdl delete mode 100644 src/IntImpParGen/IntImpParGen_ParTool.gxx delete mode 100644 src/IntStart/IntStart_ArcTool.cdl delete mode 100644 src/IntStart/IntStart_ArcTool.gxx delete mode 100644 src/IntStart/IntStart_PSurfaceTool.cdl delete mode 100644 src/IntStart/IntStart_PSurfaceTool.gxx delete mode 100644 src/IntStart/IntStart_SIFunction.cdl delete mode 100644 src/IntStart/IntStart_SIFunction.gxx delete mode 100644 src/IntStart/IntStart_SITool.cdl delete mode 100644 src/IntStart/IntStart_SITool.gxx delete mode 100644 src/IntStart/IntStart_SOBFunction.cdl delete mode 100644 src/IntStart/IntStart_SOBFunction.gxx delete mode 100644 src/IntStart/IntStart_SOBTool.cdl delete mode 100644 src/IntStart/IntStart_SOBTool.gxx delete mode 100644 src/IntStart/IntStart_TopolTool.cdl delete mode 100644 src/IntStart/IntStart_TopolTool.gxx delete mode 100644 src/IntWalk/IntWalk_IWFunction.cdl delete mode 100644 src/IntWalk/IntWalk_IWFunction.gxx delete mode 100644 src/IntWalk/IntWalk_Iterator.cdl delete mode 100644 src/IntWalk/IntWalk_Iterator.gxx delete mode 100644 src/IntWalk/IntWalk_LoopPointTool.cdl delete mode 100644 src/IntWalk/IntWalk_LoopPointTool.gxx delete mode 100644 src/IntWalk/IntWalk_PSurfaceTool.cdl delete mode 100644 src/IntWalk/IntWalk_PSurfaceTool.gxx delete mode 100644 src/IntWalk/IntWalk_PathPointTool.cdl delete mode 100644 src/IntWalk/IntWalk_PathPointTool.gxx delete mode 100644 src/Intf/Intf_ToolPolyhedron.cdl delete mode 100644 src/Intf/Intf_ToolPolyhedron.gxx delete mode 100644 src/LProp/LProp_CurveTool.cdl delete mode 100644 src/LProp/LProp_CurveTool.gxx delete mode 100644 src/LProp/LProp_SurfaceTool.cdl delete mode 100644 src/LProp/LProp_SurfaceTool.gxx delete mode 100644 src/LibCtl/LibCtl_ProtocolTemplate.cdl delete mode 100644 src/LibCtl/LibCtl_ProtocolTemplate.gxx delete mode 100644 src/MAT/MAT_Tool.cdl delete mode 100644 src/MAT/MAT_Tool.gxx delete mode 100644 src/Primitives/Primitives_Builder.cdl delete mode 100644 src/Primitives/Primitives_Builder.gxx delete mode 100644 src/Sweep/Sweep_Builder.cdl delete mode 100644 src/Sweep/Sweep_Builder.gxx delete mode 100644 src/Sweep/Sweep_Iterator.cdl delete mode 100644 src/Sweep/Sweep_Iterator.gxx delete mode 100644 src/Sweep/Sweep_Iterator.lxx delete mode 100644 src/Sweep/Sweep_Tool.cdl delete mode 100644 src/Sweep/Sweep_Tool.gxx delete mode 100644 src/TopClass/TopClass_FaceExplorer.cdl delete mode 100644 src/TopClass/TopClass_FaceExplorer.gxx delete mode 100644 src/TopClass/TopClass_FaceExplorer.lxx delete mode 100644 src/TopClass/TopClass_Intersection2d.cdl delete mode 100644 src/TopClass/TopClass_Intersection2d.gxx diff --git a/src/HatchGen/HatchGen.cdl b/src/HatchGen/HatchGen.cdl index 30a4b20af7..941bc0c267 100644 --- a/src/HatchGen/HatchGen.cdl +++ b/src/HatchGen/HatchGen.cdl @@ -52,9 +52,6 @@ is end ErrorStatus from HatchGen ; - - deferred generic class Intersector ; - deferred class IntersectionPoint ; class PointOnHatching ; diff --git a/src/HatchGen/HatchGen_Intersector.cdl b/src/HatchGen/HatchGen_Intersector.cdl deleted file mode 100644 index 6606cbe4cc..0000000000 --- a/src/HatchGen/HatchGen_Intersector.cdl +++ /dev/null @@ -1,127 +0,0 @@ --- Created on: 1994-03-21 --- Created by: Jean Marc LACHAUME --- 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 Intersector from HatchGen - (TheCurveH as any ; -- as Curve from Geom2dAdaptor - TheCurveE as any ) -- as Curve from Geom2dAdaptor - - -inherits Intersection from IntRes2d - -uses - Lin2d from gp, - Dir2d from gp - - - - -is - - Initialize - - ---Purpose: Creates an empty intersector - - is protected ; - - - Initialize(Confusion : Real from Standard ; - Tangency : Real from Standard) - - ---Purpose: Creates an intersector. - is protected ; - - - ConfusionTolerance (me) - - ---Purpose: Returns the confusion tolerance of the - -- intersector. - - returns Real from Standard - is static ; - - - SetConfusionTolerance (me : in out ; - Confusion : Real from Standard) - - ---Purpose: Sets the confusion tolerance of the intersector. - - is static ; - - - TangencyTolerance (me) - - ---Purpose: Returns the tangency tolerance of the - -- intersector. - - returns Real from Standard - is static ; - - - SetTangencyTolerance (me : in out ; - Tangency : Real from Standard) - - ---Purpose: Sets the tangency tolerance of the intersector. - - is static ; - - - Intersect (me : in out ; C1 : in out TheCurveE ; - C2 : in out TheCurveH ) - - ---Purpose: Intersects the curves C1 and C2. - -- The results are retreived by the usual methods - -- described in IntRes2d_Intersection. - - is static ; - -------------------------------------------------------------------------- ----- M e t h o d s u s e d b y t h e C l a s s i f i e r 2 d --- -------------------------------------------------------------------------- - - - Perform(me : in out; - L : Lin2d from gp; - P : Real from Standard; - Tol : Real from Standard; - E : TheCurveE) - - ---Purpose: Performs the intersection between the 2d line - -- segment (,

) and the Curve . The line - -- segment is the part of the 2d line of - -- parameter range [0,

] (P is positive and can be - -- RealLast()). Tol is the Tolerance on the segment. - -- The order is relevant, the first argument is the - -- segment, the second the Edge. - is static; - - LocalGeometry(me; - E : TheCurveE ; - U : Real from Standard; - T : out Dir2d from gp; - N : out Dir2d from gp; - C : out Real) - - ---Purpose: Returns in , and the tangent, normal - -- and curvature of the edge at parameter value - -- . - is static; - - -end Intersector from HatchGen ; - - - - diff --git a/src/HatchGen/HatchGen_Intersector.gxx b/src/HatchGen/HatchGen_Intersector.gxx deleted file mode 100644 index 850d0490ec..0000000000 --- a/src/HatchGen/HatchGen_Intersector.gxx +++ /dev/null @@ -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. diff --git a/src/IFSelect/IFSelect.cdl b/src/IFSelect/IFSelect.cdl index 3d5e677318..e8be04e18a 100644 --- a/src/IFSelect/IFSelect.cdl +++ b/src/IFSelect/IFSelect.cdl @@ -75,7 +75,6 @@ is class SelectSharing; -- directly sharing entities deferred class SelectAnyList; -- from a list in an entity deferred class SelectInList; -- from a list of single entities - generic class SelectList; -- from an entity as a list class SelectSuite; -- macro-select-deduct deferred class SelectExtract; -- sorted lists (can be inverted) : @@ -94,7 +93,6 @@ is -- (in particular, instantiations of SelectType) -- Other classes can be added for a specific Interface - -- (in particular, instantiations of SelectList) deferred class SelectExplore; class SelectSignedShared; -- shared entities + signature class SelectSignedSharing; -- sharing entities + signature diff --git a/src/IFSelect/IFSelect_SelectList.cdl b/src/IFSelect/IFSelect_SelectList.cdl deleted file mode 100644 index caf993d146..0000000000 --- a/src/IFSelect/IFSelect_SelectList.cdl +++ /dev/null @@ -1,67 +0,0 @@ --- Created on: 1992-11-18 --- Created by: Christian CAILLET --- 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 SelectList from IFSelect (Entity as Transient) - inherits SelectInList - - - ---Purpose : A SelectList kind Selection selects a part of an Entity, as - -- well as this Entity can be described as an ordered List. - -- That is to say, it must have two methods : - -- - -- NbEntities (me) returns Integer; - -- Entity (me; num : Integer) returns Transient; - -- - -- For each class of Entity for which we want to define a - -- SelectList, we will instanciate this class with the - -- desired class of Entity as definition parameter : the deferred - -- methods NbEntities and ListedEntity are now defined to call - -- the required methods from - -- - -- SelectList works as SelectInList, beeing a sub-class of it - -uses AsciiString from TCollection, Transient, EntityIterator, IntParam - -raises OutOfRange - -is - - Create returns mutable SelectList; - ---Purpose : Creates a SelectList (with no limit); - - KeepInputEntity (me; iter : in out EntityIterator); - ---Purpose : Keeps Input Entity, as having required type - - NbItems (me; ent : Transient) returns Integer; - ---Purpose : Returns count of Entities in the list in the Entity - -- by calling method NbEntity from parameter class Entity - - ListedEntity (me; num : Integer; ent : Transient) - returns Transient raises OutOfRange; - ---Purpose : Returns an Entity of the list in the Entity , by calling - -- method Entity from parameter class Entity - -- Error if has not required type, or if is not in - -- the right range (1,NbEntities), - - ListLabel (me) returns AsciiString from TCollection; - ---Purpose : Returns the specific label for the list - -- then, following cases : - -- " From .. Until .." or "From .." or "Until .." or "Rank no .." - -- Warning : it is not possible to give a character constant to instantiate - -- a generic class, thus "List From Entity" is not adapted : - -- redefine Label if judged necessary - -end SelectList; diff --git a/src/IFSelect/IFSelect_SelectList.gxx b/src/IFSelect/IFSelect_SelectList.gxx deleted file mode 100644 index fb4edaa124..0000000000 --- a/src/IFSelect/IFSelect_SelectList.gxx +++ /dev/null @@ -1,44 +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. - -//#include - -// .... Instanciation avec "Handle(Entity)" qui offre ces deux methodes : -// nb = ent->NbEntities() et ent_i = ent->InterfaceEntity(i) - - -IFSelect_SelectList::IFSelect_SelectList () { } - - void IFSelect_SelectType::KeepInputEntity (Interface_EntityIterator& iter) - { iter.SelectType(STANDARD_TYPE(Entity)); } - - Standard_Integer IFSelect_SelectList::NbItems - (const Handle(Standard_Transient)& ent) -{ - Handle(Entity) anent = Handle(Entity)::DownCast(ent); - if (anent.IsNull()) return 0; - return anent->NbEntities(); -} - - Handle(Standard_Transient) IFSelect_SelectList::ListedEntity - (const Standard_Integer num, const Handle(Standard_Transient)& ent) -{ - Handle(Entity) anent = Handle(Entity)::DownCast(ent); - if (anent.IsNull()) Standard_OutOfRange::Raise - ("IFSelect SelectType : ListedEntity"); - return anent->InterfacebEntity(num); -} - - - TCollection_AsciiString IFSelect_SelectList::ListLabel () const - { return TCollection_AsciiString(STANDARD_TYPE(Entity)->Name()); } diff --git a/src/IntCurveSurface/IntCurveSurface.cdl b/src/IntCurveSurface/IntCurveSurface.cdl index 7407931258..1a28b6030e 100644 --- a/src/IntCurveSurface/IntCurveSurface.cdl +++ b/src/IntCurveSurface/IntCurveSurface.cdl @@ -77,8 +77,6 @@ is class SequenceOfSeg instantiates Sequence from TCollection( IntersectionSegment from IntCurveSurface); - -------------------------------------------------- - generic class CurveTool; -------------------------------------------------- generic class HCurveTool; -------------------------------------------------- diff --git a/src/IntCurveSurface/IntCurveSurface_CurveTool.cdl b/src/IntCurveSurface/IntCurveSurface_CurveTool.cdl deleted file mode 100644 index ac9be1c176..0000000000 --- a/src/IntCurveSurface/IntCurveSurface_CurveTool.cdl +++ /dev/null @@ -1,236 +0,0 @@ --- Created on: 1995-07-17 --- Created by: Modelistation --- 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. - -generic class CurveTool from IntCurveSurface ( - CurveGen as any) - -uses - Array1OfReal from TColStd, - Shape from GeomAbs, - CurveType from GeomAbs, - Vec from gp, - Pnt from gp, - Circ from gp, - Elips from gp, - Hypr from gp, - Parab from gp, - Lin from gp, - BezierCurve from Geom, - BSplineCurve from Geom - -raises - - OutOfRange from Standard, - NoSuchObject from Standard, - DomainError from Standard - -is - - -- - -- Global methods - Apply to the whole curve. - -- - - FirstParameter(myclass; C: CurveGen) returns Real - ---C++: inline - ; - - - LastParameter(myclass; C: CurveGen) returns Real - ---C++: inline - ; - - -- - -- Services to break the curves to the expected continuity - -- - -- If for example you need the curve to be C2 and the method - -- Continuity returns you something lower than C2 (say C1 for - -- example). - -- - -- First compute the number of intervals with the requested - -- continuity with the method NbIntervals(). Note that if the - -- continuity is higher than the one you need NbIntervals will - -- return 1. - -- - -- Then you get the parameters bounding the intervals with the - -- method Intervals, using an array of length at least - -- NbIntervals()+1. - -- - -- If you need to create a curve with a restricted span you can - -- use the method Trim(). - - - Continuity(myclass; C: CurveGen) returns Shape from GeomAbs - ---Purpose: - ---C++: inline - ; - - NbIntervals(myclass; C: CurveGen; S : Shape from GeomAbs) returns Integer - ---Purpose: Returns the number of intervals for continuity - -- . May be one if Continuity(myclass) >= - ---C++: inline - ; - - Intervals(myclass; C: CurveGen; T : in out Array1OfReal from TColStd; - S : Shape from GeomAbs) - ---Purpose: Stores in the parameters bounding the intervals - -- of continuity . - -- - -- The array must provide enough room to accomodate - -- for the parameters. i.e. T.Length() > NbIntervals() - raises - OutOfRange from Standard - ---C++: inline - ; - - IsClosed(myclass; C: CurveGen) returns Boolean - ---C++: inline - ; - - IsPeriodic(myclass; C: CurveGen) returns Boolean - ---C++: inline - ; - - Period(myclass; C: CurveGen) returns Real - raises - DomainError from Standard -- if the curve is not periodic - ---C++: inline - ; - - Value(myclass; C: CurveGen; U : Real) returns Pnt from gp - --- Purpose : Computes the point of parameter U on the curve. - ---C++: inline - ; - - D0 (myclass; C: CurveGen; U : Real; P : out Pnt from gp) - --- Purpose : Computes the point of parameter U on the curve. - ---C++: inline - ; - - D1 (myclass; C: CurveGen; U : Real; P : out Pnt from gp ; V : out Vec from gp) - --- Purpose : Computes the point of parameter U on the curve with its - -- first derivative. - raises - DomainError from Standard - --- Purpose : Raised if the continuity of the current interval - -- is not C1. - ---C++: inline - ; - - D2 (myclass; C: CurveGen; U : Real; P : out Pnt from gp; V1, V2 : out Vec from gp) - --- Purpose : - -- Returns the point P of parameter U, the first and second - -- derivatives V1 and V2. - raises - DomainError from Standard - --- Purpose : Raised if the continuity of the current interval - -- is not C2. - ---C++: inline - ; - - D3 (myclass; C: CurveGen; U : Real; P : out Pnt from gp; V1, V2, V3 : out Vec from gp) - --- Purpose : - -- Returns the point P of parameter U, the first, the second - -- and the third derivative. - raises - DomainError from Standard - --- Purpose : Raised if the continuity of the current interval - -- is not C3. - ---C++: inline - ; - - DN (myclass; C: CurveGen; U : Real; N : Integer) returns Vec from gp - --- Purpose : - -- The returned vector gives the value of the derivative for the - -- order of derivation N. - raises - DomainError from Standard, - --- Purpose : Raised if the continuity of the current interval - -- is not CN. - OutOfRange from Standard - --- Purpose : Raised if N < 1. - ---C++: inline - ; - - Resolution(myclass; C: CurveGen; R3d : Real) returns Real - ---Purpose : Returns the parametric resolution corresponding - -- to the real space resolution . - ---C++: inline - ; - - GetType(myclass; C: CurveGen) returns CurveType from GeomAbs - ---Purpose: Returns the type of the curve in the current - -- interval : Line, Circle, Ellipse, Hyperbola, - -- Parabola, BezierCurve, BSplineCurve, OtherCurve. - ---C++: inline - ; - - -- - -- The following methods must be called when GetType returned - -- the corresponding type. - -- - - Line(myclass; C: CurveGen) returns Lin from gp - raises - NoSuchObject from Standard - ---C++: inline - ; - - Circle(myclass; C: CurveGen) returns Circ from gp - raises - NoSuchObject from Standard - ---C++: inline - ; - - Ellipse(myclass; C: CurveGen) returns Elips from gp - raises - NoSuchObject from Standard - ---C++: inline - ; - - Hyperbola(myclass; C: CurveGen) returns Hypr from gp - raises - NoSuchObject from Standard - ---C++: inline - ; - - Parabola(myclass; C: CurveGen) returns Parab from gp - raises - NoSuchObject from Standard - ---C++: inline - ; - - Bezier(myclass; C: CurveGen) returns BezierCurve from Geom - raises - NoSuchObject from Standard - ---C++: inline - ; - - BSpline(myclass; C: CurveGen) returns BSplineCurve from Geom - raises - NoSuchObject from Standard - ---C++: inline - ; - - - - - - NbSamples(myclass; C: CurveGen; U0,U1: Real from Standard) - returns Integer from Standard; - -end CurveTool; - - diff --git a/src/IntCurveSurface/IntCurveSurface_CurveTool.gxx b/src/IntCurveSurface/IntCurveSurface_CurveTool.gxx deleted file mode 100644 index 7027480026..0000000000 --- a/src/IntCurveSurface/IntCurveSurface_CurveTool.gxx +++ /dev/null @@ -1,48 +0,0 @@ -// Created on: 1995-07-17 -// Created by: Modelistation -// 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. - -#include CurveGen_hxx -#include -#include -#include -#include - -#include - - -//============================================================ -Standard_Integer IntCurveSurface_CurveTool::NbSamples (const CurveGen& C, - const Standard_Real U0, - const Standard_Real U1) { - GeomAbs_CurveType typC = C.GetType(); - const Standard_Real nbsOther = 10.0; - Standard_Real nbs = nbsOther; - - if(typC == GeomAbs_Line) - nbs = 2; - else if(typC == GeomAbs_BezierCurve) - nbs = 3 + C.NbPoles(); - else if(typC == GeomAbs_BSplineCurve) { - nbs = C.NbKnots(); - nbs*= C.Degree(); - nbs*= C.LastParameter()- C.FirstParameter(); - nbs/= U1-U0; - if(nbs < 2.0) nbs=2; - } - if(nbs>50) - nbs = 50; - return((Standard_Integer)nbs); -} diff --git a/src/IntCurveSurface/IntCurveSurface_CurveTool.lxx b/src/IntCurveSurface/IntCurveSurface_CurveTool.lxx deleted file mode 100644 index a5653a06a8..0000000000 --- a/src/IntCurveSurface/IntCurveSurface_CurveTool.lxx +++ /dev/null @@ -1,164 +0,0 @@ -// Created on: 1992-10-22 -// Created by: Laurent BUCHARD -// 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. - -#include CurveGen_hxx - -#include -#include - -#include -#include -#include -#include -#include -#include - - -#include -#include - -#include - -//============================================================ -inline Standard_Real IntCurveSurface_CurveTool::FirstParameter (const CurveGen& C) { - return(C.FirstParameter()); -} -//============================================================ -inline Standard_Real IntCurveSurface_CurveTool::LastParameter (const CurveGen& C) { - return(C.LastParameter()); -} -//============================================================ -inline GeomAbs_Shape IntCurveSurface_CurveTool::Continuity (const CurveGen& C) { - return(C.Continuity()); -} -//============================================================ -inline Standard_Integer IntCurveSurface_CurveTool::NbIntervals(const CurveGen& C,const GeomAbs_Shape Sh) { - return(C.NbIntervals(Sh)); -} -//============================================================ -inline void IntCurveSurface_CurveTool::Intervals(const CurveGen& C, - TColStd_Array1OfReal& Tab, - const GeomAbs_Shape Sh) { - C.Intervals(Tab,Sh); -} -//============================================================ -inline Standard_Boolean IntCurveSurface_CurveTool::IsClosed(const CurveGen& C) { - return(C.IsClosed()); -} -//============================================================ -inline Standard_Boolean IntCurveSurface_CurveTool::IsPeriodic(const CurveGen& C) { - return(C.IsPeriodic()); -} -//============================================================ -inline Standard_Real IntCurveSurface_CurveTool::Period(const CurveGen& C) { - return(C.Period()); -} -//============================================================ -inline gp_Pnt IntCurveSurface_CurveTool::Value (const CurveGen& C, - const Standard_Real U) { - return(C.Value(U)); -} -//============================================================ -inline void IntCurveSurface_CurveTool::D0(const CurveGen& C, - const Standard_Real U, - gp_Pnt& P) { - C.D0(U,P); -} -//============================================================ -inline void IntCurveSurface_CurveTool::D1 (const CurveGen& C, - const Standard_Real U, - gp_Pnt& P, - gp_Vec& T) { - C.D1(U,P,T); -} -//============================================================ -inline void IntCurveSurface_CurveTool::D2 (const CurveGen& C, - const Standard_Real U, - gp_Pnt& P, - gp_Vec& T, - gp_Vec& N) { - - C.D2(U,P,T,N); -} -//============================================================ -inline void IntCurveSurface_CurveTool::D3 (const CurveGen& C, - const Standard_Real U, - gp_Pnt& P, - gp_Vec& V1, - gp_Vec& V2, - gp_Vec& V3) { - - C.D3(U,P,V1,V2,V3); -} -//============================================================ -inline gp_Vec IntCurveSurface_CurveTool::DN (const CurveGen& C, - const Standard_Real U, - const Standard_Integer N) { - - return(C.DN(U,N)); -} -//============================================================ -inline Standard_Real IntCurveSurface_CurveTool::Resolution(const CurveGen& C, - const Standard_Real R3d) { - return(C.Resolution(R3d)); -} -//============================================================ -inline GeomAbs_CurveType IntCurveSurface_CurveTool::GetType(const CurveGen& C) { - return(C.GetType()); -} -//============================================================ -inline gp_Lin IntCurveSurface_CurveTool::Line (const CurveGen& C) { - return(C.Line()); -} -//============================================================ -inline gp_Circ IntCurveSurface_CurveTool::Circle (const CurveGen& C) { - return(C.Circle()); -} -//============================================================ -inline gp_Elips IntCurveSurface_CurveTool::Ellipse (const CurveGen& C) { - return(C.Ellipse()); -} -//============================================================ -inline gp_Parab IntCurveSurface_CurveTool::Parabola (const CurveGen& C) { - return(C.Parabola()); -} -//============================================================ -inline gp_Hypr IntCurveSurface_CurveTool::Hyperbola (const CurveGen& C) { - return(C.Hyperbola()); -} -//============================================================ -inline Handle(Geom_BezierCurve) IntCurveSurface_CurveTool::Bezier (const CurveGen& C) { - return(C.Bezier()); -} -//============================================================ -inline Handle(Geom_BSplineCurve) IntCurveSurface_CurveTool::BSpline (const CurveGen& C) { - return(C.BSpline()); -} -//============================================================ - - - - - - - - - - - - - - diff --git a/src/IntCurveSurface/IntCurveSurface_QuadricCurveFunc.cdl b/src/IntCurveSurface/IntCurveSurface_QuadricCurveFunc.cdl index bfd40247ab..e1e95907a0 100644 --- a/src/IntCurveSurface/IntCurveSurface_QuadricCurveFunc.cdl +++ b/src/IntCurveSurface/IntCurveSurface_QuadricCurveFunc.cdl @@ -17,7 +17,7 @@ generic class QuadricCurveFunc from IntCurveSurface ( TheQuadric as any; -- as Quadric from IntCurveSurface TheCurve as any; - TheCurveTool as any) -- as CurveTool from Adaptor3d + TheCurveTool as any) inherits FunctionWithDerivative from math diff --git a/src/IntImp/IntImp.cdl b/src/IntImp/IntImp.cdl index 83d851f188..fe41f4e7ef 100644 --- a/src/IntImp/IntImp.cdl +++ b/src/IntImp/IntImp.cdl @@ -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 diff --git a/src/IntImp/IntImp_COnSCurveTool.cdl b/src/IntImp/IntImp_COnSCurveTool.cdl deleted file mode 100644 index b9be820d4b..0000000000 --- a/src/IntImp/IntImp_COnSCurveTool.cdl +++ /dev/null @@ -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; diff --git a/src/IntImp/IntImp_COnSCurveTool.gxx b/src/IntImp/IntImp_COnSCurveTool.gxx deleted file mode 100644 index 850d0490ec..0000000000 --- a/src/IntImp/IntImp_COnSCurveTool.gxx +++ /dev/null @@ -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. diff --git a/src/IntImp/IntImp_CSCurveTool.cdl b/src/IntImp/IntImp_CSCurveTool.cdl deleted file mode 100644 index 55faf799fa..0000000000 --- a/src/IntImp/IntImp_CSCurveTool.cdl +++ /dev/null @@ -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; diff --git a/src/IntImp/IntImp_CSCurveTool.gxx b/src/IntImp/IntImp_CSCurveTool.gxx deleted file mode 100644 index 850d0490ec..0000000000 --- a/src/IntImp/IntImp_CSCurveTool.gxx +++ /dev/null @@ -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. diff --git a/src/IntImp/IntImp_CSFunction.cdl b/src/IntImp/IntImp_CSFunction.cdl deleted file mode 100644 index 5d8122658a..0000000000 --- a/src/IntImp/IntImp_CSFunction.cdl +++ /dev/null @@ -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; diff --git a/src/IntImp/IntImp_CSFunction.gxx b/src/IntImp/IntImp_CSFunction.gxx deleted file mode 100644 index 850d0490ec..0000000000 --- a/src/IntImp/IntImp_CSFunction.gxx +++ /dev/null @@ -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. diff --git a/src/IntImp/IntImp_CurveTool.cdl b/src/IntImp/IntImp_CurveTool.cdl deleted file mode 100644 index 56439dd115..0000000000 --- a/src/IntImp/IntImp_CurveTool.cdl +++ /dev/null @@ -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; diff --git a/src/IntImp/IntImp_CurveTool.gxx b/src/IntImp/IntImp_CurveTool.gxx deleted file mode 100644 index 850d0490ec..0000000000 --- a/src/IntImp/IntImp_CurveTool.gxx +++ /dev/null @@ -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. diff --git a/src/IntImp/IntImp_ISurfaceTool.cdl b/src/IntImp/IntImp_ISurfaceTool.cdl deleted file mode 100644 index cb704050cd..0000000000 --- a/src/IntImp/IntImp_ISurfaceTool.cdl +++ /dev/null @@ -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; diff --git a/src/IntImp/IntImp_ISurfaceTool.gxx b/src/IntImp/IntImp_ISurfaceTool.gxx deleted file mode 100644 index 850d0490ec..0000000000 --- a/src/IntImp/IntImp_ISurfaceTool.gxx +++ /dev/null @@ -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. diff --git a/src/IntImp/IntImp_Int2S.cdl b/src/IntImp/IntImp_Int2S.cdl index 960613072b..fc5d7c0de9 100644 --- a/src/IntImp/IntImp_Int2S.cdl +++ b/src/IntImp/IntImp_Int2S.cdl @@ -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 diff --git a/src/IntImp/IntImp_IntCS.cdl b/src/IntImp/IntImp_IntCS.cdl index 8e31838c87..85deea9c0c 100644 --- a/src/IntImp/IntImp_IntCS.cdl +++ b/src/IntImp/IntImp_IntCS.cdl @@ -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 diff --git a/src/IntImp/IntImp_PSurfaceTool.cdl b/src/IntImp/IntImp_PSurfaceTool.cdl deleted file mode 100644 index 9cb0213a23..0000000000 --- a/src/IntImp/IntImp_PSurfaceTool.cdl +++ /dev/null @@ -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; diff --git a/src/IntImp/IntImp_PSurfaceTool.gxx b/src/IntImp/IntImp_PSurfaceTool.gxx deleted file mode 100644 index 850d0490ec..0000000000 --- a/src/IntImp/IntImp_PSurfaceTool.gxx +++ /dev/null @@ -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. diff --git a/src/IntImp/IntImp_ZerCOnSSParFunc.cdl b/src/IntImp/IntImp_ZerCOnSSParFunc.cdl index 8fe542d161..05db7f6375 100644 --- a/src/IntImp/IntImp_ZerCOnSSParFunc.cdl +++ b/src/IntImp/IntImp_ZerCOnSSParFunc.cdl @@ -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 diff --git a/src/IntImp/IntImp_ZerCSParFunc.cdl b/src/IntImp/IntImp_ZerCSParFunc.cdl index 18b6226422..538205ff4b 100644 --- a/src/IntImp/IntImp_ZerCSParFunc.cdl +++ b/src/IntImp/IntImp_ZerCSParFunc.cdl @@ -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 diff --git a/src/IntImp/IntImp_ZerImpFunc.cdl b/src/IntImp/IntImp_ZerImpFunc.cdl index 5f6d3d0939..18b74e02fd 100644 --- a/src/IntImp/IntImp_ZerImpFunc.cdl +++ b/src/IntImp/IntImp_ZerImpFunc.cdl @@ -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 diff --git a/src/IntImp/IntImp_ZerParFunc.cdl b/src/IntImp/IntImp_ZerParFunc.cdl index 39e8add6ea..25aecad1e0 100644 --- a/src/IntImp/IntImp_ZerParFunc.cdl +++ b/src/IntImp/IntImp_ZerParFunc.cdl @@ -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 diff --git a/src/IntImpParGen/IntImpParGen.cdl b/src/IntImpParGen/IntImpParGen.cdl index 83e18e0057..7bbfdd48e9 100644 --- a/src/IntImpParGen/IntImpParGen.cdl +++ b/src/IntImpParGen/IntImpParGen.cdl @@ -32,9 +32,6 @@ is deferred class ImpTool; ---Purpose: Template class for an implicit curve. - deferred generic class ParTool; - ---Purpose: Template class for a tool on a parameterised curve. - generic class ImpParTool; ---Purpose: Math function, instantiated inside the Intersector. diff --git a/src/IntImpParGen/IntImpParGen_ImpParTool.cdl b/src/IntImpParGen/IntImpParGen_ImpParTool.cdl index 2a326a7ea6..a100a46a69 100644 --- a/src/IntImpParGen/IntImpParGen_ImpParTool.cdl +++ b/src/IntImpParGen/IntImpParGen_ImpParTool.cdl @@ -17,7 +17,7 @@ generic class ImpParTool from IntImpParGen ( ImpTool as any; -- as ImpTool from IntImpParGen ParCurve as any; - ParTool as any) -- as ParTool from IntImpParGen(ParCurve) + ParTool as any) inherits FunctionWithDerivative from math diff --git a/src/IntImpParGen/IntImpParGen_Intersector.cdl b/src/IntImpParGen/IntImpParGen_Intersector.cdl index f9b784fecb..7be671c393 100644 --- a/src/IntImpParGen/IntImpParGen_Intersector.cdl +++ b/src/IntImpParGen/IntImpParGen_Intersector.cdl @@ -17,7 +17,7 @@ generic class Intersector from IntImpParGen ( ImpTool as any; -- as ImpTool from IntImpParGen ParCurve as any; - ParTool as any; -- as ParTool from IntImpParGen(ParCurve) + ParTool as any; ProjectOnPCurveTool as any) -- as ProjectOnPCurveToolGen from IntCurve inherits Intersection from IntRes2d diff --git a/src/IntImpParGen/IntImpParGen_ParTool.cdl b/src/IntImpParGen/IntImpParGen_ParTool.cdl deleted file mode 100644 index 54bef7082c..0000000000 --- a/src/IntImpParGen/IntImpParGen_ParTool.cdl +++ /dev/null @@ -1,76 +0,0 @@ --- Created on: 1992-03-27 --- Created by: Laurent BUCHARD --- 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 ParTool from IntImpParGen - (ParCurve as any) - - ---Purpose: Template class for a tool on a parametrised curve. - -uses Pnt2d from gp, - Vec2d from gp, - Lin2d from gp - -is - - - Value (myclass; C: ParCurve; U: Real from Standard) - - ---Purpose: Returns the point at parameter U on the Curve C. - - returns Pnt2d from gp; - - - D1 (myclass; C:ParCurve; U:Real from Standard ; - P: out Pnt2d; T: out Vec2d); - - ---Purpose: Computes the Point and the First derivative of - -- the parametric curve C at parameter U. - - - D2 (myclass; C:ParCurve; U:Real from Standard ; - P: out Pnt2d; T,N: out Vec2d); - - ---Purpose: Computes the Point, the First and the Second derivative of - -- the parametric curve C at parameter U. - - - EpsX (myclass; C: ParCurve) - - ---Purpose: Returns the valuec of the parametric tolerance - -- on the curve C. - - returns Real from Standard; - - - NbSamples(myclass; C: ParCurve) - - ---Purpose: NbSamples is the number of sample point used to - -- polygonise the parametric curve on its domain. - - returns Integer from Standard; - - -end ParTool; - - - - - - - - - - diff --git a/src/IntImpParGen/IntImpParGen_ParTool.gxx b/src/IntImpParGen/IntImpParGen_ParTool.gxx deleted file mode 100644 index 850d0490ec..0000000000 --- a/src/IntImpParGen/IntImpParGen_ParTool.gxx +++ /dev/null @@ -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. diff --git a/src/IntStart/IntStart.cdl b/src/IntStart/IntStart.cdl index 23211296ca..c97256a105 100644 --- a/src/IntStart/IntStart.cdl +++ b/src/IntStart/IntStart.cdl @@ -30,14 +30,6 @@ uses Standard, MMgt, TCollection, StdFail, TopAbs, GeomAbs, gp, IntSurf, math is - deferred generic class ArcTool; - - deferred generic class SOBTool; - - deferred generic class TopolTool; - - deferred generic class SOBFunction; - generic class Segment; generic class PathPoint; @@ -45,14 +37,8 @@ is generic class SearchOnBoundaries, ThePathPoint, SequenceOfPathPoint, TheSegment, SequenceOfSegment; - deferred generic class PSurfaceTool; - - deferred generic class SITool; - deferred class SITopolTool; - deferred generic class SIFunction; - generic class SearchInside; diff --git a/src/IntStart/IntStart_ArcTool.cdl b/src/IntStart/IntStart_ArcTool.cdl deleted file mode 100644 index 6103ccfc90..0000000000 --- a/src/IntStart/IntStart_ArcTool.cdl +++ /dev/null @@ -1,41 +0,0 @@ --- Created on: 1993-05-04 --- 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 IntStart - (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.. - - -is - - - 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; - - - diff --git a/src/IntStart/IntStart_ArcTool.gxx b/src/IntStart/IntStart_ArcTool.gxx deleted file mode 100644 index 850d0490ec..0000000000 --- a/src/IntStart/IntStart_ArcTool.gxx +++ /dev/null @@ -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. diff --git a/src/IntStart/IntStart_PSurfaceTool.cdl b/src/IntStart/IntStart_PSurfaceTool.cdl deleted file mode 100644 index 27f9c9711b..0000000000 --- a/src/IntStart/IntStart_PSurfaceTool.cdl +++ /dev/null @@ -1,77 +0,0 @@ --- Created on: 1992-05-18 --- Created by: Jacques GOUSSARD --- 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 IntStart - (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; - - diff --git a/src/IntStart/IntStart_PSurfaceTool.gxx b/src/IntStart/IntStart_PSurfaceTool.gxx deleted file mode 100644 index 850d0490ec..0000000000 --- a/src/IntStart/IntStart_PSurfaceTool.gxx +++ /dev/null @@ -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. diff --git a/src/IntStart/IntStart_SIFunction.cdl b/src/IntStart/IntStart_SIFunction.cdl deleted file mode 100644 index c3ace6e77c..0000000000 --- a/src/IntStart/IntStart_SIFunction.cdl +++ /dev/null @@ -1,124 +0,0 @@ --- Created on: 1993-06-02 --- 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 SIFunction from IntStart - (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())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; diff --git a/src/IntWalk/IntWalk_Iterator.gxx b/src/IntWalk/IntWalk_Iterator.gxx deleted file mode 100644 index 850d0490ec..0000000000 --- a/src/IntWalk/IntWalk_Iterator.gxx +++ /dev/null @@ -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. diff --git a/src/IntWalk/IntWalk_LoopPointTool.cdl b/src/IntWalk/IntWalk_LoopPointTool.cdl deleted file mode 100644 index 5c1778aa71..0000000000 --- a/src/IntWalk/IntWalk_LoopPointTool.cdl +++ /dev/null @@ -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 parameters which are associated - -- with

- -- 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

- - 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; diff --git a/src/IntWalk/IntWalk_LoopPointTool.gxx b/src/IntWalk/IntWalk_LoopPointTool.gxx deleted file mode 100644 index 850d0490ec..0000000000 --- a/src/IntWalk/IntWalk_LoopPointTool.gxx +++ /dev/null @@ -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. diff --git a/src/IntWalk/IntWalk_PSurfaceTool.cdl b/src/IntWalk/IntWalk_PSurfaceTool.cdl deleted file mode 100644 index 0f7e6b553d..0000000000 --- a/src/IntWalk/IntWalk_PSurfaceTool.cdl +++ /dev/null @@ -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; - diff --git a/src/IntWalk/IntWalk_PSurfaceTool.gxx b/src/IntWalk/IntWalk_PSurfaceTool.gxx deleted file mode 100644 index 850d0490ec..0000000000 --- a/src/IntWalk/IntWalk_PSurfaceTool.gxx +++ /dev/null @@ -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. diff --git a/src/IntWalk/IntWalk_PWalking.cdl b/src/IntWalk/IntWalk_PWalking.cdl index 7f611bc638..86b5e967f4 100644 --- a/src/IntWalk/IntWalk_PWalking.cdl +++ b/src/IntWalk/IntWalk_PWalking.cdl @@ -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 diff --git a/src/IntWalk/IntWalk_PathPointTool.cdl b/src/IntWalk/IntWalk_PathPointTool.cdl deleted file mode 100644 index 24f080abf8..0000000000 --- a/src/IntWalk/IntWalk_PathPointTool.cdl +++ /dev/null @@ -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 parameters which are associated - -- with

- -- 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

- -- 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; - diff --git a/src/IntWalk/IntWalk_PathPointTool.gxx b/src/IntWalk/IntWalk_PathPointTool.gxx deleted file mode 100644 index 850d0490ec..0000000000 --- a/src/IntWalk/IntWalk_PathPointTool.gxx +++ /dev/null @@ -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. diff --git a/src/Intf/Intf.cdl b/src/Intf/Intf.cdl index 18325e9cbd..fbeded13e5 100644 --- a/src/Intf/Intf.cdl +++ b/src/Intf/Intf.cdl @@ -40,10 +40,6 @@ is ---Purpose: Describes the necessary polygon information to compute -- the interferences. - generic class ToolPolyhedron; -- Signature - ---Purpose: Describes the necessary polyhedron information to compute - -- the interferences. - class Array1OfLin instantiates Array1 from TCollection (Lin from gp); diff --git a/src/Intf/Intf_InterferencePolygonPolyhedron.cdl b/src/Intf/Intf_InterferencePolygonPolyhedron.cdl index c0581c35dc..2b2fb5cb08 100644 --- a/src/Intf/Intf_InterferencePolygonPolyhedron.cdl +++ b/src/Intf/Intf_InterferencePolygonPolyhedron.cdl @@ -18,7 +18,7 @@ generic class InterferencePolygonPolyhedron from Intf (Polygon3d as any; ToolPolygon3d as any; -- as ToolPolygon(Pnt,Polygon3d,Box) Polyhedron as any; - ToolPolyh as any) -- as ToolPolyhedron(Polyhedron) + ToolPolyh as any) inherits Interference from Intf ---Purpose: Computes the interference between a polygon and a diff --git a/src/Intf/Intf_InterferencePolyhedron.cdl b/src/Intf/Intf_InterferencePolyhedron.cdl index 88d0539be7..58a9a32ed1 100644 --- a/src/Intf/Intf_InterferencePolyhedron.cdl +++ b/src/Intf/Intf_InterferencePolyhedron.cdl @@ -18,7 +18,7 @@ generic class InterferencePolyhedron from Intf (Polyhedron1 as any; ToolPolyhe1 as any; Polyhedron2 as any; - ToolPolyhe2 as any) -- as ToolPolyhedron(Polyhedron) + ToolPolyhe2 as any) inherits Interference from Intf ---Purpose: Computes the interference between two polyhedra or the diff --git a/src/Intf/Intf_ToolPolyhedron.cdl b/src/Intf/Intf_ToolPolyhedron.cdl deleted file mode 100644 index f106bd167e..0000000000 --- a/src/Intf/Intf_ToolPolyhedron.cdl +++ /dev/null @@ -1,89 +0,0 @@ --- Created on: 1991-09-18 --- Created by: Didier PIFFAULT --- Copyright (c) 1991-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 ToolPolyhedron from Intf (Polyhedron as any) - - ---Purpose: Describes the signature of a polyedral surface with only - -- triangular facets and the information necessary to compute - -- the interferences. - - -uses XYZ from gp, - Pnt from gp, - Box from Bnd, - HArray1OfBox from Bnd - - -raises OutOfRange from Standard - - -is Bounding (myclass; thePolyh : Polyhedron) - returns Box from Bnd; - ---Purpose: Returns the bounding box of the ToolPolyhedron. - - ComponentsBounding - (myclass; thePolyh : Polyhedron) - returns HArray1OfBox from Bnd; - ---Purpose: Returns the array of boxes. The box corresponding - -- to the triangle . - - - DeflectionOverEstimation - (myclass; thePolyh : Polyhedron) - returns Real from Standard; - ---Purpose: Returns the tolerance of the polygon. - - --- Structure needings : - - NbTriangles (myclass; thePolyh : Polyhedron) - returns Integer from Standard; - ---Purpose: Returns the number of triangles in this polyedron. - - - Triangle (myclass; thePolyh : Polyhedron; - Index : in Integer from Standard; - P1,P2,P3 : out Integer from Standard) - raises OutOfRange from Standard; - ---Purpose: Returns the indices of the 3 points of the triangle of - -- address Index in the ToolPolyhedron. - - - Point (myclass; thePolyh : Polyhedron; - Index : in Integer) - returns Pnt from gp - raises OutOfRange from Standard; - ---Purpose: Returns the point of index i in the polyedron. - - - TriConnex (myclass; thePolyh : Polyhedron; - Triang : in Integer; - Pivot,Pedge : in Integer; - TriCon : out Integer; - OtherPedge : out Integer) - returns Integer - raises OutOfRange from Standard; - ---Purpose: Returns the triangle connected to the triangle - -- by the edge . The third point of - -- the connected triangle is returned in (Used to - -- turn around a vertex). When the edge is - -- free (no connected triangle) is null. In this - -- case the function returns the triangle on the free bound of - -- the polyhedron connected to by vertex . - - - -end ToolPolyhedron; diff --git a/src/Intf/Intf_ToolPolyhedron.gxx b/src/Intf/Intf_ToolPolyhedron.gxx deleted file mode 100644 index 850d0490ec..0000000000 --- a/src/Intf/Intf_ToolPolyhedron.gxx +++ /dev/null @@ -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. diff --git a/src/LProp/LProp.cdl b/src/LProp/LProp.cdl index 536ca50350..ec14e0db21 100644 --- a/src/LProp/LProp.cdl +++ b/src/LProp/LProp.cdl @@ -59,11 +59,6 @@ is exception BadContinuity inherits Failure; exception NotDefined inherits Failure; - deferred generic class CurveTool; - ---Purpose: The template class used in CLProps. - deferred generic class SurfaceTool; - ---Purpose: The template class used in SLProps. - generic class CLProps; ---Purpose: Computation of local properties of a curve. generic class SLProps; diff --git a/src/LProp/LProp_CurveTool.cdl b/src/LProp/LProp_CurveTool.cdl deleted file mode 100644 index f97fcf6153..0000000000 --- a/src/LProp/LProp_CurveTool.cdl +++ /dev/null @@ -1,55 +0,0 @@ --- Created on: 1992-03-03 --- Created by: Herve LEGRAND --- 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 CurveTool from LProp (Curve as any; - Pnt as any; - Vec as any) - -is - - Value(myclass; C : Curve; U : Real; P : out Pnt); - ---Purpose: Computes the point

of parameter on the curve . - - D1 (myclass; C : Curve; U : Real; P : out Pnt; V1 : out Vec); - ---Purpose: Computes the point

and first derivative of - -- parameter on the curve . - - D2 (myclass; C : Curve; U : Real; P : out Pnt; V1, V2 : out Vec); - ---Purpose: Computes the point

, the first derivative and second - -- derivative of parameter on the curve . - - D3 (myclass; C : Curve; U : Real; - P : out Pnt; V1, V2, V3 : out Vec); - ---Purpose: Computes the point

, the first derivative , the - -- second derivative and third derivative of - -- parameter on the curve . - - Continuity(myclass; C : Curve) returns Integer; - ---Purpose: returns the order of continuity of the curve . - -- returns 1 : first derivative only is computable - -- returns 2 : first and second derivative only are computable. - -- returns 3 : first, second and third are computable. - - FirstParameter(myclass; C : Curve) returns Real; - ---Purpose: returns the first parameter bound of the curve. - -- - - LastParameter(myclass; C : Curve) returns Real; - ---Purpose: returns the last parameter bound of the curve. - -- FirstParameter must be less than LastParamenter. - -end CurveTool; - diff --git a/src/LProp/LProp_CurveTool.gxx b/src/LProp/LProp_CurveTool.gxx deleted file mode 100644 index 850d0490ec..0000000000 --- a/src/LProp/LProp_CurveTool.gxx +++ /dev/null @@ -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. diff --git a/src/LProp/LProp_SurfaceTool.cdl b/src/LProp/LProp_SurfaceTool.cdl deleted file mode 100644 index c32bfe1556..0000000000 --- a/src/LProp/LProp_SurfaceTool.cdl +++ /dev/null @@ -1,50 +0,0 @@ --- Created on: 1992-03-05 --- Created by: Herve LEGRAND --- 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 SurfaceTool from LProp (Surface as any) - -uses Pnt from gp, - Vec from gp - -is - - Value(myclass; S : Surface; U, V : Real; P : out Pnt); - ---Purpose: Computes the point

of parameter and on the - -- Surface . - - D1 (myclass; S : Surface; U, V : Real; P : out Pnt; D1U, D1V : out Vec); - ---Purpose: Computes the point

and first derivative of - -- parameter and on the Surface . - - D2 (myclass; S : Surface; U, V : Real; - P : out Pnt; D1U, D1V, D2U, D2V, DUV : out Vec); - ---Purpose: Computes the point

, the first derivative and second - -- derivative of parameter and on the Surface . - - DN (myclass; S : Surface; U, V : Real; IU, IV : Integer) - returns Vec; - - Continuity(myclass; S : Surface) returns Integer; - ---Purpose: returns the order of continuity of the Surface . - -- returns 1 : first derivative only is computable - -- returns 2 : first and second derivative only are computable. - - Bounds(myclass; S : Surface; U1, V1, U2, V2 : out Real); - ---Purpose: returns the bounds of the Surface. - -end SurfaceTool; - - diff --git a/src/LProp/LProp_SurfaceTool.gxx b/src/LProp/LProp_SurfaceTool.gxx deleted file mode 100644 index 850d0490ec..0000000000 --- a/src/LProp/LProp_SurfaceTool.gxx +++ /dev/null @@ -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. diff --git a/src/LibCtl/FILES b/src/LibCtl/FILES index ec94df1763..a78b18f555 100755 --- a/src/LibCtl/FILES +++ b/src/LibCtl/FILES @@ -3,4 +3,3 @@ LibCtl_GlobalNode.gxx LibCtl_Library.cdl LibCtl_Library.gxx LibCtl_Node.gxx -LibCtl_ProtocolTemplate.cdl diff --git a/src/LibCtl/LibCtl.cdl b/src/LibCtl/LibCtl.cdl index e4b8ca194e..0b2b167f54 100644 --- a/src/LibCtl/LibCtl.cdl +++ b/src/LibCtl/LibCtl.cdl @@ -80,6 +80,5 @@ uses MMgt, Standard is generic class Library,GlobalNode,Node; - deferred generic class ProtocolTemplate; -- take it as a Template end LibCtl; diff --git a/src/LibCtl/LibCtl_ProtocolTemplate.cdl b/src/LibCtl/LibCtl_ProtocolTemplate.cdl deleted file mode 100644 index 3303f9b412..0000000000 --- a/src/LibCtl/LibCtl_ProtocolTemplate.cdl +++ /dev/null @@ -1,59 +0,0 @@ --- Created on: 1993-03-17 --- Created by: Christian CAILLET --- 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 ProtocolTemplate from LibCtl - (TheObject as any) - inherits Transient - - ---Purpose : This class is a Template class for Library : there is no - -- obligation to inherit it for instantiate a Library class. - -- - -- A Protocol class defines a data scheme by gathering a set of - -- Object Classes. This set is made of : - -- - As necessary, other sets already defined by other Protocols. - -- These Protocols are the Resources of - -- This definition can be recurrent : each Protocol class - -- defines its Resources at immediate level - -- - The list of Object Classes it identifies DIRECTLY (itself), - -- i.e. not through its Resources. - -- - -- A classic Selection criterium is DynamicType (for a Transient - -- or Persistent Object), this gives a Case Number per Class. If - -- another criterium is taken, it must assume unique and non- - -- ambiguous binding between an object state and a Cse Number. - -- - -- For each Object Class (or recognized state) it identifies - -- directly, it provides a unique positive Number, which can be - -- used as Case Number. - -- - -- A Module bound with a Protocol class is assumed to accept any - -- Object of a Class it defines DIRECTLY (not its Resources). - -uses Type - -is - - NbResources (me) returns Integer is deferred; - ---Purpose : Gives the count of Protocols used as Resource (can be zero) - - Resource (me; num : Integer) returns ProtocolTemplate is deferred; - ---Purpose : Returns a Resource, given a rank. - - CaseNumber (me; obj : any TheObject) returns Integer is deferred; - ---Purpose : Returns a Case Number, specific of each recognized Object - -- This is a positive number. Zero means " not recognized" - -end ProtocolTemplate; diff --git a/src/LibCtl/LibCtl_ProtocolTemplate.gxx b/src/LibCtl/LibCtl_ProtocolTemplate.gxx deleted file mode 100644 index df42f6159d..0000000000 --- a/src/LibCtl/LibCtl_ProtocolTemplate.gxx +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) 1998-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. diff --git a/src/MAT/MAT.cdl b/src/MAT/MAT.cdl index 929d8571ef..5ac9214a60 100644 --- a/src/MAT/MAT.cdl +++ b/src/MAT/MAT.cdl @@ -22,9 +22,6 @@ uses TColStd is - - generic class Tool; - --- Purpose: The template class used in Mat. generic class Mat; --- Purpose: The Algorithm of Computation of the Map of diff --git a/src/MAT/MAT_Tool.cdl b/src/MAT/MAT_Tool.cdl deleted file mode 100644 index f9c45cb93e..0000000000 --- a/src/MAT/MAT_Tool.cdl +++ /dev/null @@ -1,126 +0,0 @@ --- Created on: 1992-09-23 --- Created by: Gilles DEBARBOUILLE --- 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 Tool from MAT (Item as any) - - - --- Purpose : Set of the methods useful for the MAT's computation. - -- Warning : To use the algorithm MAT, it's necessary to use four - -- indexed sets (Array,Sequence ...) - -- One set contains the geometric definitions of - -- the simple composants of the Figure. - -- An other set contains the geometric definitions of - -- the bisectors. - -- An other set contains the geometric definitions of - -- the points created during the MAT's computation. - -- An other set contains the geometric definitions of - -- the Tangent Vectors to the edge's extremitis. - -- -uses - Bisector from MAT - -is - - Create returns Tool from MAT; - - NumberOfItems(me) returns Integer - --- Purpose : Returns the Number of Items . - is static; - - ToleranceOfConfusion(me) returns Real - ---Purpose: Returns tolerance to test the confusion of two points. - is static; - - FirstPoint(me ; anitem : Integer; - dist : out Real ) returns Integer - --- Purpose : Creates the point at the origin of the bisector between - -- anitem and the previous item. - -- dist is the distance from the FirstPoint to . - -- Returns an index. - is static; - - TangentBefore(me ; anitem : Integer) returns Integer - --- Purpose : Create the Tangent at the end of the Item defined - -- by . Returns the index of this vector in - -- - is static; - - TangentAfter(me ; anitem : Integer) returns Integer - --- Purpose : Create the Reversed Tangent at the origin of the Item - -- defined by . Returns the index of this vector in - -- - is static; - - Tangent(me ; bisector : Integer ) returns Integer - --- Purpose : Create the Tangent at the end of the bisector defined - -- by . Returns the index of this vector in - -- - is static; - - CreateBisector(me : in out ; abisector : mutable Bisector from MAT) - --- Purpose : Create the geometric bisector defined by . - is static; - - TrimBisector(me : in out ; - abisector : mutable Bisector from MAT) - --- Purpose : Trim the geometric bisector by the - -- of . - -- If the parameter is out of the bisector, Return False. - -- else Return True. - returns Boolean is static; - - TrimBisector(me : in out ; - abisector : mutable Bisector from MAT ; - apoint : Integer) - --- Purpose : Trim the geometric bisector by the point of index - -- in . - -- If the point is out of the bisector, Return False - -- else Return True. - returns Boolean is static; - - IntersectBisector(me : in out ; - bisectorone : mutable Bisector from MAT ; - bisectortwo : mutable Bisector from MAT ; - intpnt : in out Integer) - --- Purpose : Computes the point of intesection between the - -- bisectors defined by and - -- . - -- If this point exists, is its index - -- in and Return the distance of the point - -- from the edges separated by the bisectors else - -- Returns . - returns Real is static; - - Distance(me; - abisector : Bisector from MAT; - param1 : Real; - param2 : Real) - ---Purpose: Returns the distance between the two points designed - -- by their parameters on . - returns Real is static; - - Dump(me ; - bisector : Integer ; - erease : Integer) - --- Purpose : display informations about the bisector defined by - -- . - is static; - -end Tool; - - - - diff --git a/src/MAT/MAT_Tool.gxx b/src/MAT/MAT_Tool.gxx deleted file mode 100644 index 3cfca7f073..0000000000 --- a/src/MAT/MAT_Tool.gxx +++ /dev/null @@ -1,15 +0,0 @@ -// Created on: 1993-07-01 -// Created by: Gilles DEBARBOUILLE -// 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. diff --git a/src/Primitives/Primitives.cdl b/src/Primitives/Primitives.cdl index 875ab51252..72e58a5403 100644 --- a/src/Primitives/Primitives.cdl +++ b/src/Primitives/Primitives.cdl @@ -42,9 +42,6 @@ is ---Purpose: XMin, XMax, YMin, YMax, ZMin, ZMax end Direction; - - - deferred generic class Builder; deferred generic class OneAxis; diff --git a/src/Primitives/Primitives_Builder.cdl b/src/Primitives/Primitives_Builder.cdl deleted file mode 100644 index 1a3eea286c..0000000000 --- a/src/Primitives/Primitives_Builder.cdl +++ /dev/null @@ -1,160 +0,0 @@ --- Created on: 1992-03-12 --- Created by: Philippe DAUTRY --- 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 Builder from Primitives( - TheShell as any; - TheFace as any; - TheWire as any; - TheEdge as any; - TheVertex as any) - - ---Purpose: This is a signature class describing services from - -- the Topology Data Structure required by the - -- Primitives algorithms. - -uses - Pnt from gp, - Lin from gp, - Circ from gp, - Pln from gp, - - Lin2d from gp, - Circ2d from gp - -is - MakeShell (me; S : out TheShell) - ---Purpose: Make a empty Shell. - is deferred; - - MakeFace (me; F : out TheFace; P : Pln from gp) - ---Purpose: Returns in a Face built with the plane - -- equation

. - is deferred; - - MakeWire(me; W : out TheWire) - ---Purpose: Returns in an empty Wire. - is deferred; - - MakeDegeneratedEdge (me; E : out TheEdge) - ---Purpose: Returns in a degenerated edge. - is deferred; - - MakeEdge (me; E : out TheEdge; L : Lin from gp) - ---Purpose: Returns in an Edge built with the line - -- equation . - is deferred; - - MakeEdge (me; E : out TheEdge; C : Circ from gp) - ---Purpose: Returns in an Edge built with the circle - -- equation . - is deferred; - - SetPCurve(me; E : in out TheEdge; F : in TheFace; L : Lin2d from gp) - ---Purpose: Sets the line to be the curve representing the - -- edge in the parametric space of the surface of - -- . - is deferred; - - SetPCurve(me; E : in out TheEdge; F : in TheFace; L1,L2 : Lin2d from gp) - ---Purpose: Sets the lines to be the curves - -- representing the edge in the parametric space - -- of the surface of . The surface is closed. - is deferred; - - SetPCurve(me; E : in out TheEdge; F : in TheFace; C : Circ2d from gp) - ---Purpose: Sets the circle to be the curve representing - -- the edge in the parametric space of the - -- surface of . - is deferred; - - MakeVertex (me; V : out TheVertex; P : Pnt from gp) - ---Purpose: Returns in a Vertex built with the point

. - is deferred; - - ReverseFace(me; F : in out TheFace) - ---Purpose: Change the orientation of the face. - is deferred; - - AddEdgeVertex(me; - E : in out TheEdge; - V : in TheVertex; - P : in Real; - direct : Boolean) - ---Purpose: Adds the Vertex in the Edge .

is the - -- parameter of the vertex on the edge. If - -- is False the Vertex is reversed. - is deferred; - - AddEdgeVertex(me; - E : in out TheEdge; - V : in TheVertex; - P1,P2 : in Real) - ---Purpose: Adds the Vertex in the Edge . are - -- the parameters of the vertex on the edge. The - -- edge is a closed curve. - is deferred; - - SetParameters(me; - E : in out TheEdge; - V : in TheVertex; - P1,P2 : in Real) - ---Purpose: are the parameters of the vertex on the - -- edge. The edge is a closed curve. - is deferred; - - AddWireEdge(me; - W : in out TheWire; - E : in TheEdge; - direct : Boolean) - ---Purpose: Adds the Edge in the Wire , if direct is - -- False the Edge is reversed. - is deferred; - - AddFaceWire(me; - F : in out TheFace; - W : in TheWire) - ---Purpose: Adds the Wire in the Face . - is deferred; - - AddShellFace(me; - Sh : in out TheShell; - F : in TheFace) - ---Purpose: Adds the Face in the Shell . - is deferred; - - CompleteEdge(me; E : in out TheEdge) - ---Purpose: This is called once an edge is completed. It gives - -- the opportunity to perform any post treatment. - is deferred; - - CompleteWire(me; W : in out TheWire) - ---Purpose: This is called once a wire is completed. It gives - -- the opportunity to perform any post treatment. - is deferred; - - CompleteFace(me; F : in out TheFace) - ---Purpose: This is called once a face is completed. It gives - -- the opportunity to perform any post treatment. - is deferred; - - CompleteShell(me; S : in out TheShell) - ---Purpose: This is called once a shell is completed. It gives - -- the opportunity to perform any post treatment. - is deferred; - -end Builder from Primitives; - - diff --git a/src/Primitives/Primitives_Builder.gxx b/src/Primitives/Primitives_Builder.gxx deleted file mode 100644 index 18151928e2..0000000000 --- a/src/Primitives/Primitives_Builder.gxx +++ /dev/null @@ -1,15 +0,0 @@ -// Created on: 1993-07-15 -// Created by: Remi LEQUETTE -// 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. diff --git a/src/Primitives/Primitives_OneAxis.cdl b/src/Primitives/Primitives_OneAxis.cdl index e81a33cf96..0364a0d0b3 100644 --- a/src/Primitives/Primitives_OneAxis.cdl +++ b/src/Primitives/Primitives_OneAxis.cdl @@ -20,7 +20,7 @@ deferred generic class OneAxis from Primitives( TheWire as any; TheEdge as any; TheVertex as any; - TheBuilder as any) -- as Builder from Primitives; + TheBuilder as any) ---Purpose: Algorithm to build primitives with one axis of -- revolution. diff --git a/src/Sweep/Sweep.cdl b/src/Sweep/Sweep.cdl index d3c804aeb1..42560fdc16 100644 --- a/src/Sweep/Sweep.cdl +++ b/src/Sweep/Sweep.cdl @@ -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, diff --git a/src/Sweep/Sweep_Builder.cdl b/src/Sweep/Sweep_Builder.cdl deleted file mode 100644 index 561acc3b0d..0000000000 --- a/src/Sweep/Sweep_Builder.cdl +++ /dev/null @@ -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 - -- 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; - - diff --git a/src/Sweep/Sweep_Builder.gxx b/src/Sweep/Sweep_Builder.gxx deleted file mode 100644 index d5d9142d68..0000000000 --- a/src/Sweep/Sweep_Builder.gxx +++ /dev/null @@ -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. diff --git a/src/Sweep/Sweep_Iterator.cdl b/src/Sweep/Sweep_Iterator.cdl deleted file mode 100644 index 8473aaaf11..0000000000 --- a/src/Sweep/Sweep_Iterator.cdl +++ /dev/null @@ -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 . - 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; diff --git a/src/Sweep/Sweep_Iterator.gxx b/src/Sweep/Sweep_Iterator.gxx deleted file mode 100644 index d5d9142d68..0000000000 --- a/src/Sweep/Sweep_Iterator.gxx +++ /dev/null @@ -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. diff --git a/src/Sweep/Sweep_Iterator.lxx b/src/Sweep/Sweep_Iterator.lxx deleted file mode 100644 index fa89078f78..0000000000 --- a/src/Sweep/Sweep_Iterator.lxx +++ /dev/null @@ -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. diff --git a/src/Sweep/Sweep_LinearRegularSweep.cdl b/src/Sweep/Sweep_LinearRegularSweep.cdl index 36c2a4ab5b..ee66137989 100644 --- a/src/Sweep/Sweep_LinearRegularSweep.cdl +++ b/src/Sweep/Sweep_LinearRegularSweep.cdl @@ -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 diff --git a/src/Sweep/Sweep_NumShapeTool.cdl b/src/Sweep/Sweep_NumShapeTool.cdl index 0def9e9f73..4dc12a14ac 100644 --- a/src/Sweep/Sweep_NumShapeTool.cdl +++ b/src/Sweep/Sweep_NumShapeTool.cdl @@ -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 diff --git a/src/Sweep/Sweep_Tool.cdl b/src/Sweep/Sweep_Tool.cdl deleted file mode 100644 index e1e9fe1e8d..0000000000 --- a/src/Sweep/Sweep_Tool.cdl +++ /dev/null @@ -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 . 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 . - 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 . - is deferred; - - Orientation(me; aShape : TheShape) returns Orientation from TopAbs - ---Purpose: Returns the Orientation of . - is deferred; - - SetOrientation(me; aShape : in out TheShape; Or : Orientation from TopAbs) - ---Purpose: Set the Orientation of 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; diff --git a/src/Sweep/Sweep_Tool.gxx b/src/Sweep/Sweep_Tool.gxx deleted file mode 100644 index 850d0490ec..0000000000 --- a/src/Sweep/Sweep_Tool.gxx +++ /dev/null @@ -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. diff --git a/src/TopClass/TopClass.cdl b/src/TopClass/TopClass.cdl index 72ec9d91a2..bb3f96f025 100644 --- a/src/TopClass/TopClass.cdl +++ b/src/TopClass/TopClass.cdl @@ -30,18 +30,11 @@ uses IntCurveSurface --- TopExp ------------- Pas Utilise mais sinon ca plante !!! -is - - deferred generic class Intersection2d; - ---Purpose: Describes the intersection algorithm for 2d - -- classifications. +is generic class Classifier2d; ---Purpose: Basic algorithm for 2d classifications. - - deferred generic class FaceExplorer; - ---Purpose: Defines the description of a face for the - -- FaceClassifier. + generic class FaceClassifier, FClass2d; ---Purpose: Algorithm for classification in a Face. diff --git a/src/TopClass/TopClass_Classifier2d.cdl b/src/TopClass/TopClass_Classifier2d.cdl index cb0e213b34..668be0add3 100644 --- a/src/TopClass/TopClass_Classifier2d.cdl +++ b/src/TopClass/TopClass_Classifier2d.cdl @@ -19,7 +19,7 @@ generic class Classifier2d from TopClass (TheEdge as any; - TheIntersector as any) -- as Intersection2d from TopClass + TheIntersector as any) ---Purpose: diff --git a/src/TopClass/TopClass_FaceExplorer.cdl b/src/TopClass/TopClass_FaceExplorer.cdl deleted file mode 100644 index 939446f4b7..0000000000 --- a/src/TopClass/TopClass_FaceExplorer.cdl +++ /dev/null @@ -1,84 +0,0 @@ --- Created on: 1992-11-17 --- Created by: Remi LEQUETTE --- 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 FaceExplorer from TopClass - (TheEdge as any) - - ---Purpose: Describe an exploration of a 2D face suitable for - -- classification. - -uses - Orientation from TopAbs, - Pnt2d from gp, - Lin2d from gp - -is - Reject(me; P : Pnt2d from gp) returns Boolean - ---Purpose: Should return True if the point is outside a - -- bounding volume of the face. - is deferred; - - Segment(me; P : Pnt2d from gp; - L : out Lin2d from gp; Par : out Real) - ---Purpose: Returns in , a segment having at least - -- one intersection with the face boundary to - -- compute intersections. - is deferred; - - InitWires(me : in out) - ---Purpose: Starts an exploration of the wires. - is deferred; - - MoreWires(me) returns Boolean - ---Purpose: Returns True if there is a current wire. - ---C++: inline - is deferred; - - NextWire(me : in out) - ---Purpose: Sets the explorer to the next wire and returns - -- False if there are no more wires. - is deferred; - - RejectWire(me; L : Lin2d from gp; Par : Real) returns Boolean - ---Purpose: Returns True if the wire bounding volume does not - -- intersect the segment. - is deferred; - - InitEdges(me : in out) - ---Purpose: Starts an exploration of the edges of the current - -- wire. - is deferred; - - MoreEdges(me) returns Boolean - ---Purpose: Returns True if there is a current edge. - ---C++: inline - is deferred; - - NextEdge(me : in out) - ---Purpose: Sets the explorer to the next wire and returns - -- False if there are no more wires. - is deferred; - - RejectEdge(me; L : Lin2d from gp; Par : Real) returns Boolean - ---Purpose: Returns True if the edge bounding volume does not - -- intersect the segment. - is deferred; - - CurrentEdge(me; E : out TheEdge; Or : out Orientation from TopAbs) - ---Purpose: Curent edge in current wire and its orientation - is deferred; - -end FaceExplorer; diff --git a/src/TopClass/TopClass_FaceExplorer.gxx b/src/TopClass/TopClass_FaceExplorer.gxx deleted file mode 100644 index de428d877b..0000000000 --- a/src/TopClass/TopClass_FaceExplorer.gxx +++ /dev/null @@ -1,15 +0,0 @@ -// Created on: 1997-05-12 -// Created by: Didier PIFFAULT -// Copyright (c) 1997-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. diff --git a/src/TopClass/TopClass_FaceExplorer.lxx b/src/TopClass/TopClass_FaceExplorer.lxx deleted file mode 100644 index ec3f5db677..0000000000 --- a/src/TopClass/TopClass_FaceExplorer.lxx +++ /dev/null @@ -1,15 +0,0 @@ -// Created on: 1996-10-23 -// Created by: Laurent BUCHARD -// 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. diff --git a/src/TopClass/TopClass_Intersection2d.cdl b/src/TopClass/TopClass_Intersection2d.cdl deleted file mode 100644 index 8b65b86f60..0000000000 --- a/src/TopClass/TopClass_Intersection2d.cdl +++ /dev/null @@ -1,60 +0,0 @@ --- Created on: 1992-11-17 --- Created by: Remi LEQUETTE --- 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 Intersection2d from TopClass - (TheEdge as any) inherits Intersection from IntRes2d - - ---Purpose: Template class for the intersection algorithm - -- required by the 2D classifications. - -- - -- The results should be expressed as the result of - -- Intersection from IntRes2d. The class used to - -- instantiate the Classifier2d can be inherited from - -- the Intersection algorithms inherited from - -- Intersection from IntRes2d. - -- - -- It is not necesary to return all the Intersection - -- points, the point with the smallest parameter - -- value on the segment is enough. - -uses - Lin2d from gp, - Dir2d from gp - -is - Initialize; - ---Purpose: An empty constructor is required. - - Perform(me : in out; L : Lin2d from gp; P : Real; Tol : Real; E : TheEdge) - ---Purpose: Performs the intersection between the 2d line - -- segment (,

) and the Edge . The line - -- segment is the part of the 2d line of - -- parameter range [0,

] (P is positive and can be - -- RealLast()). Tol is the Tolerance on the segment. - -- The order is relevant, the first argument is the - -- segment, the second the Edge. - is deferred; - - LocalGeometry(me; E : TheEdge; U : Real; - T : out Dir2d from gp; - N : out Dir2d from gp; - C : out Real) - ---Purpose: Returns in , and the tangent, normal - -- and curvature of the edge at parameter value - -- . - is deferred; - -end Intersection2d; diff --git a/src/TopClass/TopClass_Intersection2d.gxx b/src/TopClass/TopClass_Intersection2d.gxx deleted file mode 100644 index ec3f5db677..0000000000 --- a/src/TopClass/TopClass_Intersection2d.gxx +++ /dev/null @@ -1,15 +0,0 @@ -// Created on: 1996-10-23 -// Created by: Laurent BUCHARD -// 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.