Ejemplo n.º 1
0
 public PPolygonf(PPolygonf other) : this(PapillonPINVOKE.new_PPolygonf__SWIG_3(PPolygonf.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
    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);
    }
Ejemplo n.º 3
0
    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);
    }
Ejemplo n.º 4
0
    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);
    }
Ejemplo n.º 5
0
    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);
    }
Ejemplo n.º 6
0
    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);
    }
Ejemplo n.º 7
0
 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);
 }
Ejemplo n.º 8
0
    public PPolygonf AddPoint(float x, float y)
    {
        PPolygonf ret = new PPolygonf(PapillonPINVOKE.PPolygonf_AddPoint__SWIG_1(swigCPtr, x, y), false);

        return(ret);
    }
Ejemplo n.º 9
0
    public PPolygonf GetConvexHull()
    {
        PPolygonf ret = new PPolygonf(PapillonPINVOKE.PPolygonf_GetConvexHull(swigCPtr), true);

        return(ret);
    }
Ejemplo n.º 10
0
    public PPolygonf GetBoundingPolygon()
    {
        PPolygonf ret = new PPolygonf(PapillonPINVOKE.PFeatureMap_GetBoundingPolygon__SWIG_0(swigCPtr), true);

        return(ret);
    }