Esempio 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();
     }
 }
Esempio n. 2
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);
    }
Esempio n. 3
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);
    }