X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.jcae.opencascade%2Fsrc-java%2Forg%2Fjcae%2Fopencascade%2Fjni%2FBRepBuilderAPI_MakeEdge.java;h=0579c40463257b24fa0655272b61f25f4b99e66d;hb=HEAD;hp=1a3c1793c6e25baaf00077753e98efa121581bc7;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeEdge.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeEdge.java index 1a3c1793..0579c404 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeEdge.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeEdge.java @@ -1,178 +1,186 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepBuilderAPI_MakeEdge extends BRepBuilderAPI_MakeShape { - private long swigCPtr; - - public BRepBuilderAPI_MakeEdge(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepBuilderAPI_MakeEdge_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepBuilderAPI_MakeEdge obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepBuilderAPI_MakeEdge(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepBuilderAPI_MakeEdge() { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_0(), true); - } - - public BRepBuilderAPI_MakeEdge(Geom_Curve L) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_1(Geom_Curve.getCPtr(L), L), true); - } - - public BRepBuilderAPI_MakeEdge(TopoDS_Vertex V1, TopoDS_Vertex V2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_2(TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); - } - - public BRepBuilderAPI_MakeEdge(double[] P1, double[] P2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_3(P1, P2), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Circ L) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_4(GP_Circ.getCPtr(L), L), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Circ L, double p1, double p2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_5(GP_Circ.getCPtr(L), L, p1, p2), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Circ L, double[] P1, double[] P2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_6(GP_Circ.getCPtr(L), L, P1, P2), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Circ L, TopoDS_Vertex V1, TopoDS_Vertex V2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_7(GP_Circ.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Parab L) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_8(GP_Parab.getCPtr(L), L), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Parab L, double p1, double p2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_9(GP_Parab.getCPtr(L), L, p1, p2), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Parab L, double[] P1, double[] P2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_10(GP_Parab.getCPtr(L), L, P1, P2), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Parab L, TopoDS_Vertex V1, TopoDS_Vertex V2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_11(GP_Parab.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); - } - - public boolean isDone() { - return OccJavaJNI.BRepBuilderAPI_MakeEdge_isDone(swigCPtr, this); -} - - public BRepBuilderAPI_MakeEdge(GP_Lin L) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_12(GP_Lin.getCPtr(L), L), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Lin L, double p1, double p2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_13(GP_Lin.getCPtr(L), L, p1, p2), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Lin L, double[] P1, double[] P2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_14(GP_Lin.getCPtr(L), L, P1, P2), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Lin L, TopoDS_Vertex V1, TopoDS_Vertex V2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_15(GP_Lin.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Elips L) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_16(GP_Elips.getCPtr(L), L), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Elips L, double p1, double p2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_17(GP_Elips.getCPtr(L), L, p1, p2), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Elips L, double[] P1, double[] P2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_18(GP_Elips.getCPtr(L), L, P1, P2), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Elips L, TopoDS_Vertex V1, TopoDS_Vertex V2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_19(GP_Elips.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); - } - - public BRepBuilderAPI_MakeEdge(SWIGTYPE_p_gp_Hypr L) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_20(SWIGTYPE_p_gp_Hypr.getCPtr(L)), true); - } - - public BRepBuilderAPI_MakeEdge(SWIGTYPE_p_gp_Hypr L, double p1, double p2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_21(SWIGTYPE_p_gp_Hypr.getCPtr(L), p1, p2), true); - } - - public BRepBuilderAPI_MakeEdge(SWIGTYPE_p_gp_Hypr L, double[] P1, double[] P2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_22(SWIGTYPE_p_gp_Hypr.getCPtr(L), P1, P2), true); - } - - public BRepBuilderAPI_MakeEdge(SWIGTYPE_p_gp_Hypr L, TopoDS_Vertex V1, TopoDS_Vertex V2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_23(SWIGTYPE_p_gp_Hypr.getCPtr(L), TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); - } - - public BRepBuilderAPI_MakeEdge(Geom_Curve L, double p1, double p2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_24(Geom_Curve.getCPtr(L), L, p1, p2), true); - } - - public BRepBuilderAPI_MakeEdge(Geom_Curve L, double[] P1, double[] P2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_25(Geom_Curve.getCPtr(L), L, P1, P2), true); - } - - public BRepBuilderAPI_MakeEdge(Geom_Curve L, TopoDS_Vertex V1, TopoDS_Vertex V2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_26(Geom_Curve.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); - } - - public BRepBuilderAPI_MakeEdge(Geom_Curve L, double[] P1, double[] P2, double p1, double p2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_27(Geom_Curve.getCPtr(L), L, P1, P2, p1, p2), true); - } - - public BRepBuilderAPI_MakeEdge(Geom_Curve L, TopoDS_Vertex V1, TopoDS_Vertex V2, double p1, double p2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_28(Geom_Curve.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2, p1, p2), true); - } - - public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_29(Geom2d_Curve.getCPtr(L), L, Geom_Surface.getCPtr(S), S), true); - } - - public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S, double p1, double p2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_30(Geom2d_Curve.getCPtr(L), L, Geom_Surface.getCPtr(S), S, p1, p2), true); - } - - public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S, double[] P1, double[] P2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_31(Geom2d_Curve.getCPtr(L), L, Geom_Surface.getCPtr(S), S, P1, P2), true); - } - - public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S, TopoDS_Vertex V1, TopoDS_Vertex V2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_32(Geom2d_Curve.getCPtr(L), L, Geom_Surface.getCPtr(S), S, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); - } - - public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S, double[] P1, double[] P2, double p1, double p2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_33(Geom2d_Curve.getCPtr(L), L, Geom_Surface.getCPtr(S), S, P1, P2, p1, p2), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepBuilderAPI_MakeEdge extends BRepBuilderAPI_MakeShape { + private transient long swigCPtr; + + protected BRepBuilderAPI_MakeEdge(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepBuilderAPI_MakeEdge_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepBuilderAPI_MakeEdge obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepBuilderAPI_MakeEdge(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepBuilderAPI_MakeEdge() { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_0(), true); + } + + public BRepBuilderAPI_MakeEdge(Geom_Curve L) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_1(Geom_Curve.getCPtr(L), L), true); + } + + public BRepBuilderAPI_MakeEdge(TopoDS_Vertex V1, TopoDS_Vertex V2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_2(TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); + } + + public BRepBuilderAPI_MakeEdge(double[] P1, double[] P2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_3(P1, P2), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Circ L) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_4(GP_Circ.getCPtr(L), L), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Circ L, double p1, double p2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_5(GP_Circ.getCPtr(L), L, p1, p2), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Circ L, double[] P1, double[] P2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_6(GP_Circ.getCPtr(L), L, P1, P2), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Circ L, TopoDS_Vertex V1, TopoDS_Vertex V2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_7(GP_Circ.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Parab L) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_8(GP_Parab.getCPtr(L), L), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Parab L, double p1, double p2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_9(GP_Parab.getCPtr(L), L, p1, p2), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Parab L, double[] P1, double[] P2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_10(GP_Parab.getCPtr(L), L, P1, P2), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Parab L, TopoDS_Vertex V1, TopoDS_Vertex V2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_11(GP_Parab.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); + } + + public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_12(Geom2d_Curve.getCPtr(L), L, Geom_Surface.getCPtr(S), S), true); + } + + public BRepBuilderAPI_MakeEdge(Geom_TrimmedCurve L) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_13(Geom_TrimmedCurve.getCPtr(L), L), true); + } + + public boolean isDone() { + return OccJavaJNI.BRepBuilderAPI_MakeEdge_isDone(swigCPtr, this); +} + + public TopoDS_Edge edge() { + return new TopoDS_Edge(OccJavaJNI.BRepBuilderAPI_MakeEdge_edge(swigCPtr, this), false); + } + + public BRepBuilderAPI_MakeEdge(GP_Lin L) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_14(GP_Lin.getCPtr(L), L), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Lin L, double p1, double p2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_15(GP_Lin.getCPtr(L), L, p1, p2), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Lin L, double[] P1, double[] P2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_16(GP_Lin.getCPtr(L), L, P1, P2), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Lin L, TopoDS_Vertex V1, TopoDS_Vertex V2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_17(GP_Lin.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Elips L) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_18(GP_Elips.getCPtr(L), L), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Elips L, double p1, double p2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_19(GP_Elips.getCPtr(L), L, p1, p2), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Elips L, double[] P1, double[] P2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_20(GP_Elips.getCPtr(L), L, P1, P2), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Elips L, TopoDS_Vertex V1, TopoDS_Vertex V2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_21(GP_Elips.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); + } + + public BRepBuilderAPI_MakeEdge(SWIGTYPE_p_gp_Hypr L) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_22(SWIGTYPE_p_gp_Hypr.getCPtr(L)), true); + } + + public BRepBuilderAPI_MakeEdge(SWIGTYPE_p_gp_Hypr L, double p1, double p2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_23(SWIGTYPE_p_gp_Hypr.getCPtr(L), p1, p2), true); + } + + public BRepBuilderAPI_MakeEdge(SWIGTYPE_p_gp_Hypr L, double[] P1, double[] P2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_24(SWIGTYPE_p_gp_Hypr.getCPtr(L), P1, P2), true); + } + + public BRepBuilderAPI_MakeEdge(SWIGTYPE_p_gp_Hypr L, TopoDS_Vertex V1, TopoDS_Vertex V2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_25(SWIGTYPE_p_gp_Hypr.getCPtr(L), TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); + } + + public BRepBuilderAPI_MakeEdge(Geom_Curve L, double p1, double p2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_26(Geom_Curve.getCPtr(L), L, p1, p2), true); + } + + public BRepBuilderAPI_MakeEdge(Geom_Curve L, double[] P1, double[] P2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_27(Geom_Curve.getCPtr(L), L, P1, P2), true); + } + + public BRepBuilderAPI_MakeEdge(Geom_Curve L, TopoDS_Vertex V1, TopoDS_Vertex V2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_28(Geom_Curve.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); + } + + public BRepBuilderAPI_MakeEdge(Geom_Curve L, double[] P1, double[] P2, double p1, double p2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_29(Geom_Curve.getCPtr(L), L, P1, P2, p1, p2), true); + } + + public BRepBuilderAPI_MakeEdge(Geom_Curve L, TopoDS_Vertex V1, TopoDS_Vertex V2, double p1, double p2) { + 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); + } + + public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S, double p1, double p2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_31(Geom2d_Curve.getCPtr(L), L, Geom_Surface.getCPtr(S), S, p1, p2), true); + } + + public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S, double[] P1, double[] P2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_32(Geom2d_Curve.getCPtr(L), L, Geom_Surface.getCPtr(S), S, P1, P2), true); + } + + public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S, TopoDS_Vertex V1, TopoDS_Vertex V2) { + 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); + } + + public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S, double[] P1, double[] P2, double p1, double p2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_34(Geom2d_Curve.getCPtr(L), L, Geom_Surface.getCPtr(S), S, P1, P2, p1, p2), true); + } + +}