]> gerrit.simantics Code Review - simantics/3d.git/blob - org.jcae.opencascade/src/GC.i
PipeRun reverse action
[simantics/3d.git] / org.jcae.opencascade / src / GC.i
1 /*\r
2  * Project Info:  http://jcae.sourceforge.net\r
3  * \r
4  * This program is free software; you can redistribute it and/or modify it under\r
5  * the terms of the GNU Lesser General Public License as published by the Free\r
6  * Software Foundation; either version 2.1 of the License, or (at your option)\r
7  * any later version.\r
8  *\r
9  * This program is distributed in the hope that it will be useful, but WITHOUT\r
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r
11  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more\r
12  * details.\r
13  *\r
14  *\r
15  * @author Jens Schmidt\r
16  *\r
17  */\r
18 \r
19  %{#include <GC_Root.hxx>%}\r
20 \r
21 class GC_Root {\r
22         \r
23         %rename(isDone) IsDone;\r
24         \r
25         public:\r
26                 \r
27         Standard_Boolean IsDone() const;        \r
28 \r
29 };\r
30  \r
31  %{#include <GC_MakeArcOfCircle.hxx>%}\r
32  \r
33  class GC_MakeArcOfCircle : public GC_Root {  // inheritance by VTT\r
34    %rename(value) Value;           // by VTT\r
35    public:\r
36    GC_MakeArcOfCircle(const gp_Pnt& P1,const gp_Pnt& P2,const gp_Pnt& P3);\r
37    GC_MakeArcOfCircle(const gp_Circ& Circ,const gp_Pnt& P1,const gp_Pnt& P2,const Standard_Boolean Sense);\r
38    const Handle_Geom_TrimmedCurve& Value() const;\r
39 \r
40    // by VTT\r
41    GC_MakeArcOfCircle(const gp_Circ& Circ,const Standard_Real Alpha1,const Standard_Real Alpha2,const Standard_Boolean Sense);\r
42    GC_MakeArcOfCircle(const gp_Circ& Circ,const gp_Pnt& P,const Standard_Real Alpha,const Standard_Boolean Sense);\r
43         \r
44  };\r
45 \r
46 \r
47 \r
48  /*******************************************************************\r
49  *                                                                 *\r
50  *  VTT                                                            *\r
51  *                                                                 *\r
52  *******************************************************************/\r
53 \r
54 \r
55 \r
56  %{#include <GC_MakeSegment.hxx>%}\r
57 class GC_MakeSegment : public GC_Root {\r
58         %rename(value) Value;\r
59         //%rename(operator) Operator;\r
60         \r
61         public :\r
62         GC_MakeSegment(const gp_Pnt& P1,const gp_Pnt& P2);\r
63         GC_MakeSegment(const gp_Lin& Line,const Standard_Real U1,const Standard_Real U2);\r
64         GC_MakeSegment(const gp_Lin& Line,const gp_Pnt& Point,const Standard_Real Ulast);\r
65         GC_MakeSegment(const gp_Lin& Line,const gp_Pnt& P1,const gp_Pnt& P2);\r
66         const Handle_Geom_TrimmedCurve& Value() const;\r
67         //const Handle_Geom_TrimmedCurve& Operator() const;\r
68 \r
69 };\r
70 \r
71  %{#include <GC_MakeArcOfEllipse.hxx>%}\r
72  \r
73  class GC_MakeArcOfEllipse : public GC_Root { \r
74    %rename(value) Value;           // by VTT\r
75    public:\r
76    GC_MakeArcOfEllipse(const gp_Elips& Elips,const Standard_Real Alpha1,const Standard_Real Alpha2,const Standard_Boolean Sense);\r
77    GC_MakeArcOfEllipse(const gp_Elips& Elips,const gp_Pnt& P,const Standard_Real Alpha,const Standard_Boolean Sense);\r
78    GC_MakeArcOfEllipse(const gp_Elips& Elips,const gp_Pnt& P1,const gp_Pnt& P2,const Standard_Boolean Sense);\r
79    const Handle_Geom_TrimmedCurve& Value() const;\r
80 \r
81    // by VTT\r
82  \r
83         \r
84  };