X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.jcae.opencascade%2Fsrc-java%2Forg%2Fjcae%2Fopencascade%2Fjni%2FGeom_Curve.java;h=0686a569ceebda60d35b59b4bf24c141fb02e97e;hb=6c85a1331df92384baa03b3968ea6f06459a04ab;hp=574189564a51d21ffdce43162ff054396a18f1fd;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_Curve.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_Curve.java index 57418956..0686a569 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_Curve.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_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 Geom_Curve extends Geom_Geometry { - private long swigCPtr; - - public Geom_Curve(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.Geom_Curve_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(Geom_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_Geom_Curve(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public double firstParameter() { - return OccJavaJNI.Geom_Curve_firstParameter(swigCPtr, this); - } - - public double lastParameter() { - return OccJavaJNI.Geom_Curve_lastParameter(swigCPtr, this); - } - - public boolean isClosed() { - return OccJavaJNI.Geom_Curve_isClosed(swigCPtr, this); -} - - public boolean isPeriodic() { - return OccJavaJNI.Geom_Curve_isPeriodic(swigCPtr, this); -} - - public double period() { - return OccJavaJNI.Geom_Curve_period(swigCPtr, this); - } - -} +/* ---------------------------------------------------------------------------- + * 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 Geom_Curve { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected Geom_Curve(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(Geom_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_Geom_Curve(swigCPtr); + } + swigCPtr = 0; + } + } + + public double firstParameter() { + return OccJavaJNI.Geom_Curve_firstParameter(swigCPtr, this); + } + + public double lastParameter() { + return OccJavaJNI.Geom_Curve_lastParameter(swigCPtr, this); + } + + public boolean isClosed() { + return OccJavaJNI.Geom_Curve_isClosed(swigCPtr, this); +} + + public boolean isPeriodic() { + return OccJavaJNI.Geom_Curve_isPeriodic(swigCPtr, this); +} + + public double period() { + return OccJavaJNI.Geom_Curve_period(swigCPtr, this); + } + +}