public PRectanglef(PRectanglef other) : this(PapillonPINVOKE.new_PRectanglef__SWIG_5(PRectanglef.getCPtr(other)), true) { if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public PPolygonf(PRectanglef r) : this(PapillonPINVOKE.new_PPolygonf__SWIG_2(PRectanglef.getCPtr(r)), true) { if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
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(); } }
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); }
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); }
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); }
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); }
public PRectanglef ToPRectanglef() { PRectanglef ret = new PRectanglef(PapillonPINVOKE.PRectanglei_ToPRectanglef(swigCPtr), true); return(ret); }
public PRectanglef GetBoundingRectangle() { PRectanglef ret = new PRectanglef(PapillonPINVOKE.PPolygonf_GetBoundingRectangle(swigCPtr), true); return(ret); }
public PRectanglef GetBoundingBox() { PRectanglef ret = new PRectanglef(PapillonPINVOKE.PFeatureMap_GetBoundingBox(swigCPtr), true); return(ret); }
public PRectanglef GetBoundingBox() { PRectanglef ret = new PRectanglef(PapillonPINVOKE.PDetectionList_GetBoundingBox(swigCPtr), true); return(ret); }
public static PRectanglef Bad() { PRectanglef ret = new PRectanglef(PapillonPINVOKE.PRectanglef_Bad(), false); return(ret); }
public PRectanglef Translated(float xTranslateBy, float yTranslateBy) { PRectanglef ret = new PRectanglef(PapillonPINVOKE.PRectanglef_Translated__SWIG_0(swigCPtr, xTranslateBy, yTranslateBy), true); return(ret); }
public PRectanglef GetRectangle() { PRectanglef ret = new PRectanglef(PapillonPINVOKE.PFeatureRectangle_GetRectangle(swigCPtr), false); return(ret); }
public PRectanglef Normalized(float sx, float sy) { PRectanglef ret = new PRectanglef(PapillonPINVOKE.PRectanglef_Normalized__SWIG_0(swigCPtr, sx, sy), true); return(ret); }
public PRectanglef Scaled(float sx, float sy) { PRectanglef ret = new PRectanglef(PapillonPINVOKE.PRectanglef_Scaled__SWIG_1(swigCPtr, sx, sy), true); return(ret); }
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); }
public PRectanglef Expand(float expandBy) { PRectanglef ret = new PRectanglef(PapillonPINVOKE.PRectanglef_Expand(swigCPtr, expandBy), true); return(ret); }