コード例 #1
0
 public PFeatureRectangle(PFeatureRectangle other) : this(PapillonPINVOKE.new_PFeatureRectangle__SWIG_1(PFeatureRectangle.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
ファイル: PFeatureMap.cs プロジェクト: videoai/papillon-swig
 public void AddRectangle(PFeatureRectangle p)
 {
     PapillonPINVOKE.PFeatureMap_AddRectangle(swigCPtr, PFeatureRectangle.getCPtr(p));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #3
0
ファイル: PFeatureMap.cs プロジェクト: videoai/papillon-swig
    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);
    }
コード例 #4
0
ファイル: PFeatureMap.cs プロジェクト: videoai/papillon-swig
    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);
    }
コード例 #5
0
ファイル: PFeatureMap.cs プロジェクト: videoai/papillon-swig
    public PFeatureRectangle GetFaceRectangle()
    {
        PFeatureRectangle ret = new PFeatureRectangle(PapillonPINVOKE.PFeatureMap_GetFaceRectangle(swigCPtr), true);

        return(ret);
    }
コード例 #6
0
 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);
 }