-/* ----------------------------------------------------------------------------\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 BRepMesh_IncrementalMesh extends BRepMesh_DiscretRoot {\r
- private long swigCPtr;\r
-\r
- public BRepMesh_IncrementalMesh(long cPtr, boolean cMemoryOwn) {\r
- super(OccJavaJNI.BRepMesh_IncrementalMesh_SWIGUpcast(cPtr), cMemoryOwn);\r
- swigCPtr = cPtr;\r
- }\r
-\r
- public static long getCPtr(BRepMesh_IncrementalMesh 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_BRepMesh_IncrementalMesh(swigCPtr);\r
- }\r
- swigCPtr = 0;\r
- }\r
- super.delete();\r
- }\r
-\r
- public BRepMesh_IncrementalMesh() {\r
- this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_0(), true);\r
- }\r
-\r
- public BRepMesh_IncrementalMesh(TopoDS_Shape S, double D, boolean Relatif, double Ang) {\r
- this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_1(TopoDS_Shape.getCPtr(S), S, D, Relatif, Ang), true);\r
- }\r
-\r
- public BRepMesh_IncrementalMesh(TopoDS_Shape S, double D, boolean Relatif) {\r
- this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_2(TopoDS_Shape.getCPtr(S), S, D, Relatif), true);\r
- }\r
-\r
- public BRepMesh_IncrementalMesh(TopoDS_Shape S, double D) {\r
- this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_3(TopoDS_Shape.getCPtr(S), S, D), true);\r
- }\r
-\r
- public void perform() {\r
- OccJavaJNI.BRepMesh_IncrementalMesh_perform(swigCPtr, this);\r
- }\r
-\r
- public void update(TopoDS_Shape S) {\r
- OccJavaJNI.BRepMesh_IncrementalMesh_update(swigCPtr, this, TopoDS_Shape.getCPtr(S), S);\r
- }\r
-\r
- public boolean isModified() {\r
- return OccJavaJNI.BRepMesh_IncrementalMesh_isModified(swigCPtr, this);\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 BRepMesh_IncrementalMesh extends BRepMesh_DiscretRoot {
+ private transient long swigCPtr;
+
+ protected BRepMesh_IncrementalMesh(long cPtr, boolean cMemoryOwn) {
+ super(OccJavaJNI.BRepMesh_IncrementalMesh_SWIGUpcast(cPtr), cMemoryOwn);
+ swigCPtr = cPtr;
+ }
+
+ protected static long getCPtr(BRepMesh_IncrementalMesh obj) {
+ return (obj == null) ? 0 : obj.swigCPtr;
+ }
+
+ protected void finalize() {
+ delete();
+ }
+
+ public synchronized void delete() {
+ if (swigCPtr != 0) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ OccJavaJNI.delete_BRepMesh_IncrementalMesh(swigCPtr);
+ }
+ swigCPtr = 0;
+ }
+ super.delete();
+ }
+
+ public BRepMesh_IncrementalMesh() {
+ this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_0(), true);
+ }
+
+ public BRepMesh_IncrementalMesh(TopoDS_Shape S, double D, boolean Relatif, double Ang) {
+ this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_1(TopoDS_Shape.getCPtr(S), S, D, Relatif, Ang), true);
+ }
+
+ public BRepMesh_IncrementalMesh(TopoDS_Shape S, double D, boolean Relatif) {
+ this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_2(TopoDS_Shape.getCPtr(S), S, D, Relatif), true);
+ }
+
+ public BRepMesh_IncrementalMesh(TopoDS_Shape S, double D) {
+ this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_3(TopoDS_Shape.getCPtr(S), S, D), true);
+ }
+
+ public void perform() {
+ OccJavaJNI.BRepMesh_IncrementalMesh_perform(swigCPtr, this);
+ }
+
+ public boolean isModified() {
+ return OccJavaJNI.BRepMesh_IncrementalMesh_isModified(swigCPtr, this);
+}
+
+}