示例#1
0
 public PFaceMetaData(PFaceMetaData other) : this(PapillonPINVOKE.new_PFaceMetaData__SWIG_2(PFaceMetaData.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#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);
    }
示例#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);
 }