X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.jcae.opencascade%2Fsrc-java%2Forg%2Fjcae%2Fopencascade%2Fjni%2FGeomAPI_Interpolate.java;h=f90e8486c49ad49f8cb3fe28a8ed61a42a4a8f33;hb=58b68ec134db6382f4c401ee7374a74d0aa6cd78;hp=95a5d81c749cd7282536f4f7dfb0221a5d1c6042;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAPI_Interpolate.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAPI_Interpolate.java index 95a5d81c..f90e8486 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAPI_Interpolate.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAPI_Interpolate.java @@ -1,58 +1,58 @@ -/* ---------------------------------------------------------------------------- - * 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 GeomAPI_Interpolate { - private long swigCPtr; - protected boolean swigCMemOwn; - - public GeomAPI_Interpolate(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(GeomAPI_Interpolate obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_GeomAPI_Interpolate(swigCPtr); - } - swigCPtr = 0; - } - } - - public GeomAPI_Interpolate(double[] Points, boolean PeriodicFlag, double Tolerance) { - this(OccJavaJNI.new_GeomAPI_Interpolate(Points, PeriodicFlag, Tolerance), true); - } - - public void Load(double[] Tangents, boolean[] TangentFlags, boolean Scale) { - OccJavaJNI.GeomAPI_Interpolate_Load__SWIG_0(swigCPtr, this, Tangents, TangentFlags, Scale); - } - - public void Load(double[] Tangents, boolean[] TangentFlags) { - OccJavaJNI.GeomAPI_Interpolate_Load__SWIG_1(swigCPtr, this, Tangents, TangentFlags); - } - - public void Perform() { - OccJavaJNI.GeomAPI_Interpolate_Perform(swigCPtr, this); - } - - public Geom_BSplineCurve Curve() { - return new Geom_BSplineCurve(OccJavaJNI.GeomAPI_Interpolate_Curve(swigCPtr, this), false); - } - -} +/* ---------------------------------------------------------------------------- + * 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 GeomAPI_Interpolate { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected GeomAPI_Interpolate(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(GeomAPI_Interpolate obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_GeomAPI_Interpolate(swigCPtr); + } + swigCPtr = 0; + } + } + + public GeomAPI_Interpolate(double[] Points, boolean PeriodicFlag, double Tolerance) { + this(OccJavaJNI.new_GeomAPI_Interpolate(Points, PeriodicFlag, Tolerance), true); + } + + public void Load(double[] Tangents, boolean[] TangentFlags, boolean Scale) { + OccJavaJNI.GeomAPI_Interpolate_Load__SWIG_0(swigCPtr, this, Tangents, TangentFlags, Scale); + } + + public void Load(double[] Tangents, boolean[] TangentFlags) { + OccJavaJNI.GeomAPI_Interpolate_Load__SWIG_1(swigCPtr, this, Tangents, TangentFlags); + } + + public void Perform() { + OccJavaJNI.GeomAPI_Interpolate_Perform(swigCPtr, this); + } + + public Geom_BSplineCurve Curve() { + return new Geom_BSplineCurve(OccJavaJNI.GeomAPI_Interpolate_Curve(swigCPtr, this), false); + } + +}