Exemplo n.º 1
0
 public PFaceMetaData(PFaceMetaData other) : this(PapillonPINVOKE.new_PFaceMetaData__SWIG_2(PFaceMetaData.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
    public static PFaceMetaData FromDescription(PDescription description)
    {
        PFaceMetaData ret = new PFaceMetaData(PapillonPINVOKE.PFaceMetaData_FromDescription(PDescription.getCPtr(description)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PFaceMetaData obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }