package com.metaio.sdk.jni;

public class BoundingBox
{
  protected boolean swigCMemOwn;
  private long swigCPtr;

  public BoundingBox()
  {
    this(MetaioSDKJNI.new_BoundingBox__SWIG_0(), true);
  }

  public BoundingBox(long paramLong, boolean paramBoolean)
  {
    this.swigCMemOwn = paramBoolean;
    this.swigCPtr = paramLong;
  }

  public BoundingBox(BoundingBox paramBoundingBox)
  {
    this(MetaioSDKJNI.new_BoundingBox__SWIG_1(getCPtr(paramBoundingBox), paramBoundingBox), true);
  }

  public static long getCPtr(BoundingBox paramBoundingBox)
  {
    if (paramBoundingBox == null)
      return 0L;
    return paramBoundingBox.swigCPtr;
  }

  public void delete()
  {
    try
    {
      if (this.swigCPtr != 0L)
      {
        if (this.swigCMemOwn)
        {
          this.swigCMemOwn = false;
          MetaioSDKJNI.delete_BoundingBox(this.swigCPtr);
        }
        this.swigCPtr = 0L;
      }
      return;
    }
    finally
    {
    }
  }

  protected void finalize()
  {
    delete();
  }

  public Vector3d getMax()
  {
    long l = MetaioSDKJNI.BoundingBox_max_get(this.swigCPtr, this);
    if (l == 0L)
      return null;
    return new Vector3d(l, false);
  }

  public Vector3d getMin()
  {
    long l = MetaioSDKJNI.BoundingBox_min_get(this.swigCPtr, this);
    if (l == 0L)
      return null;
    return new Vector3d(l, false);
  }

  public void setMax(Vector3d paramVector3d)
  {
    MetaioSDKJNI.BoundingBox_max_set(this.swigCPtr, this, Vector3d.getCPtr(paramVector3d), paramVector3d);
  }

  public void setMin(Vector3d paramVector3d)
  {
    MetaioSDKJNI.BoundingBox_min_set(this.swigCPtr, this, Vector3d.getCPtr(paramVector3d), paramVector3d);
  }
}

/* Location:           C:\Documents and Settings\Cesar Cabello Cea\Mis documentos\Downloads\apk-downloader\com.ikea.kompis-6_dex2jar.jar
 * Qualified Name:     com.metaio.sdk.jni.BoundingBox
 * JD-Core Version:    0.6.2
 */