/* ---------------------------------------------------------------------------- * 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 Bnd_Box { private transient long swigCPtr; protected transient boolean swigCMemOwn; protected Bnd_Box(long cPtr, boolean cMemoryOwn) { swigCMemOwn = cMemoryOwn; swigCPtr = cPtr; } protected static long getCPtr(Bnd_Box obj) { return (obj == null) ? 0 : obj.swigCPtr; } protected void finalize() { delete(); } public synchronized void delete() { if (swigCPtr != 0) { if (swigCMemOwn) { swigCMemOwn = false; OccJavaJNI.delete_Bnd_Box(swigCPtr); } swigCPtr = 0; } } /** * Return the array { Xmin, Ymin, Zmin, Xmax, Ymax, Zmax } */ public double[] get() { double[] toReturn=new double[6]; get(toReturn); return toReturn; } public Bnd_Box() { this(OccJavaJNI.new_Bnd_Box(), true); } public boolean isVoid() { return OccJavaJNI.Bnd_Box_isVoid(swigCPtr, this); } public void get(double[] box) { OccJavaJNI.Bnd_Box_get(swigCPtr, this, box); } }