1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * Do not make changes to this file unless you know what you are doing--modify
6 * the SWIG interface file instead.
7 * ----------------------------------------------------------------------------- */
9 package org.jcae.opencascade.jni;
11 public class BRepBuilderAPI_MakeEdge extends BRepBuilderAPI_MakeShape {
12 private transient long swigCPtr;
14 protected BRepBuilderAPI_MakeEdge(long cPtr, boolean cMemoryOwn) {
15 super(OccJavaJNI.BRepBuilderAPI_MakeEdge_SWIGUpcast(cPtr), cMemoryOwn);
19 protected static long getCPtr(BRepBuilderAPI_MakeEdge obj) {
20 return (obj == null) ? 0 : obj.swigCPtr;
23 protected void finalize() {
27 public synchronized void delete() {
31 OccJavaJNI.delete_BRepBuilderAPI_MakeEdge(swigCPtr);
38 public BRepBuilderAPI_MakeEdge() {
39 this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_0(), true);
42 public BRepBuilderAPI_MakeEdge(Geom_Curve L) {
43 this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_1(Geom_Curve.getCPtr(L), L), true);
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);
50 public BRepBuilderAPI_MakeEdge(double[] P1, double[] P2) {
51 this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_3(P1, P2), true);
54 public BRepBuilderAPI_MakeEdge(GP_Circ L) {
55 this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_4(GP_Circ.getCPtr(L), L), true);
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);
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);
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);
70 public BRepBuilderAPI_MakeEdge(GP_Parab L) {
71 this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_8(GP_Parab.getCPtr(L), L), true);
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);
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);
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);
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);
90 public BRepBuilderAPI_MakeEdge(Geom_TrimmedCurve L) {
91 this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_13(Geom_TrimmedCurve.getCPtr(L), L), true);
94 public boolean isDone() {
95 return OccJavaJNI.BRepBuilderAPI_MakeEdge_isDone(swigCPtr, this);
98 public TopoDS_Edge edge() {
99 return new TopoDS_Edge(OccJavaJNI.BRepBuilderAPI_MakeEdge_edge(swigCPtr, this), false);
102 public BRepBuilderAPI_MakeEdge(GP_Lin L) {
103 this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_14(GP_Lin.getCPtr(L), L), true);
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);
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);
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);
118 public BRepBuilderAPI_MakeEdge(GP_Elips L) {
119 this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_18(GP_Elips.getCPtr(L), L), true);
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);
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);
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);
134 public BRepBuilderAPI_MakeEdge(SWIGTYPE_p_gp_Hypr L) {
135 this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_22(SWIGTYPE_p_gp_Hypr.getCPtr(L)), true);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);