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 | |
17 | package 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 | |
30 | uses GccEnt, |
31 | GccInt, |
32 | GccAna, |
33 | StdFail, |
34 | gp, |
35 | math |
36 | |
37 | is |
38 | |
39 | enumeration Type1 is CuCuCu,CiCuCu,CiCiCu,CiLiCu,LiLiCu,LiCuCu; |
40 | |
41 | enumeration Type2 is CuCuOnCu,CiCuOnCu,LiCuOnCu,CuPtOnCu, |
42 | CuCuOnLi,CiCuOnLi,LiCuOnLi,CuPtOnLi, |
43 | CuCuOnCi,CiCuOnCi,LiCuOnCi,CuPtOnCi; |
44 | |
45 | enumeration Type3 is CuCu,CiCu; |
46 | |
47 | generic class FunctionTanCuCu; |
48 | |
49 | generic class FunctionTanCirCu; |
50 | |
51 | generic class FunctionTanCuCuCu; |
52 | |
53 | generic class FunctionTanCuCuOnCu; |
54 | |
55 | generic class FunctionTanCuPnt; |
56 | |
57 | generic class FunctionTanObl; |
58 | |
59 | generic class Lin2dTanObl, FuncTObl; |
60 | -- Create a 2d line TANgent to a 2d curve and OBLic to a 2d line. |
61 | |
62 | generic class Lin2d2Tan, FuncTCuCu, FuncTCirCu, FuncTCuPt; |
63 | -- Create a 2d line TANgent to 2 2d entities. |
64 | |
65 | generic class Circ2d3Tan, FuncTCuCuCu; |
66 | -- Create a 2d circle TANgent to 3 2d entities. |
67 | |
68 | generic class Circ2d2TanOn, FuncTCuCuOnCu; |
69 | -- Create a 2d circle TANgent to a 2d entity and centered ON a 2d |
70 | -- entity (not a point). |
71 | |
72 | exception IsParallel inherits DomainError from Standard; |
73 | |
74 | end GccIter; |