X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.jcae.opencascade%2Fsrc-java%2Forg%2Fjcae%2Fopencascade%2Fjni%2FBRepPrimAPI_MakeBox.java;h=17db4735d9795f03e9d90747a5e471186d57068f;hb=HEAD;hp=7c7954540828f7e9c85daa9b449b8a98d1c277a8;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeBox.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeBox.java index 7c795454..17db4735 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeBox.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeBox.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 BRepPrimAPI_MakeBox extends BRepBuilderAPI_MakeShape { - private long swigCPtr; - - public BRepPrimAPI_MakeBox(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepPrimAPI_MakeBox_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepPrimAPI_MakeBox obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepPrimAPI_MakeBox(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepPrimAPI_MakeBox(double[] P1, double[] P2) { - this(OccJavaJNI.new_BRepPrimAPI_MakeBox(P1, P2), 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 BRepPrimAPI_MakeBox extends BRepBuilderAPI_MakeShape { + private transient long swigCPtr; + + protected BRepPrimAPI_MakeBox(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepPrimAPI_MakeBox_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepPrimAPI_MakeBox obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepPrimAPI_MakeBox(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepPrimAPI_MakeBox(double[] P1, double[] P2) { + this(OccJavaJNI.new_BRepPrimAPI_MakeBox(P1, P2), true); + } + +}