]> gerrit.simantics Code Review - simantics/3d.git/blob - org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeEdge.java
Remove dependencies on log4j
[simantics/3d.git] / org.jcae.opencascade / src-java / org / jcae / opencascade / jni / BRepBuilderAPI_MakeEdge.java
1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (http://www.swig.org).
3  * Version 3.0.12
4  *
5  * Do not make changes to this file unless you know what you are doing--modify
6  * the SWIG interface file instead.
7  * ----------------------------------------------------------------------------- */
8
9 package org.jcae.opencascade.jni;
10
11 public class BRepBuilderAPI_MakeEdge extends BRepBuilderAPI_MakeShape {
12   private transient long swigCPtr;
13
14   protected BRepBuilderAPI_MakeEdge(long cPtr, boolean cMemoryOwn) {
15     super(OccJavaJNI.BRepBuilderAPI_MakeEdge_SWIGUpcast(cPtr), cMemoryOwn);
16     swigCPtr = cPtr;
17   }
18
19   protected static long getCPtr(BRepBuilderAPI_MakeEdge obj) {
20     return (obj == null) ? 0 : obj.swigCPtr;
21   }
22
23   protected void finalize() {
24     delete();
25   }
26
27   public synchronized void delete() {
28     if (swigCPtr != 0) {
29       if (swigCMemOwn) {
30         swigCMemOwn = false;
31         OccJavaJNI.delete_BRepBuilderAPI_MakeEdge(swigCPtr);
32       }
33       swigCPtr = 0;
34     }
35     super.delete();
36   }
37
38   public BRepBuilderAPI_MakeEdge() {
39     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_0(), true);
40   }
41
42   public BRepBuilderAPI_MakeEdge(Geom_Curve L) {
43     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_1(Geom_Curve.getCPtr(L), L), true);
44   }
45
46   public BRepBuilderAPI_MakeEdge(TopoDS_Vertex V1, TopoDS_Vertex V2) {
47     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_2(TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true);
48   }
49
50   public BRepBuilderAPI_MakeEdge(double[] P1, double[] P2) {
51     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_3(P1, P2), true);
52   }
53
54   public BRepBuilderAPI_MakeEdge(GP_Circ L) {
55     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_4(GP_Circ.getCPtr(L), L), true);
56   }
57
58   public BRepBuilderAPI_MakeEdge(GP_Circ L, double p1, double p2) {
59     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_5(GP_Circ.getCPtr(L), L, p1, p2), true);
60   }
61
62   public BRepBuilderAPI_MakeEdge(GP_Circ L, double[] P1, double[] P2) {
63     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_6(GP_Circ.getCPtr(L), L, P1, P2), true);
64   }
65
66   public BRepBuilderAPI_MakeEdge(GP_Circ L, TopoDS_Vertex V1, TopoDS_Vertex V2) {
67     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_7(GP_Circ.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true);
68   }
69
70   public BRepBuilderAPI_MakeEdge(GP_Parab L) {
71     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_8(GP_Parab.getCPtr(L), L), true);
72   }
73
74   public BRepBuilderAPI_MakeEdge(GP_Parab L, double p1, double p2) {
75     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_9(GP_Parab.getCPtr(L), L, p1, p2), true);
76   }
77
78   public BRepBuilderAPI_MakeEdge(GP_Parab L, double[] P1, double[] P2) {
79     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_10(GP_Parab.getCPtr(L), L, P1, P2), true);
80   }
81
82   public BRepBuilderAPI_MakeEdge(GP_Parab L, TopoDS_Vertex V1, TopoDS_Vertex V2) {
83     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_11(GP_Parab.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true);
84   }
85
86   public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S) {
87     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_12(Geom2d_Curve.getCPtr(L), L, Geom_Surface.getCPtr(S), S), true);
88   }
89
90   public BRepBuilderAPI_MakeEdge(Geom_TrimmedCurve L) {
91     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_13(Geom_TrimmedCurve.getCPtr(L), L), true);
92   }
93
94   public boolean isDone() {
95         return OccJavaJNI.BRepBuilderAPI_MakeEdge_isDone(swigCPtr, this);
96 }
97
98   public TopoDS_Edge edge() {
99     return new TopoDS_Edge(OccJavaJNI.BRepBuilderAPI_MakeEdge_edge(swigCPtr, this), false);
100   }
101
102   public BRepBuilderAPI_MakeEdge(GP_Lin L) {
103     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_14(GP_Lin.getCPtr(L), L), true);
104   }
105
106   public BRepBuilderAPI_MakeEdge(GP_Lin L, double p1, double p2) {
107     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_15(GP_Lin.getCPtr(L), L, p1, p2), true);
108   }
109
110   public BRepBuilderAPI_MakeEdge(GP_Lin L, double[] P1, double[] P2) {
111     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_16(GP_Lin.getCPtr(L), L, P1, P2), true);
112   }
113
114   public BRepBuilderAPI_MakeEdge(GP_Lin L, TopoDS_Vertex V1, TopoDS_Vertex V2) {
115     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_17(GP_Lin.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true);
116   }
117
118   public BRepBuilderAPI_MakeEdge(GP_Elips L) {
119     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_18(GP_Elips.getCPtr(L), L), true);
120   }
121
122   public BRepBuilderAPI_MakeEdge(GP_Elips L, double p1, double p2) {
123     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_19(GP_Elips.getCPtr(L), L, p1, p2), true);
124   }
125
126   public BRepBuilderAPI_MakeEdge(GP_Elips L, double[] P1, double[] P2) {
127     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_20(GP_Elips.getCPtr(L), L, P1, P2), true);
128   }
129
130   public BRepBuilderAPI_MakeEdge(GP_Elips L, TopoDS_Vertex V1, TopoDS_Vertex V2) {
131     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_21(GP_Elips.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true);
132   }
133
134   public BRepBuilderAPI_MakeEdge(SWIGTYPE_p_gp_Hypr L) {
135     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_22(SWIGTYPE_p_gp_Hypr.getCPtr(L)), true);
136   }
137
138   public BRepBuilderAPI_MakeEdge(SWIGTYPE_p_gp_Hypr L, double p1, double p2) {
139     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_23(SWIGTYPE_p_gp_Hypr.getCPtr(L), p1, p2), true);
140   }
141
142   public BRepBuilderAPI_MakeEdge(SWIGTYPE_p_gp_Hypr L, double[] P1, double[] P2) {
143     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_24(SWIGTYPE_p_gp_Hypr.getCPtr(L), P1, P2), true);
144   }
145
146   public BRepBuilderAPI_MakeEdge(SWIGTYPE_p_gp_Hypr L, TopoDS_Vertex V1, TopoDS_Vertex V2) {
147     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_25(SWIGTYPE_p_gp_Hypr.getCPtr(L), TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true);
148   }
149
150   public BRepBuilderAPI_MakeEdge(Geom_Curve L, double p1, double p2) {
151     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_26(Geom_Curve.getCPtr(L), L, p1, p2), true);
152   }
153
154   public BRepBuilderAPI_MakeEdge(Geom_Curve L, double[] P1, double[] P2) {
155     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_27(Geom_Curve.getCPtr(L), L, P1, P2), true);
156   }
157
158   public BRepBuilderAPI_MakeEdge(Geom_Curve L, TopoDS_Vertex V1, TopoDS_Vertex V2) {
159     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_28(Geom_Curve.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true);
160   }
161
162   public BRepBuilderAPI_MakeEdge(Geom_Curve L, double[] P1, double[] P2, double p1, double p2) {
163     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_29(Geom_Curve.getCPtr(L), L, P1, P2, p1, p2), true);
164   }
165
166   public BRepBuilderAPI_MakeEdge(Geom_Curve L, TopoDS_Vertex V1, TopoDS_Vertex V2, double p1, double p2) {
167     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_30(Geom_Curve.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2, p1, p2), true);
168   }
169
170   public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S, double p1, double p2) {
171     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_31(Geom2d_Curve.getCPtr(L), L, Geom_Surface.getCPtr(S), S, p1, p2), true);
172   }
173
174   public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S, double[] P1, double[] P2) {
175     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_32(Geom2d_Curve.getCPtr(L), L, Geom_Surface.getCPtr(S), S, P1, P2), true);
176   }
177
178   public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S, TopoDS_Vertex V1, TopoDS_Vertex V2) {
179     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_33(Geom2d_Curve.getCPtr(L), L, Geom_Surface.getCPtr(S), S, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true);
180   }
181
182   public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S, double[] P1, double[] P2, double p1, double p2) {
183     this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_34(Geom2d_Curve.getCPtr(L), L, Geom_Surface.getCPtr(S), S, P1, P2, p1, p2), true);
184   }
185
186 }