コード例 #1
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();
     }
 }
コード例 #2
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);
    }
コード例 #3
0
 public PFeatureRectangle(PFeatureRectangle other) : this(PapillonPINVOKE.new_PFeatureRectangle__SWIG_1(PFeatureRectangle.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }