//------------------------------------------------------------------------------ // // // This file was automatically generated by SWIG (http://www.swig.org). // Version 4.0.2 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. //------------------------------------------------------------------------------ public class LeftCutdownward : Cutdownward { private global::System.Runtime.InteropServices.HandleRef swigCPtr; internal LeftCutdownward(global::System.IntPtr cPtr, bool cMemoryOwn) : base(GestureEstimatePINVOKE.LeftCutdownward_SWIGUpcast(cPtr), cMemoryOwn) { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } internal static global::System.Runtime.InteropServices.HandleRef getCPtr(LeftCutdownward obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } protected override void Dispose(bool disposing) { lock(this) { if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; GestureEstimatePINVOKE.delete_LeftCutdownward(swigCPtr); } swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } base.Dispose(disposing); } } public bool Detect(Point3fList body) { bool ret = GestureEstimatePINVOKE.LeftCutdownward_Detect(swigCPtr, Point3fList.getCPtr(body)); if (GestureEstimatePINVOKE.SWIGPendingException.Pending) throw GestureEstimatePINVOKE.SWIGPendingException.Retrieve(); return ret; } public LeftCutdownward() : this(GestureEstimatePINVOKE.new_LeftCutdownward(), true) { } }