Esempio n. 1
0
 public PRectanglef(PRectanglef other) : this(PapillonPINVOKE.new_PRectanglef__SWIG_5(PRectanglef.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public PPolygonf(PRectanglef r) : this(PapillonPINVOKE.new_PPolygonf__SWIG_2(PRectanglef.getCPtr(r)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 3
0
 public PFeatureRectangle(PRectanglef rectangle, string description, float confidence) : this(PapillonPINVOKE.new_PFeatureRectangle__SWIG_2(PRectanglef.getCPtr(rectangle), description, confidence), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 4
0
    public float GetDiceCoefficient(PRectanglef i_rectangle)
    {
        float ret = PapillonPINVOKE.PRectanglef_GetDiceCoefficient(swigCPtr, PRectanglef.getCPtr(i_rectangle));

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 5
0
    public PResult DrawRectangle(PRectanglef r, PColour3i color)
    {
        PResult ret = new PResult(PapillonPINVOKE.PImage_DrawRectangle__SWIG_3(swigCPtr, PRectanglef.getCPtr(r), PColour3i.getCPtr(color)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 6
0
    public PRectanglef Translated(PPoint2Df v)
    {
        PRectanglef ret = new PRectanglef(PapillonPINVOKE.PRectanglef_Translated__SWIG_1(swigCPtr, PPoint2Df.getCPtr(v)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 7
0
    public PRectanglef Normalized(PSizei size)
    {
        PRectanglef ret = new PRectanglef(PapillonPINVOKE.PRectanglef_Normalized__SWIG_2(swigCPtr, PSizei.getCPtr(size)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 8
0
    public PRectanglef ToPRectanglef()
    {
        PRectanglef ret = new PRectanglef(PapillonPINVOKE.PRectanglei_ToPRectanglef(swigCPtr), true);

        return(ret);
    }
Esempio n. 9
0
    public PRectanglef GetBoundingRectangle()
    {
        PRectanglef ret = new PRectanglef(PapillonPINVOKE.PPolygonf_GetBoundingRectangle(swigCPtr), true);

        return(ret);
    }
Esempio n. 10
0
    public PRectanglef GetBoundingBox()
    {
        PRectanglef ret = new PRectanglef(PapillonPINVOKE.PFeatureMap_GetBoundingBox(swigCPtr), true);

        return(ret);
    }
Esempio n. 11
0
    public PRectanglef GetBoundingBox()
    {
        PRectanglef ret = new PRectanglef(PapillonPINVOKE.PDetectionList_GetBoundingBox(swigCPtr), true);

        return(ret);
    }
Esempio n. 12
0
    public static PRectanglef Bad()
    {
        PRectanglef ret = new PRectanglef(PapillonPINVOKE.PRectanglef_Bad(), false);

        return(ret);
    }
Esempio n. 13
0
    public PRectanglef Translated(float xTranslateBy, float yTranslateBy)
    {
        PRectanglef ret = new PRectanglef(PapillonPINVOKE.PRectanglef_Translated__SWIG_0(swigCPtr, xTranslateBy, yTranslateBy), true);

        return(ret);
    }
Esempio n. 14
0
    public PRectanglef GetRectangle()
    {
        PRectanglef ret = new PRectanglef(PapillonPINVOKE.PFeatureRectangle_GetRectangle(swigCPtr), false);

        return(ret);
    }
Esempio n. 15
0
    public PRectanglef Normalized(float sx, float sy)
    {
        PRectanglef ret = new PRectanglef(PapillonPINVOKE.PRectanglef_Normalized__SWIG_0(swigCPtr, sx, sy), true);

        return(ret);
    }
Esempio n. 16
0
    public PRectanglef Scaled(float sx, float sy)
    {
        PRectanglef ret = new PRectanglef(PapillonPINVOKE.PRectanglef_Scaled__SWIG_1(swigCPtr, sx, sy), true);

        return(ret);
    }
Esempio n. 17
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PRectanglef obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 18
0
    public PRectanglef Expand(float expandBy)
    {
        PRectanglef ret = new PRectanglef(PapillonPINVOKE.PRectanglef_Expand(swigCPtr, expandBy), true);

        return(ret);
    }