/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.36
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */


public class OBInternalCoord {
  private long swigCPtr;
  protected boolean swigCMemOwn;

  protected OBInternalCoord(long cPtr, boolean cMemoryOwn) {
    swigCMemOwn = cMemoryOwn;
    swigCPtr = cPtr;
  }

  protected static long getCPtr(OBInternalCoord obj) {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

  protected void finalize() {
    delete();
  }

  public synchronized void delete() {
    if(swigCPtr != 0 && swigCMemOwn) {
      swigCMemOwn = false;
      openbabelJNI.delete_OBInternalCoord(swigCPtr);
    }
    swigCPtr = 0;
  }

  public void set_a(OBAtom value) {
    openbabelJNI.OBInternalCoord__a_set(swigCPtr, this, OBAtom.getCPtr(value), value);
  }

  public OBAtom get_a() {
    long cPtr = openbabelJNI.OBInternalCoord__a_get(swigCPtr, this);
    return (cPtr == 0) ? null : new OBAtom(cPtr, false);
  }

  public void set_b(OBAtom value) {
    openbabelJNI.OBInternalCoord__b_set(swigCPtr, this, OBAtom.getCPtr(value), value);
  }

  public OBAtom get_b() {
    long cPtr = openbabelJNI.OBInternalCoord__b_get(swigCPtr, this);
    return (cPtr == 0) ? null : new OBAtom(cPtr, false);
  }

  public void set_c(OBAtom value) {
    openbabelJNI.OBInternalCoord__c_set(swigCPtr, this, OBAtom.getCPtr(value), value);
  }

  public OBAtom get_c() {
    long cPtr = openbabelJNI.OBInternalCoord__c_get(swigCPtr, this);
    return (cPtr == 0) ? null : new OBAtom(cPtr, false);
  }

  public void set_dst(double value) {
    openbabelJNI.OBInternalCoord__dst_set(swigCPtr, this, value);
  }

  public double get_dst() {
    return openbabelJNI.OBInternalCoord__dst_get(swigCPtr, this);
  }

  public void set_ang(double value) {
    openbabelJNI.OBInternalCoord__ang_set(swigCPtr, this, value);
  }

  public double get_ang() {
    return openbabelJNI.OBInternalCoord__ang_get(swigCPtr, this);
  }

  public void set_tor(double value) {
    openbabelJNI.OBInternalCoord__tor_set(swigCPtr, this, value);
  }

  public double get_tor() {
    return openbabelJNI.OBInternalCoord__tor_get(swigCPtr, this);
  }

  public OBInternalCoord(OBAtom a, OBAtom b, OBAtom c, double dst, double ang, double tor) {
    this(openbabelJNI.new_OBInternalCoord__SWIG_0(OBAtom.getCPtr(a), a, OBAtom.getCPtr(b), b, OBAtom.getCPtr(c), c, dst, ang, tor), true);
  }

  public OBInternalCoord(OBAtom a, OBAtom b, OBAtom c, double dst, double ang) {
    this(openbabelJNI.new_OBInternalCoord__SWIG_1(OBAtom.getCPtr(a), a, OBAtom.getCPtr(b), b, OBAtom.getCPtr(c), c, dst, ang), true);
  }

  public OBInternalCoord(OBAtom a, OBAtom b, OBAtom c, double dst) {
    this(openbabelJNI.new_OBInternalCoord__SWIG_2(OBAtom.getCPtr(a), a, OBAtom.getCPtr(b), b, OBAtom.getCPtr(c), c, dst), true);
  }

  public OBInternalCoord(OBAtom a, OBAtom b, OBAtom c) {
    this(openbabelJNI.new_OBInternalCoord__SWIG_3(OBAtom.getCPtr(a), a, OBAtom.getCPtr(b), b, OBAtom.getCPtr(c), c), true);
  }

  public OBInternalCoord(OBAtom a, OBAtom b) {
    this(openbabelJNI.new_OBInternalCoord__SWIG_4(OBAtom.getCPtr(a), a, OBAtom.getCPtr(b), b), true);
  }

  public OBInternalCoord(OBAtom a) {
    this(openbabelJNI.new_OBInternalCoord__SWIG_5(OBAtom.getCPtr(a), a), true);
  }

  public OBInternalCoord() {
    this(openbabelJNI.new_OBInternalCoord__SWIG_6(), true);
  }

}
