~ubuntu-branches/debian/stretch/openbabel/stretch

« back to all changes in this revision

Viewing changes to scripts/java/OBInternalCoord.java

  • Committer: Bazaar Package Importer
  • Author(s): Michael Banck
  • Date: 2008-07-22 23:54:58 UTC
  • mfrom: (3.1.10 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080722235458-3o606czluviz4akx
Tags: 2.2.0-2
* Upload to unstable.
* debian/control: Updated descriptions.
* debian/patches/gauss_cube_format.patch: New patch, makes the 
  gaussian cube format available again.
* debian/rules (DEB_DH_MAKESHLIBS_ARGS_libopenbabel3): Removed.
* debian/rules (DEB_CONFIGURE_EXTRA_FLAGS): Likewise.
* debian/libopenbabel3.install: Adjust formats directory to single 
  version hierarchy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ----------------------------------------------------------------------------
 
2
 * This file was automatically generated by SWIG (http://www.swig.org).
 
3
 * Version 1.3.36
 
4
 *
 
5
 * Do not make changes to this file unless you know what you are doing--modify
 
6
 * the SWIG interface file instead.
 
7
 * ----------------------------------------------------------------------------- */
 
8
 
 
9
 
 
10
public class OBInternalCoord {
 
11
  private long swigCPtr;
 
12
  protected boolean swigCMemOwn;
 
13
 
 
14
  protected OBInternalCoord(long cPtr, boolean cMemoryOwn) {
 
15
    swigCMemOwn = cMemoryOwn;
 
16
    swigCPtr = cPtr;
 
17
  }
 
18
 
 
19
  protected static long getCPtr(OBInternalCoord obj) {
 
20
    return (obj == null) ? 0 : obj.swigCPtr;
 
21
  }
 
22
 
 
23
  protected void finalize() {
 
24
    delete();
 
25
  }
 
26
 
 
27
  public synchronized void delete() {
 
28
    if(swigCPtr != 0 && swigCMemOwn) {
 
29
      swigCMemOwn = false;
 
30
      openbabelJNI.delete_OBInternalCoord(swigCPtr);
 
31
    }
 
32
    swigCPtr = 0;
 
33
  }
 
34
 
 
35
  public void set_a(OBAtom value) {
 
36
    openbabelJNI.OBInternalCoord__a_set(swigCPtr, this, OBAtom.getCPtr(value), value);
 
37
  }
 
38
 
 
39
  public OBAtom get_a() {
 
40
    long cPtr = openbabelJNI.OBInternalCoord__a_get(swigCPtr, this);
 
41
    return (cPtr == 0) ? null : new OBAtom(cPtr, false);
 
42
  }
 
43
 
 
44
  public void set_b(OBAtom value) {
 
45
    openbabelJNI.OBInternalCoord__b_set(swigCPtr, this, OBAtom.getCPtr(value), value);
 
46
  }
 
47
 
 
48
  public OBAtom get_b() {
 
49
    long cPtr = openbabelJNI.OBInternalCoord__b_get(swigCPtr, this);
 
50
    return (cPtr == 0) ? null : new OBAtom(cPtr, false);
 
51
  }
 
52
 
 
53
  public void set_c(OBAtom value) {
 
54
    openbabelJNI.OBInternalCoord__c_set(swigCPtr, this, OBAtom.getCPtr(value), value);
 
55
  }
 
56
 
 
57
  public OBAtom get_c() {
 
58
    long cPtr = openbabelJNI.OBInternalCoord__c_get(swigCPtr, this);
 
59
    return (cPtr == 0) ? null : new OBAtom(cPtr, false);
 
60
  }
 
61
 
 
62
  public void set_dst(double value) {
 
63
    openbabelJNI.OBInternalCoord__dst_set(swigCPtr, this, value);
 
64
  }
 
65
 
 
66
  public double get_dst() {
 
67
    return openbabelJNI.OBInternalCoord__dst_get(swigCPtr, this);
 
68
  }
 
69
 
 
70
  public void set_ang(double value) {
 
71
    openbabelJNI.OBInternalCoord__ang_set(swigCPtr, this, value);
 
72
  }
 
73
 
 
74
  public double get_ang() {
 
75
    return openbabelJNI.OBInternalCoord__ang_get(swigCPtr, this);
 
76
  }
 
77
 
 
78
  public void set_tor(double value) {
 
79
    openbabelJNI.OBInternalCoord__tor_set(swigCPtr, this, value);
 
80
  }
 
81
 
 
82
  public double get_tor() {
 
83
    return openbabelJNI.OBInternalCoord__tor_get(swigCPtr, this);
 
84
  }
 
85
 
 
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);
 
88
  }
 
89
 
 
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);
 
92
  }
 
93
 
 
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);
 
96
  }
 
97
 
 
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);
 
100
  }
 
101
 
 
102
  public OBInternalCoord(OBAtom a, OBAtom b) {
 
103
    this(openbabelJNI.new_OBInternalCoord__SWIG_4(OBAtom.getCPtr(a), a, OBAtom.getCPtr(b), b), true);
 
104
  }
 
105
 
 
106
  public OBInternalCoord(OBAtom a) {
 
107
    this(openbabelJNI.new_OBInternalCoord__SWIG_5(OBAtom.getCPtr(a), a), true);
 
108
  }
 
109
 
 
110
  public OBInternalCoord() {
 
111
    this(openbabelJNI.new_OBInternalCoord__SWIG_6(), true);
 
112
  }
 
113
 
 
114
}