X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.jcae.opencascade%2Fsrc-java%2Forg%2Fjcae%2Fopencascade%2Fjni%2FGeomAdaptor_Curve.java;h=7aa620fc9260451782c3650b830bf2dd4fc278a7;hb=HEAD;hp=5a7b27e1e3ccd1884884d1b95616bd3bfc11ae07;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAdaptor_Curve.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAdaptor_Curve.java index 5a7b27e1..7aa620fc 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAdaptor_Curve.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAdaptor_Curve.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 GeomAdaptor_Curve extends Adaptor3d_Curve { - private long swigCPtr; - - public GeomAdaptor_Curve(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.GeomAdaptor_Curve_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(GeomAdaptor_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_GeomAdaptor_Curve(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public GeomAdaptor_Curve() { - this(OccJavaJNI.new_GeomAdaptor_Curve__SWIG_0(), true); - } - - public GeomAdaptor_Curve(Geom_Curve C) { - this(OccJavaJNI.new_GeomAdaptor_Curve__SWIG_1(Geom_Curve.getCPtr(C), C), true); - } - - public GeomAdaptor_Curve(Geom_Curve C, double UFirst, double ULast) { - this(OccJavaJNI.new_GeomAdaptor_Curve__SWIG_2(Geom_Curve.getCPtr(C), C, UFirst, ULast), true); - } - - public void load(Geom_Curve C) { - OccJavaJNI.GeomAdaptor_Curve_load__SWIG_0(swigCPtr, this, Geom_Curve.getCPtr(C), C); - } - - public void load(Geom_Curve C, double UFirst, double ULast) { - OccJavaJNI.GeomAdaptor_Curve_load__SWIG_1(swigCPtr, this, Geom_Curve.getCPtr(C), C, UFirst, ULast); - } - -} +/* ---------------------------------------------------------------------------- + * 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 GeomAdaptor_Curve extends Adaptor3d_Curve { + private transient long swigCPtr; + + protected GeomAdaptor_Curve(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.GeomAdaptor_Curve_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(GeomAdaptor_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_GeomAdaptor_Curve(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public GeomAdaptor_Curve() { + this(OccJavaJNI.new_GeomAdaptor_Curve__SWIG_0(), true); + } + + public GeomAdaptor_Curve(Geom_Curve C) { + this(OccJavaJNI.new_GeomAdaptor_Curve__SWIG_1(Geom_Curve.getCPtr(C), C), true); + } + + public GeomAdaptor_Curve(Geom_Curve C, double UFirst, double ULast) { + this(OccJavaJNI.new_GeomAdaptor_Curve__SWIG_2(Geom_Curve.getCPtr(C), C, UFirst, ULast), true); + } + + public void load(Geom_Curve C) { + OccJavaJNI.GeomAdaptor_Curve_load__SWIG_0(swigCPtr, this, Geom_Curve.getCPtr(C), C); + } + + public void load(Geom_Curve C, double UFirst, double ULast) { + OccJavaJNI.GeomAdaptor_Curve_load__SWIG_1(swigCPtr, this, Geom_Curve.getCPtr(C), C, UFirst, ULast); + } + +}