public PFeatureRectangle(PFeatureRectangle other) : this(PapillonPINVOKE.new_PFeatureRectangle__SWIG_1(PFeatureRectangle.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public void AddRectangle(PFeatureRectangle p)
 {
     PapillonPINVOKE.PFeatureMap_AddRectangle(swigCPtr, PFeatureRectangle.getCPtr(p));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
    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
    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
    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);
 }