-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 2.0.4\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-package org.jcae.opencascade.jni;\r
-\r
-public class BRepTools_Quilt {\r
- private long swigCPtr;\r
- protected boolean swigCMemOwn;\r
-\r
- public BRepTools_Quilt(long cPtr, boolean cMemoryOwn) {\r
- swigCMemOwn = cMemoryOwn;\r
- swigCPtr = cPtr;\r
- }\r
-\r
- public static long getCPtr(BRepTools_Quilt obj) {\r
- return (obj == null) ? 0 : obj.swigCPtr;\r
- }\r
-\r
- protected void finalize() {\r
- delete();\r
- }\r
-\r
- public synchronized void delete() {\r
- if (swigCPtr != 0) {\r
- if (swigCMemOwn) {\r
- swigCMemOwn = false;\r
- OccJavaJNI.delete_BRepTools_Quilt(swigCPtr);\r
- }\r
- swigCPtr = 0;\r
- }\r
- }\r
-\r
- public BRepTools_Quilt() {\r
- this(OccJavaJNI.new_BRepTools_Quilt(), true);\r
- }\r
-\r
- public void bind(TopoDS_Edge Eold, TopoDS_Edge Enew) {\r
- OccJavaJNI.BRepTools_Quilt_bind__SWIG_0(swigCPtr, this, TopoDS_Edge.getCPtr(Eold), Eold, TopoDS_Edge.getCPtr(Enew), Enew);\r
- }\r
-\r
- public void bind(TopoDS_Vertex Vold, TopoDS_Vertex Vnew) {\r
- OccJavaJNI.BRepTools_Quilt_bind__SWIG_1(swigCPtr, this, TopoDS_Vertex.getCPtr(Vold), Vold, TopoDS_Vertex.getCPtr(Vnew), Vnew);\r
- }\r
-\r
- public void add(TopoDS_Shape S) {\r
- OccJavaJNI.BRepTools_Quilt_add(swigCPtr, this, TopoDS_Shape.getCPtr(S), S);\r
- }\r
-\r
- public boolean isCopied(TopoDS_Shape S) {\r
- return OccJavaJNI.BRepTools_Quilt_isCopied(swigCPtr, this, TopoDS_Shape.getCPtr(S), S);\r
-}\r
-\r
- public TopoDS_Shape copy(TopoDS_Shape S) {\r
- long cPtr = OccJavaJNI.BRepTools_Quilt_copy(swigCPtr, this, TopoDS_Shape.getCPtr(S), S);\r
- return (TopoDS_Shape)TopoDS_Shape.create(cPtr);\r
-}\r
-\r
- public TopoDS_Shape shells() {\r
- long cPtr = OccJavaJNI.BRepTools_Quilt_shells(swigCPtr, this);\r
- return (TopoDS_Shape)TopoDS_Shape.create(cPtr);\r
-}\r
-\r
-}\r
+/* ----------------------------------------------------------------------------
+ * 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);
+}
+
+}