/* ----------------------------------------------------------------------------
 * 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 transform3d {
  private long swigCPtr;
  protected boolean swigCMemOwn;

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

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

  protected void finalize() {
    delete();
  }

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

  public transform3d() {
    this(openbabelJNI.new_transform3d__SWIG_0(), true);
  }

  public transform3d(matrix3x3 m, vector3 v) {
    this(openbabelJNI.new_transform3d__SWIG_1(matrix3x3.getCPtr(m), m, vector3.getCPtr(v), v), true);
  }

  public transform3d(double s) {
    this(openbabelJNI.new_transform3d__SWIG_2(s), true);
  }

  public transform3d(vector3 row1, vector3 row2, vector3 row3, vector3 translation) {
    this(openbabelJNI.new_transform3d__SWIG_3(vector3.getCPtr(row1), row1, vector3.getCPtr(row2), row2, vector3.getCPtr(row3), row3, vector3.getCPtr(translation), translation), true);
  }

  public transform3d(SWIGTYPE_p_a_3__double d, SWIGTYPE_p_double t) {
    this(openbabelJNI.new_transform3d__SWIG_4(SWIGTYPE_p_a_3__double.getCPtr(d), SWIGTYPE_p_double.getCPtr(t)), true);
  }

  public String DescribeAsString() {
    return openbabelJNI.transform3d_DescribeAsString(swigCPtr, this);
  }

  public String DescribeAsValues() {
    return openbabelJNI.transform3d_DescribeAsValues(swigCPtr, this);
  }

  public void Normalize() {
    openbabelJNI.transform3d_Normalize(swigCPtr, this);
  }

}
