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 OBInternalCoord {
11
private long swigCPtr;
12
protected boolean swigCMemOwn;
14
protected OBInternalCoord(long cPtr, boolean cMemoryOwn) {
15
swigCMemOwn = cMemoryOwn;
19
protected static long getCPtr(OBInternalCoord obj) {
20
return (obj == null) ? 0 : obj.swigCPtr;
23
protected void finalize() {
27
public synchronized void delete() {
28
if(swigCPtr != 0 && swigCMemOwn) {
30
openbabelJNI.delete_OBInternalCoord(swigCPtr);
35
public void set_a(OBAtom value) {
36
openbabelJNI.OBInternalCoord__a_set(swigCPtr, this, OBAtom.getCPtr(value), value);
39
public OBAtom get_a() {
40
long cPtr = openbabelJNI.OBInternalCoord__a_get(swigCPtr, this);
41
return (cPtr == 0) ? null : new OBAtom(cPtr, false);
44
public void set_b(OBAtom value) {
45
openbabelJNI.OBInternalCoord__b_set(swigCPtr, this, OBAtom.getCPtr(value), value);
48
public OBAtom get_b() {
49
long cPtr = openbabelJNI.OBInternalCoord__b_get(swigCPtr, this);
50
return (cPtr == 0) ? null : new OBAtom(cPtr, false);
53
public void set_c(OBAtom value) {
54
openbabelJNI.OBInternalCoord__c_set(swigCPtr, this, OBAtom.getCPtr(value), value);
57
public OBAtom get_c() {
58
long cPtr = openbabelJNI.OBInternalCoord__c_get(swigCPtr, this);
59
return (cPtr == 0) ? null : new OBAtom(cPtr, false);
62
public void set_dst(double value) {
63
openbabelJNI.OBInternalCoord__dst_set(swigCPtr, this, value);
66
public double get_dst() {
67
return openbabelJNI.OBInternalCoord__dst_get(swigCPtr, this);
70
public void set_ang(double value) {
71
openbabelJNI.OBInternalCoord__ang_set(swigCPtr, this, value);
74
public double get_ang() {
75
return openbabelJNI.OBInternalCoord__ang_get(swigCPtr, this);
78
public void set_tor(double value) {
79
openbabelJNI.OBInternalCoord__tor_set(swigCPtr, this, value);
82
public double get_tor() {
83
return openbabelJNI.OBInternalCoord__tor_get(swigCPtr, this);
86
public OBInternalCoord(OBAtom a, OBAtom b, OBAtom c, double dst, double ang, double tor) {
87
this(openbabelJNI.new_OBInternalCoord__SWIG_0(OBAtom.getCPtr(a), a, OBAtom.getCPtr(b), b, OBAtom.getCPtr(c), c, dst, ang, tor), true);
90
public OBInternalCoord(OBAtom a, OBAtom b, OBAtom c, double dst, double ang) {
91
this(openbabelJNI.new_OBInternalCoord__SWIG_1(OBAtom.getCPtr(a), a, OBAtom.getCPtr(b), b, OBAtom.getCPtr(c), c, dst, ang), true);
94
public OBInternalCoord(OBAtom a, OBAtom b, OBAtom c, double dst) {
95
this(openbabelJNI.new_OBInternalCoord__SWIG_2(OBAtom.getCPtr(a), a, OBAtom.getCPtr(b), b, OBAtom.getCPtr(c), c, dst), true);
98
public OBInternalCoord(OBAtom a, OBAtom b, OBAtom c) {
99
this(openbabelJNI.new_OBInternalCoord__SWIG_3(OBAtom.getCPtr(a), a, OBAtom.getCPtr(b), b, OBAtom.getCPtr(c), c), true);
102
public OBInternalCoord(OBAtom a, OBAtom b) {
103
this(openbabelJNI.new_OBInternalCoord__SWIG_4(OBAtom.getCPtr(a), a, OBAtom.getCPtr(b), b), true);
106
public OBInternalCoord(OBAtom a) {
107
this(openbabelJNI.new_OBInternalCoord__SWIG_5(OBAtom.getCPtr(a), a), true);
110
public OBInternalCoord() {
111
this(openbabelJNI.new_OBInternalCoord__SWIG_6(), true);