-/* ----------------------------------------------------------------------------\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 TopoDS_Builder {\r
- private long swigCPtr;\r
- protected boolean swigCMemOwn;\r
-\r
- public TopoDS_Builder(long cPtr, boolean cMemoryOwn) {\r
- swigCMemOwn = cMemoryOwn;\r
- swigCPtr = cPtr;\r
- }\r
-\r
- public static long getCPtr(TopoDS_Builder 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_TopoDS_Builder(swigCPtr);\r
- }\r
- swigCPtr = 0;\r
- }\r
- }\r
-\r
- public void makeWire(TopoDS_Wire W) {\r
- OccJavaJNI.TopoDS_Builder_makeWire(swigCPtr, this, TopoDS_Wire.getCPtr(W), W);\r
- }\r
-\r
- public void makeCompound(TopoDS_Compound C) {\r
- OccJavaJNI.TopoDS_Builder_makeCompound(swigCPtr, this, TopoDS_Compound.getCPtr(C), C);\r
- }\r
-\r
- public void add(TopoDS_Shape S, TopoDS_Shape C) {\r
- OccJavaJNI.TopoDS_Builder_add(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, TopoDS_Shape.getCPtr(C), C);\r
- }\r
-\r
- public void remove(TopoDS_Shape S, TopoDS_Shape C) {\r
- OccJavaJNI.TopoDS_Builder_remove(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, TopoDS_Shape.getCPtr(C), C);\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 TopoDS_Builder {
+ private transient long swigCPtr;
+ protected transient boolean swigCMemOwn;
+
+ protected TopoDS_Builder(long cPtr, boolean cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ protected static long getCPtr(TopoDS_Builder obj) {
+ return (obj == null) ? 0 : obj.swigCPtr;
+ }
+
+ protected void finalize() {
+ delete();
+ }
+
+ public synchronized void delete() {
+ if (swigCPtr != 0) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ OccJavaJNI.delete_TopoDS_Builder(swigCPtr);
+ }
+ swigCPtr = 0;
+ }
+ }
+
+ public void makeWire(TopoDS_Wire W) {
+ OccJavaJNI.TopoDS_Builder_makeWire(swigCPtr, this, TopoDS_Wire.getCPtr(W), W);
+ }
+
+ public void makeCompound(TopoDS_Compound C) {
+ OccJavaJNI.TopoDS_Builder_makeCompound(swigCPtr, this, TopoDS_Compound.getCPtr(C), C);
+ }
+
+ public void add(TopoDS_Shape S, TopoDS_Shape C) {
+ OccJavaJNI.TopoDS_Builder_add(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, TopoDS_Shape.getCPtr(C), C);
+ }
+
+ public void remove(TopoDS_Shape S, TopoDS_Shape C) {
+ OccJavaJNI.TopoDS_Builder_remove(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, TopoDS_Shape.getCPtr(C), C);
+ }
+
+}