示例#1
0
 public static void find_first_valid(subtile_data data, base_metric found)
 {
     c_csharp_plotPINVOKE.find_first_valid__SWIG_0(subtile_data.getCPtr(data), base_metric.getCPtr(found));
     if (c_csharp_plotPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_plotPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public static void find_first_valid(subtile_data data, float[] buffer, uint[] id_buffer, base_metric found)
 {
     unsafe
     {
         fixed(float *swig_ptrTo_buffer = buffer)
         {
             unsafe
             {
                 fixed(uint *swig_ptrTo_id_buffer = id_buffer)
                 {
                     {
                         c_csharp_plotPINVOKE.find_first_valid__SWIG_1(subtile_data.getCPtr(data), (global::System.IntPtr)swig_ptrTo_buffer, (global::System.IntPtr)swig_ptrTo_id_buffer, base_metric.getCPtr(found));
                         if (c_csharp_plotPINVOKE.SWIGPendingException.Pending)
                         {
                             throw c_csharp_plotPINVOKE.SWIGPendingException.Retrieve();
                         }
                     }
                 }
             }
         }
     }
 }