示例#1
0
 public PFeaturePoint(PFeaturePoint other) : this(PapillonPINVOKE.new_PFeaturePoint__SWIG_1(PFeaturePoint.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public void Add(PFeaturePoint p)
 {
     PapillonPINVOKE.PFeatureMap_Add__SWIG_0(swigCPtr, PFeaturePoint.getCPtr(p));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
    public PFeaturePoint GetFeaturePointByName(string name)
    {
        PFeaturePoint ret = new PFeaturePoint(PapillonPINVOKE.PFeatureMap_GetFeaturePointByName__SWIG_1(swigCPtr, name), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
示例#4
0
    public bool GetFeaturePointByName(string name, PFeaturePoint o_featurePoint)
    {
        bool ret = PapillonPINVOKE.PFeatureMap_GetFeaturePointByName__SWIG_0(swigCPtr, name, PFeaturePoint.getCPtr(o_featurePoint));

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
示例#5
0
    public static PFeaturePoint Bad()
    {
        PFeaturePoint ret = new PFeaturePoint(PapillonPINVOKE.PFeaturePoint_Bad(), false);

        return(ret);
    }
示例#6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PFeaturePoint obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }