X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.jcae.opencascade%2Fsrc-java%2Forg%2Fjcae%2Fopencascade%2Fjni%2FGP_Circ.java;h=6524b8595418799324521e06de0d3e76203ca59a;hb=6c85a1331df92384baa03b3968ea6f06459a04ab;hp=35532ca85af9404b563892a32b412c06a0bda51d;hpb=1e885c30936c7df2efda5a00bfdc127ee059dee0;p=simantics%2F3d.git diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GP_Circ.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GP_Circ.java index 35532ca8..6524b859 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GP_Circ.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GP_Circ.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 GP_Circ { - private long swigCPtr; - protected boolean swigCMemOwn; - - public GP_Circ(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(GP_Circ obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_GP_Circ(swigCPtr); - } - swigCPtr = 0; - } - } - - public GP_Circ(double[] axis, double radius) { - this(OccJavaJNI.new_GP_Circ(axis, radius), true); - } - -} +/* ---------------------------------------------------------------------------- + * 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 GP_Circ { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected GP_Circ(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(GP_Circ obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_GP_Circ(swigCPtr); + } + swigCPtr = 0; + } + } + + public GP_Circ(double[] axis, double radius) { + this(OccJavaJNI.new_GP_Circ(axis, radius), true); + } + +}