Updated with automated Java generation and SWIG 1.3.30.

This commit is contained in:
Geoffrey Hutchison
2006-11-06 17:44:10 +00:00
parent f3e581955f
commit 3e4bd6ae3c
125 changed files with 7718 additions and 4673 deletions
+26 -26
View File
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.30
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@@ -23,7 +23,7 @@ public class OBUnitCell extends OBGenericData {
delete();
}
public void delete() {
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
net.sourceforge.openbabelJNI.delete_OBUnitCell(swigCPtr);
@@ -37,100 +37,100 @@ public class OBUnitCell extends OBGenericData {
}
public OBUnitCell(OBUnitCell arg0) {
this(net.sourceforge.openbabelJNI.new_OBUnitCell__SWIG_1(OBUnitCell.getCPtr(arg0)), true);
this(net.sourceforge.openbabelJNI.new_OBUnitCell__SWIG_1(OBUnitCell.getCPtr(arg0), arg0), true);
}
public OBGenericData Clone(OBBase arg0) {
long cPtr = net.sourceforge.openbabelJNI.OBUnitCell_Clone(swigCPtr, OBBase.getCPtr(arg0));
long cPtr = net.sourceforge.openbabelJNI.OBUnitCell_Clone(swigCPtr, this, OBBase.getCPtr(arg0), arg0);
return (cPtr == 0) ? null : new OBGenericData(cPtr, false);
}
public void SetData(double a, double b, double c, double alpha, double beta, double gamma) {
net.sourceforge.openbabelJNI.OBUnitCell_SetData__SWIG_0(swigCPtr, a, b, c, alpha, beta, gamma);
net.sourceforge.openbabelJNI.OBUnitCell_SetData__SWIG_0(swigCPtr, this, a, b, c, alpha, beta, gamma);
}
public void SetData(vector3 v1, vector3 v2, vector3 v3) {
net.sourceforge.openbabelJNI.OBUnitCell_SetData__SWIG_1(swigCPtr, vector3.getCPtr(v1), vector3.getCPtr(v2), vector3.getCPtr(v3));
net.sourceforge.openbabelJNI.OBUnitCell_SetData__SWIG_1(swigCPtr, this, vector3.getCPtr(v1), v1, vector3.getCPtr(v2), v2, vector3.getCPtr(v3), v3);
}
public void SetOffset(vector3 v1) {
net.sourceforge.openbabelJNI.OBUnitCell_SetOffset(swigCPtr, vector3.getCPtr(v1));
net.sourceforge.openbabelJNI.OBUnitCell_SetOffset(swigCPtr, this, vector3.getCPtr(v1), v1);
}
public void SetSpaceGroup(String sg) {
net.sourceforge.openbabelJNI.OBUnitCell_SetSpaceGroup__SWIG_0(swigCPtr, sg);
net.sourceforge.openbabelJNI.OBUnitCell_SetSpaceGroup__SWIG_0(swigCPtr, this, sg);
}
public void SetSpaceGroup(int sg) {
net.sourceforge.openbabelJNI.OBUnitCell_SetSpaceGroup__SWIG_1(swigCPtr, sg);
net.sourceforge.openbabelJNI.OBUnitCell_SetSpaceGroup__SWIG_1(swigCPtr, this, sg);
}
public void SetLatticeType(OBUnitCell.LatticeType lt) {
net.sourceforge.openbabelJNI.OBUnitCell_SetLatticeType(swigCPtr, lt.swigValue());
net.sourceforge.openbabelJNI.OBUnitCell_SetLatticeType(swigCPtr, this, lt.swigValue());
}
public double GetA() {
return net.sourceforge.openbabelJNI.OBUnitCell_GetA(swigCPtr);
return net.sourceforge.openbabelJNI.OBUnitCell_GetA(swigCPtr, this);
}
public double GetB() {
return net.sourceforge.openbabelJNI.OBUnitCell_GetB(swigCPtr);
return net.sourceforge.openbabelJNI.OBUnitCell_GetB(swigCPtr, this);
}
public double GetC() {
return net.sourceforge.openbabelJNI.OBUnitCell_GetC(swigCPtr);
return net.sourceforge.openbabelJNI.OBUnitCell_GetC(swigCPtr, this);
}
public double GetAlpha() {
return net.sourceforge.openbabelJNI.OBUnitCell_GetAlpha(swigCPtr);
return net.sourceforge.openbabelJNI.OBUnitCell_GetAlpha(swigCPtr, this);
}
public double GetBeta() {
return net.sourceforge.openbabelJNI.OBUnitCell_GetBeta(swigCPtr);
return net.sourceforge.openbabelJNI.OBUnitCell_GetBeta(swigCPtr, this);
}
public double GetGamma() {
return net.sourceforge.openbabelJNI.OBUnitCell_GetGamma(swigCPtr);
return net.sourceforge.openbabelJNI.OBUnitCell_GetGamma(swigCPtr, this);
}
public vector3 GetOffset() {
return new vector3(net.sourceforge.openbabelJNI.OBUnitCell_GetOffset(swigCPtr), true);
return new vector3(net.sourceforge.openbabelJNI.OBUnitCell_GetOffset(swigCPtr, this), true);
}
public String GetSpaceGroup() {
return net.sourceforge.openbabelJNI.OBUnitCell_GetSpaceGroup(swigCPtr);
return net.sourceforge.openbabelJNI.OBUnitCell_GetSpaceGroup(swigCPtr, this);
}
public OBUnitCell.LatticeType GetLatticeType(int spacegroup) {
return OBUnitCell.LatticeType.swigToEnum(net.sourceforge.openbabelJNI.OBUnitCell_GetLatticeType__SWIG_0(swigCPtr, spacegroup));
return OBUnitCell.LatticeType.swigToEnum(net.sourceforge.openbabelJNI.OBUnitCell_GetLatticeType__SWIG_0(swigCPtr, this, spacegroup));
}
public OBUnitCell.LatticeType GetLatticeType() {
return OBUnitCell.LatticeType.swigToEnum(net.sourceforge.openbabelJNI.OBUnitCell_GetLatticeType__SWIG_1(swigCPtr));
return OBUnitCell.LatticeType.swigToEnum(net.sourceforge.openbabelJNI.OBUnitCell_GetLatticeType__SWIG_1(swigCPtr, this));
}
public vVector3 GetCellVectors() {
return new vVector3(net.sourceforge.openbabelJNI.OBUnitCell_GetCellVectors(swigCPtr), true);
return new vVector3(net.sourceforge.openbabelJNI.OBUnitCell_GetCellVectors(swigCPtr, this), true);
}
public matrix3x3 GetCellMatrix() {
return new matrix3x3(net.sourceforge.openbabelJNI.OBUnitCell_GetCellMatrix(swigCPtr), true);
return new matrix3x3(net.sourceforge.openbabelJNI.OBUnitCell_GetCellMatrix(swigCPtr, this), true);
}
public matrix3x3 GetOrthoMatrix() {
return new matrix3x3(net.sourceforge.openbabelJNI.OBUnitCell_GetOrthoMatrix(swigCPtr), true);
return new matrix3x3(net.sourceforge.openbabelJNI.OBUnitCell_GetOrthoMatrix(swigCPtr, this), true);
}
public matrix3x3 GetFractionalMatrix() {
return new matrix3x3(net.sourceforge.openbabelJNI.OBUnitCell_GetFractionalMatrix(swigCPtr), true);
return new matrix3x3(net.sourceforge.openbabelJNI.OBUnitCell_GetFractionalMatrix(swigCPtr, this), true);
}
public int GetSpaceGroupNumber(String name) {
return net.sourceforge.openbabelJNI.OBUnitCell_GetSpaceGroupNumber(swigCPtr, name);
return net.sourceforge.openbabelJNI.OBUnitCell_GetSpaceGroupNumber(swigCPtr, this, name);
}
public double GetCellVolume() {
return net.sourceforge.openbabelJNI.OBUnitCell_GetCellVolume(swigCPtr);
return net.sourceforge.openbabelJNI.OBUnitCell_GetCellVolume(swigCPtr, this);
}
public final static class LatticeType {