package com.metaio.sdk.jni;

public class Vector2d
{
  protected boolean swigCMemOwn;
  private long swigCPtr;

  public Vector2d()
  {
    this(MetaioSDKJNI.new_Vector2d__SWIG_0(), true);
  }

  public Vector2d(float paramFloat)
  {
    this(MetaioSDKJNI.new_Vector2d__SWIG_1(paramFloat), true);
  }

  public Vector2d(float paramFloat1, float paramFloat2)
  {
    this(MetaioSDKJNI.new_Vector2d__SWIG_2(paramFloat1, paramFloat2), true);
  }

  public Vector2d(long paramLong, boolean paramBoolean)
  {
    this.swigCMemOwn = paramBoolean;
    this.swigCPtr = paramLong;
  }

  public Vector2d(Vector2d paramVector2d)
  {
    this(MetaioSDKJNI.new_Vector2d__SWIG_3(getCPtr(paramVector2d), paramVector2d), true);
  }

  public static long getCPtr(Vector2d paramVector2d)
  {
    if (paramVector2d == null)
      return 0L;
    return paramVector2d.swigCPtr;
  }

  public Vector2d add(Vector2d paramVector2d)
  {
    return new Vector2d(MetaioSDKJNI.Vector2d_add(this.swigCPtr, this, getCPtr(paramVector2d), paramVector2d), true);
  }

  public Vector2d cwiseProduct(Vector2d paramVector2d)
  {
    return new Vector2d(MetaioSDKJNI.Vector2d_cwiseProduct(this.swigCPtr, this, getCPtr(paramVector2d), paramVector2d), true);
  }

  public Vector2d cwiseQuotient(Vector2d paramVector2d)
  {
    return new Vector2d(MetaioSDKJNI.Vector2d_cwiseQuotient(this.swigCPtr, this, getCPtr(paramVector2d), paramVector2d), true);
  }

  public void delete()
  {
    try
    {
      if (this.swigCPtr != 0L)
      {
        if (this.swigCMemOwn)
        {
          this.swigCMemOwn = false;
          MetaioSDKJNI.delete_Vector2d(this.swigCPtr);
        }
        this.swigCPtr = 0L;
      }
      return;
    }
    finally
    {
    }
  }

  public float dot(Vector2d paramVector2d)
  {
    return MetaioSDKJNI.Vector2d_dot(this.swigCPtr, this, getCPtr(paramVector2d), paramVector2d);
  }

  public boolean equals(Vector2d paramVector2d)
  {
    return MetaioSDKJNI.Vector2d_equals(this.swigCPtr, this, getCPtr(paramVector2d), paramVector2d);
  }

  protected void finalize()
  {
    delete();
  }

  public float getX()
  {
    return MetaioSDKJNI.Vector2d_x_get(this.swigCPtr, this);
  }

  public float getY()
  {
    return MetaioSDKJNI.Vector2d_y_get(this.swigCPtr, this);
  }

  public boolean isNull()
  {
    return MetaioSDKJNI.Vector2d_isNull(this.swigCPtr, this);
  }

  public Vector2d multiply(float paramFloat)
  {
    return new Vector2d(MetaioSDKJNI.Vector2d_multiply(this.swigCPtr, this, paramFloat), true);
  }

  public float norm()
  {
    return MetaioSDKJNI.Vector2d_norm(this.swigCPtr, this);
  }

  public void setX(float paramFloat)
  {
    MetaioSDKJNI.Vector2d_x_set(this.swigCPtr, this, paramFloat);
  }

  public void setY(float paramFloat)
  {
    MetaioSDKJNI.Vector2d_y_set(this.swigCPtr, this, paramFloat);
  }

  public float squaredNorm()
  {
    return MetaioSDKJNI.Vector2d_squaredNorm(this.swigCPtr, this);
  }

  public Vector2d subtract(Vector2d paramVector2d)
  {
    return new Vector2d(MetaioSDKJNI.Vector2d_subtract(this.swigCPtr, this, getCPtr(paramVector2d), paramVector2d), true);
  }

  public String toString()
  {
    return MetaioSDKJNI.Vector2d_toString(this.swigCPtr, this);
  }
}

/* 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.Vector2d
 * JD-Core Version:    0.6.2
 */