-/* ----------------------------------------------------------------------------\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 GC_MakeArcOfEllipse extends GC_Root {\r
- private long swigCPtr;\r
-\r
- public GC_MakeArcOfEllipse(long cPtr, boolean cMemoryOwn) {\r
- super(OccJavaJNI.GC_MakeArcOfEllipse_SWIGUpcast(cPtr), cMemoryOwn);\r
- swigCPtr = cPtr;\r
- }\r
-\r
- public static long getCPtr(GC_MakeArcOfEllipse 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_GC_MakeArcOfEllipse(swigCPtr);\r
- }\r
- swigCPtr = 0;\r
- }\r
- super.delete();\r
- }\r
-\r
- public GC_MakeArcOfEllipse(GP_Elips Elips, double Alpha1, double Alpha2, boolean Sense) {\r
- this(OccJavaJNI.new_GC_MakeArcOfEllipse__SWIG_0(GP_Elips.getCPtr(Elips), Elips, Alpha1, Alpha2, Sense), true);\r
- }\r
-\r
- public GC_MakeArcOfEllipse(GP_Elips Elips, double[] P, double Alpha, boolean Sense) {\r
- this(OccJavaJNI.new_GC_MakeArcOfEllipse__SWIG_1(GP_Elips.getCPtr(Elips), Elips, P, Alpha, Sense), true);\r
- }\r
-\r
- public GC_MakeArcOfEllipse(GP_Elips Elips, double[] P1, double[] P2, boolean Sense) {\r
- this(OccJavaJNI.new_GC_MakeArcOfEllipse__SWIG_2(GP_Elips.getCPtr(Elips), Elips, P1, P2, Sense), true);\r
- }\r
-\r
- public Geom_TrimmedCurve value() {\r
- return new Geom_TrimmedCurve(OccJavaJNI.GC_MakeArcOfEllipse_value(swigCPtr, this), false);\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 GC_MakeArcOfEllipse extends GC_Root {
+ private transient long swigCPtr;
+
+ protected GC_MakeArcOfEllipse(long cPtr, boolean cMemoryOwn) {
+ super(OccJavaJNI.GC_MakeArcOfEllipse_SWIGUpcast(cPtr), cMemoryOwn);
+ swigCPtr = cPtr;
+ }
+
+ protected static long getCPtr(GC_MakeArcOfEllipse obj) {
+ return (obj == null) ? 0 : obj.swigCPtr;
+ }
+
+ protected void finalize() {
+ delete();
+ }
+
+ public synchronized void delete() {
+ if (swigCPtr != 0) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ OccJavaJNI.delete_GC_MakeArcOfEllipse(swigCPtr);
+ }
+ swigCPtr = 0;
+ }
+ super.delete();
+ }
+
+ public GC_MakeArcOfEllipse(GP_Elips Elips, double Alpha1, double Alpha2, boolean Sense) {
+ this(OccJavaJNI.new_GC_MakeArcOfEllipse__SWIG_0(GP_Elips.getCPtr(Elips), Elips, Alpha1, Alpha2, Sense), true);
+ }
+
+ public GC_MakeArcOfEllipse(GP_Elips Elips, double[] P, double Alpha, boolean Sense) {
+ this(OccJavaJNI.new_GC_MakeArcOfEllipse__SWIG_1(GP_Elips.getCPtr(Elips), Elips, P, Alpha, Sense), true);
+ }
+
+ public GC_MakeArcOfEllipse(GP_Elips Elips, double[] P1, double[] P2, boolean Sense) {
+ this(OccJavaJNI.new_GC_MakeArcOfEllipse__SWIG_2(GP_Elips.getCPtr(Elips), Elips, P1, P2, Sense), true);
+ }
+
+ public Geom_TrimmedCurve value() {
+ return new Geom_TrimmedCurve(OccJavaJNI.GC_MakeArcOfEllipse_value(swigCPtr, this), false);
+ }
+
+}