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