public PFeaturePoint(PPoint2Df location, string description, float confidence) : this(PapillonPINVOKE.new_PFeaturePoint__SWIG_2(PPoint2Df.getCPtr(location), description, confidence), true) { if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public PPoint2Df(PPoint2Df other) : this(PapillonPINVOKE.new_PPoint2Df__SWIG_5(PPoint2Df.getCPtr(other)), true) { if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public void Add(PPoint2Df p) { PapillonPINVOKE.PPoint2DfList_Add(swigCPtr, PPoint2Df.getCPtr(p)); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetOrigin(PPoint2Df origin) { PapillonPINVOKE.PDetection_SetOrigin(swigCPtr, PPoint2Df.getCPtr(origin)); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetPoint(int index, PPoint2Df pt) { PapillonPINVOKE.PPolygonf_SetPoint(swigCPtr, index, PPoint2Df.getCPtr(pt)); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public static PPoint2Df Middle(PPoint2Df A, PPoint2Df B) { PPoint2Df ret = new PPoint2Df(PapillonPINVOKE.PPoint2Df_Middle(PPoint2Df.getCPtr(A), PPoint2Df.getCPtr(B)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public float EuclideanDistance(PPoint2Df other) { float ret = PapillonPINVOKE.PPoint2Df_EuclideanDistance(swigCPtr, PPoint2Df.getCPtr(other)); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool Contains(PPoint2Df p) { bool ret = PapillonPINVOKE.PRectanglef_Contains(swigCPtr, PPoint2Df.getCPtr(p)); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PResult DrawCircle(PPoint2Df p, int radius, PColour3i color) { PResult ret = new PResult(PapillonPINVOKE.PImage_DrawCircle__SWIG_1(swigCPtr, PPoint2Df.getCPtr(p), radius, 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 PPolygonf Translated(PPoint2Df v) { PPolygonf ret = new PPolygonf(PapillonPINVOKE.PPolygonf_Translated(swigCPtr, PPoint2Df.getCPtr(v)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PPoint2Df GetCentreOfMass(PStringList listFeatures) { PPoint2Df ret = new PPoint2Df(PapillonPINVOKE.PFeatureMap_GetCentreOfMass__SWIG_1(swigCPtr, PStringList.getCPtr(listFeatures)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PPolygonf AddPoint(PPoint2Df p) { PPolygonf ret = new PPolygonf(PapillonPINVOKE.PPolygonf_AddPoint__SWIG_3(swigCPtr, PPoint2Df.getCPtr(p)), false); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PPoint2Df GetPoint(int index) { PPoint2Df ret = new PPoint2Df(PapillonPINVOKE.PPolygonf_GetPoint(swigCPtr, index), true); return(ret); }
public PPoint2Df GetOrigin() { PPoint2Df ret = new PPoint2Df(PapillonPINVOKE.PDetection_GetOrigin(swigCPtr), false); return(ret); }
public PPoint2Df GetLastPoint() { PPoint2Df ret = new PPoint2Df(PapillonPINVOKE.PPolygonf_GetLastPoint(swigCPtr), true); return(ret); }
public PPoint2Df GetRightEyeCentre() { PPoint2Df ret = new PPoint2Df(PapillonPINVOKE.PFeatureMap_GetRightEyeCentre(swigCPtr), true); return(ret); }
public PPoint2Df GetCentreOfMass() { PPoint2Df ret = new PPoint2Df(PapillonPINVOKE.PFeatureMap_GetCentreOfMass__SWIG_0(swigCPtr), true); return(ret); }
public PPoint2Df Translated(float vx, float vy) { PPoint2Df ret = new PPoint2Df(PapillonPINVOKE.PPoint2Df_Translated__SWIG_0(swigCPtr, vx, vy), true); return(ret); }
public PPoint2Df Get(int n) { PPoint2Df ret = new PPoint2Df(PapillonPINVOKE.PPoint2DfList_Get(swigCPtr, n), true); return(ret); }
public PPoint2Df GetOriginf() { PPoint2Df ret = new PPoint2Df(PapillonPINVOKE.PRectanglei_GetOriginf(swigCPtr), true); return(ret); }
public PPoint2Df Scaled(float scaleBy) { PPoint2Df ret = new PPoint2Df(PapillonPINVOKE.PPoint2Df_Scaled(swigCPtr, scaleBy), true); return(ret); }
public PPoint2Df GetCentre() { PPoint2Df ret = new PPoint2Df(PapillonPINVOKE.PRectanglef_GetCentre(swigCPtr), true); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PPoint2Df obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public static PPoint2Df Zero() { PPoint2Df ret = new PPoint2Df(PapillonPINVOKE.PPoint2Df_Zero(), false); return(ret); }
public PPoint2Df GetLocation() { PPoint2Df ret = new PPoint2Df(PapillonPINVOKE.PFeaturePoint_GetLocation(swigCPtr), false); return(ret); }
public PPoint2Df ToPPoint2Df() { PPoint2Df ret = new PPoint2Df(PapillonPINVOKE.PPoint2Di_ToPPoint2Df(swigCPtr), true); return(ret); }