X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=org.jcae.opencascade%2Fsrc-java%2Forg%2Fjcae%2Fopencascade%2Fjni%2FAdaptor2d_Curve2d.java;h=dd7af8eb471fea0e7d7c37b27ba174ba84a7ffa4;hb=refs%2Fchanges%2F60%2F3660%2F1;hp=5058d29caeb7ad465d23bc3b146c425d4a5c4ead;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Adaptor2d_Curve2d.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Adaptor2d_Curve2d.java index 5058d29c..dd7af8eb 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Adaptor2d_Curve2d.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Adaptor2d_Curve2d.java @@ -1,42 +1,42 @@ -/* ---------------------------------------------------------------------------- - * 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 Adaptor2d_Curve2d { - private long swigCPtr; - protected boolean swigCMemOwn; - - public Adaptor2d_Curve2d(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(Adaptor2d_Curve2d obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_Adaptor2d_Curve2d(swigCPtr); - } - swigCPtr = 0; - } - } - - public double[] value(double U) { - return OccJavaJNI.Adaptor2d_Curve2d_value(swigCPtr, this, U); -} - -} +/* ---------------------------------------------------------------------------- + * 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 Adaptor2d_Curve2d { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected Adaptor2d_Curve2d(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(Adaptor2d_Curve2d obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_Adaptor2d_Curve2d(swigCPtr); + } + swigCPtr = 0; + } + } + + public double[] value(double U) { + return OccJavaJNI.Adaptor2d_Curve2d_value(swigCPtr, this, U); +} + +}