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
* ----------------------------------------------------------------------------- */
11
using System.Runtime.InteropServices;
13
public class OBVibrationData : OBGenericData {
14
private HandleRef swigCPtr;
16
internal OBVibrationData(IntPtr cPtr, bool cMemoryOwn) : base(openbabelPINVOKE.OBVibrationDataUpcast(cPtr), cMemoryOwn) {
17
swigCPtr = new HandleRef(this, cPtr);
20
internal static HandleRef getCPtr(OBVibrationData obj) {
21
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28
public override void Dispose() {
30
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
32
openbabelPINVOKE.delete_OBVibrationData(swigCPtr);
34
swigCPtr = new HandleRef(null, IntPtr.Zero);
35
GC.SuppressFinalize(this);
40
public OBVibrationData() : this(openbabelPINVOKE.new_OBVibrationData(), true) {
43
public void SetData(SWIGTYPE_p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t arg0, vectorDouble arg1, vectorDouble arg2) {
44
openbabelPINVOKE.OBVibrationData_SetData(swigCPtr, SWIGTYPE_p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t.getCPtr(arg0), vectorDouble.getCPtr(arg1), vectorDouble.getCPtr(arg2));
45
if (openbabelPINVOKE.SWIGPendingException.Pending) throw openbabelPINVOKE.SWIGPendingException.Retrieve();
48
public SWIGTYPE_p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t GetLx() {
49
SWIGTYPE_p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t ret = new SWIGTYPE_p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t(openbabelPINVOKE.OBVibrationData_GetLx(swigCPtr), true);
53
public vectorDouble GetFrequencies() {
54
vectorDouble ret = new vectorDouble(openbabelPINVOKE.OBVibrationData_GetFrequencies(swigCPtr), true);
58
public vectorDouble GetIntensities() {
59
vectorDouble ret = new vectorDouble(openbabelPINVOKE.OBVibrationData_GetIntensities(swigCPtr), true);
63
public uint GetNumberOfFrequencies() {
64
uint ret = openbabelPINVOKE.OBVibrationData_GetNumberOfFrequencies(swigCPtr);