X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.jcae.opencascade%2Fsrc-java%2Forg%2Fjcae%2Fopencascade%2Fjni%2FBRepTools_Quilt.java;h=d881fa1bd0960a197e2ac65700a081d5d1ca9864;hb=3b5c59eca31e9db10c1a1dc6d244d6fd4f3578a2;hp=cd830e1a2facc563675c38eab86d77be2a4ce674;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepTools_Quilt.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepTools_Quilt.java index cd830e1a..d881fa1b 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepTools_Quilt.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepTools_Quilt.java @@ -1,68 +1,68 @@ -/* ---------------------------------------------------------------------------- - * 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 BRepTools_Quilt { - private long swigCPtr; - protected boolean swigCMemOwn; - - public BRepTools_Quilt(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(BRepTools_Quilt obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepTools_Quilt(swigCPtr); - } - swigCPtr = 0; - } - } - - public BRepTools_Quilt() { - this(OccJavaJNI.new_BRepTools_Quilt(), true); - } - - public void bind(TopoDS_Edge Eold, TopoDS_Edge Enew) { - OccJavaJNI.BRepTools_Quilt_bind__SWIG_0(swigCPtr, this, TopoDS_Edge.getCPtr(Eold), Eold, TopoDS_Edge.getCPtr(Enew), Enew); - } - - public void bind(TopoDS_Vertex Vold, TopoDS_Vertex Vnew) { - OccJavaJNI.BRepTools_Quilt_bind__SWIG_1(swigCPtr, this, TopoDS_Vertex.getCPtr(Vold), Vold, TopoDS_Vertex.getCPtr(Vnew), Vnew); - } - - public void add(TopoDS_Shape S) { - OccJavaJNI.BRepTools_Quilt_add(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); - } - - public boolean isCopied(TopoDS_Shape S) { - return OccJavaJNI.BRepTools_Quilt_isCopied(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); -} - - public TopoDS_Shape copy(TopoDS_Shape S) { - long cPtr = OccJavaJNI.BRepTools_Quilt_copy(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); - return (TopoDS_Shape)TopoDS_Shape.create(cPtr); -} - - public TopoDS_Shape shells() { - long cPtr = OccJavaJNI.BRepTools_Quilt_shells(swigCPtr, this); - return (TopoDS_Shape)TopoDS_Shape.create(cPtr); -} - -} +/* ---------------------------------------------------------------------------- + * 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 BRepTools_Quilt { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected BRepTools_Quilt(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepTools_Quilt obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepTools_Quilt(swigCPtr); + } + swigCPtr = 0; + } + } + + public BRepTools_Quilt() { + this(OccJavaJNI.new_BRepTools_Quilt(), true); + } + + public void bind(TopoDS_Edge Eold, TopoDS_Edge Enew) { + OccJavaJNI.BRepTools_Quilt_bind__SWIG_0(swigCPtr, this, TopoDS_Edge.getCPtr(Eold), Eold, TopoDS_Edge.getCPtr(Enew), Enew); + } + + public void bind(TopoDS_Vertex Vold, TopoDS_Vertex Vnew) { + OccJavaJNI.BRepTools_Quilt_bind__SWIG_1(swigCPtr, this, TopoDS_Vertex.getCPtr(Vold), Vold, TopoDS_Vertex.getCPtr(Vnew), Vnew); + } + + public void add(TopoDS_Shape S) { + OccJavaJNI.BRepTools_Quilt_add(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); + } + + public boolean isCopied(TopoDS_Shape S) { + return OccJavaJNI.BRepTools_Quilt_isCopied(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); +} + + public TopoDS_Shape copy(TopoDS_Shape S) { + long cPtr = OccJavaJNI.BRepTools_Quilt_copy(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); + return (TopoDS_Shape)TopoDS_Shape.create(cPtr); +} + + public TopoDS_Shape shells() { + long cPtr = OccJavaJNI.BRepTools_Quilt_shells(swigCPtr, this); + return (TopoDS_Shape)TopoDS_Shape.create(cPtr); +} + +}