1
/* ----------------------------------------------------------------------------
2
* This file was automatically generated by SWIG (http://www.swig.org).
5
* Do not make changes to this file unless you know what you are doing--modify
6
* the SWIG interface file instead.
7
* ----------------------------------------------------------------------------- */
10
public class OBFFCalculation4 extends OBFFCalculation3 {
11
private long swigCPtr;
13
protected OBFFCalculation4(long cPtr, boolean cMemoryOwn) {
14
super(openbabelJNI.SWIGOBFFCalculation4Upcast(cPtr), cMemoryOwn);
18
protected static long getCPtr(OBFFCalculation4 obj) {
19
return (obj == null) ? 0 : obj.swigCPtr;
22
protected void finalize() {
26
public synchronized void delete() {
27
if(swigCPtr != 0 && swigCMemOwn) {
29
openbabelJNI.delete_OBFFCalculation4(swigCPtr);
35
public void setD(OBAtom value) {
36
openbabelJNI.OBFFCalculation4_d_set(swigCPtr, this, OBAtom.getCPtr(value), value);
39
public OBAtom getD() {
40
long cPtr = openbabelJNI.OBFFCalculation4_d_get(swigCPtr, this);
41
return (cPtr == 0) ? null : new OBAtom(cPtr, false);
44
public void setIdx_d(int value) {
45
openbabelJNI.OBFFCalculation4_idx_d_set(swigCPtr, this, value);
48
public int getIdx_d() {
49
return openbabelJNI.OBFFCalculation4_idx_d_get(swigCPtr, this);
52
public void setPos_d(SWIGTYPE_p_double value) {
53
openbabelJNI.OBFFCalculation4_pos_d_set(swigCPtr, this, SWIGTYPE_p_double.getCPtr(value));
56
public SWIGTYPE_p_double getPos_d() {
57
long cPtr = openbabelJNI.OBFFCalculation4_pos_d_get(swigCPtr, this);
58
return (cPtr == 0) ? null : new SWIGTYPE_p_double(cPtr, false);
61
public void setForce_d(SWIGTYPE_p_double value) {
62
openbabelJNI.OBFFCalculation4_force_d_set(swigCPtr, this, SWIGTYPE_p_double.getCPtr(value));
65
public SWIGTYPE_p_double getForce_d() {
66
long cPtr = openbabelJNI.OBFFCalculation4_force_d_get(swigCPtr, this);
67
return (cPtr == 0) ? null : new SWIGTYPE_p_double(cPtr, false);
70
public OBFFCalculation4() {
71
this(openbabelJNI.new_OBFFCalculation4(), true);