public PPolygonf(PRectanglef r) : this(PapillonPINVOKE.new_PPolygonf__SWIG_2(PRectanglef.getCPtr(r)), 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(PRectanglef other) : this(PapillonPINVOKE.new_PRectanglef__SWIG_5(PRectanglef.getCPtr(other)), 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(); } }