public PFeatureRectangle(PFeatureRectangle other) : this(PapillonPINVOKE.new_PFeatureRectangle__SWIG_1(PFeatureRectangle.getCPtr(other)), true) { if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public void AddRectangle(PFeatureRectangle p) { PapillonPINVOKE.PFeatureMap_AddRectangle(swigCPtr, PFeatureRectangle.getCPtr(p)); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public PFeatureRectangle GetFeatureRectangleByName(string name) { PFeatureRectangle ret = new PFeatureRectangle(PapillonPINVOKE.PFeatureMap_GetFeatureRectangleByName__SWIG_1(swigCPtr, name), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool GetFeatureRectangleByName(string name, PFeatureRectangle o_featureRectangle) { bool ret = PapillonPINVOKE.PFeatureMap_GetFeatureRectangleByName__SWIG_0(swigCPtr, name, PFeatureRectangle.getCPtr(o_featureRectangle)); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PFeatureRectangle GetFaceRectangle() { PFeatureRectangle ret = new PFeatureRectangle(PapillonPINVOKE.PFeatureMap_GetFaceRectangle(swigCPtr), true); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PFeatureRectangle obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }