package com.metaio.sdk.jni;

public class GeometryHit
{
  protected boolean swigCMemOwn;
  private long swigCPtr;

  public GeometryHit()
  {
    this(MetaioSDKJNI.new_GeometryHit(), true);
  }

  public GeometryHit(long paramLong, boolean paramBoolean)
  {
    this.swigCMemOwn = paramBoolean;
    this.swigCPtr = paramLong;
  }

  public static long getCPtr(GeometryHit paramGeometryHit)
  {
    if (paramGeometryHit == null)
      return 0L;
    return paramGeometryHit.swigCPtr;
  }

  public void delete()
  {
    try
    {
      if (this.swigCPtr != 0L)
      {
        if (this.swigCMemOwn)
        {
          this.swigCMemOwn = false;
          MetaioSDKJNI.delete_GeometryHit(this.swigCPtr);
        }
        this.swigCPtr = 0L;
      }
      return;
    }
    finally
    {
    }
  }

  protected void finalize()
  {
    delete();
  }

  public Vector3d getCosCoordinates()
  {
    long l = MetaioSDKJNI.GeometryHit_cosCoordinates_get(this.swigCPtr, this);
    if (l == 0L)
      return null;
    return new Vector3d(l, false);
  }

  public IGeometry getGeometry()
  {
    long l = MetaioSDKJNI.GeometryHit_geometry_get(this.swigCPtr, this);
    if (l == 0L)
      return null;
    return new IGeometry(l, false);
  }

  public Vector3d getNormal()
  {
    long l = MetaioSDKJNI.GeometryHit_normal_get(this.swigCPtr, this);
    if (l == 0L)
      return null;
    return new Vector3d(l, false);
  }

  public Vector3d getObjectCoordinates()
  {
    long l = MetaioSDKJNI.GeometryHit_objectCoordinates_get(this.swigCPtr, this);
    if (l == 0L)
      return null;
    return new Vector3d(l, false);
  }

  public void setCosCoordinates(Vector3d paramVector3d)
  {
    MetaioSDKJNI.GeometryHit_cosCoordinates_set(this.swigCPtr, this, Vector3d.getCPtr(paramVector3d), paramVector3d);
  }

  public void setGeometry(IGeometry paramIGeometry)
  {
    MetaioSDKJNI.GeometryHit_geometry_set(this.swigCPtr, this, IGeometry.getCPtr(paramIGeometry), paramIGeometry);
  }

  public void setNormal(Vector3d paramVector3d)
  {
    MetaioSDKJNI.GeometryHit_normal_set(this.swigCPtr, this, Vector3d.getCPtr(paramVector3d), paramVector3d);
  }

  public void setObjectCoordinates(Vector3d paramVector3d)
  {
    MetaioSDKJNI.GeometryHit_objectCoordinates_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.GeometryHit
 * JD-Core Version:    0.6.2
 */