X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.jcae.opencascade%2Fsrc-java%2Forg%2Fjcae%2Fopencascade%2Fjni%2FAdaptor3d_Curve.java;h=05195049e67c8b03a9de1f3b356764cf18621ce9;hb=6c85a1331df92384baa03b3968ea6f06459a04ab;hp=5c8d8e9f2f2ae1c5140f89dd422e9e7a0d69f12b;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Adaptor3d_Curve.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Adaptor3d_Curve.java index 5c8d8e9f..05195049 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Adaptor3d_Curve.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Adaptor3d_Curve.java @@ -1,46 +1,46 @@ -/* ---------------------------------------------------------------------------- - * 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 Adaptor3d_Curve { - private long swigCPtr; - protected boolean swigCMemOwn; - - public Adaptor3d_Curve(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(Adaptor3d_Curve obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_Adaptor3d_Curve(swigCPtr); - } - swigCPtr = 0; - } - } - - public double[] value(double U) { - return OccJavaJNI.Adaptor3d_Curve_value(swigCPtr, this, U); -} - - public void arrayValues(int size, double[] u) { - OccJavaJNI.Adaptor3d_Curve_arrayValues(swigCPtr, this, size, 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 Adaptor3d_Curve { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected Adaptor3d_Curve(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(Adaptor3d_Curve obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_Adaptor3d_Curve(swigCPtr); + } + swigCPtr = 0; + } + } + + public double[] value(double U) { + return OccJavaJNI.Adaptor3d_Curve_value(swigCPtr, this, U); +} + + public void arrayValues(int size, double[] u) { + OccJavaJNI.Adaptor3d_Curve_arrayValues(swigCPtr, this, size, u); + } + +}