public PPolygonf(PPolygonf other) : this(PapillonPINVOKE.new_PPolygonf__SWIG_3(PPolygonf.getCPtr(other)), true) { if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public PResult DrawPolygon(PPolygonf p, PColour3i color) { PResult ret = new PResult(PapillonPINVOKE.PImage_DrawPolygon__SWIG_3(swigCPtr, PPolygonf.getCPtr(p), PColour3i.getCPtr(color)), 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 PPolygonf United(PPolygonf other) { PPolygonf ret = new PPolygonf(PapillonPINVOKE.PPolygonf_United(swigCPtr, PPolygonf.getCPtr(other)), 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 PPolygonf GetBoundingPolygon(PStringList listFeatures) { PPolygonf ret = new PPolygonf(PapillonPINVOKE.PFeatureMap_GetBoundingPolygon__SWIG_1(swigCPtr, PStringList.getCPtr(listFeatures)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PPolygonf obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public PPolygonf AddPoint(float x, float y) { PPolygonf ret = new PPolygonf(PapillonPINVOKE.PPolygonf_AddPoint__SWIG_1(swigCPtr, x, y), false); return(ret); }
public PPolygonf GetConvexHull() { PPolygonf ret = new PPolygonf(PapillonPINVOKE.PPolygonf_GetConvexHull(swigCPtr), true); return(ret); }
public PPolygonf GetBoundingPolygon() { PPolygonf ret = new PPolygonf(PapillonPINVOKE.PFeatureMap_GetBoundingPolygon__SWIG_0(swigCPtr), true); return(ret); }