0024773: Convertation of the generic classes to the non-generic. Part 7
[occt.git] / src / GccIter / GccIter.cdl
CommitLineData
b311480e 1-- Created on: 1991-04-04
2-- Created by: Remi GILET
3-- Copyright (c) 1991-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
d5f74e42 8-- This library is free software; you can redistribute it and/or modify it under
9-- the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 10-- by the Free Software Foundation, with special exception defined in the file
11-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12-- distribution for complete text of the license and disclaimer of any warranty.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17package GccIter
18
19 ---Purpose :
20 -- This package provides an implementation of analytics
21 -- algorithms (using only non persistant entities) used
22 -- to create 2d lines or circles with geometric constraints.
23 --
24 -- Exceptions :
25 -- IsParallel which inherits DomainError. This exception
26 -- is raised in the class Lin2dTanObl when we want to
27 -- find the intersection point between the solution and
28 -- the second argument with a null angle.
29
30uses GccEnt,
31 GccInt,
32 GccAna,
33 StdFail,
34 gp,
35 math
36
37is
38
39enumeration Type1 is CuCuCu,CiCuCu,CiCiCu,CiLiCu,LiLiCu,LiCuCu;
40
41enumeration Type2 is CuCuOnCu,CiCuOnCu,LiCuOnCu,CuPtOnCu,
42 CuCuOnLi,CiCuOnLi,LiCuOnLi,CuPtOnLi,
43 CuCuOnCi,CiCuOnCi,LiCuOnCi,CuPtOnCi;
44
45enumeration Type3 is CuCu,CiCu;
46
47generic class FunctionTanCuCu;
48
49generic class FunctionTanCirCu;
50
51generic class FunctionTanCuCuCu;
52
53generic class FunctionTanCuCuOnCu;
54
55generic class FunctionTanCuPnt;
56
57generic class FunctionTanObl;
58
59generic class Lin2dTanObl, FuncTObl;
60 -- Create a 2d line TANgent to a 2d curve and OBLic to a 2d line.
61
62generic class Lin2d2Tan, FuncTCuCu, FuncTCirCu, FuncTCuPt;
63 -- Create a 2d line TANgent to 2 2d entities.
64
65generic class Circ2d3Tan, FuncTCuCuCu;
66 -- Create a 2d circle TANgent to 3 2d entities.
67
68generic class Circ2d2TanOn, FuncTCuCuOnCu;
69 -- Create a 2d circle TANgent to a 2d entity and centered ON a 2d
70 -- entity (not a point).
71
72exception IsParallel inherits DomainError from Standard;
73
74end GccIter;