b311480e |
1 | -- Created on: 1994-05-19 |
2 | -- Created by: Yves FRICAUD |
3 | -- Copyright (c) 1994-1999 Matra Datavision |
4 | -- Copyright (c) 1999-2012 OPEN CASCADE SAS |
5 | -- |
6 | -- The content of this file is subject to the Open CASCADE Technology Public |
7 | -- License Version 6.5 (the "License"). You may not use the content of this file |
8 | -- except in compliance with the License. Please obtain a copy of the License |
9 | -- at http://www.opencascade.org and read it completely before using this file. |
10 | -- |
11 | -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its |
12 | -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. |
13 | -- |
14 | -- The Original Code and all software distributed under the License is |
15 | -- distributed on an "AS IS" basis, without warranty of any kind, and the |
16 | -- Initial Developer hereby disclaims all such warranties, including without |
17 | -- limitation, any warranties of merchantability, fitness for a particular |
18 | -- purpose or non-infringement. Please see the License for the specific terms |
19 | -- and conditions governing the rights and limitations under the License. |
20 | |
7fd59977 |
21 | |
22 | package Bisector |
23 | |
24 | --- Purpose : This package provides the bisecting line between two |
25 | -- geometric elements. |
26 | |
27 | uses |
28 | MMgt, |
29 | Standard, |
30 | TCollection, |
31 | TColStd, |
32 | TColgp, |
7fd59977 |
33 | Geom2d, |
34 | GeomAbs, |
35 | gp, |
36 | math, |
37 | IntCurve, |
38 | GccInt, |
39 | StdFail, |
40 | IntRes2d |
41 | is |
42 | |
43 | deferred class Curve; |
44 | |
45 | class BisecAna; |
46 | --- Purpose: This class provides the bisecting line between two |
47 | -- geometric elements.The elements are Circles,Lines or |
48 | -- Points. |
49 | |
50 | class BisecPC; |
51 | ---Purpose: This class provides the bisecting line between a point |
52 | -- a Curve. |
53 | |
54 | class BisecCC; |
55 | ---Purpose: This class provides the bisecting line between two |
56 | -- Curves. |
57 | |
58 | class Bisec; |
59 | ---Purpose: This class provides the bisecting line between two |
60 | -- geometris elelements. The bisecting line is |
61 | -- trimmed by a point, |
62 | |
63 | class Inter; |
64 | |
65 | class PointOnBis; |
66 | |
67 | class PolyBis; |
68 | |
69 | private class FunctionH; |
70 | |
71 | private class FunctionInter; |
72 | |
73 | IsConvex (Cu : Curve from Geom2d; Sign : Real) |
74 | returns Boolean from Standard; |
75 | |
76 | end Bisector; |