Example #1
0
 public vector_tile_metrics(vector_tile_metrics other) : this(c_csharp_metricsPINVOKE.new_vector_tile_metrics__SWIG_1(vector_tile_metrics.getCPtr(other)), true)
 {
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public base_tile_metrics(vector_tile_metrics vec, short version, tile_metric_header header) : this(c_csharp_metricsPINVOKE.new_base_tile_metrics__SWIG_4(vector_tile_metrics.getCPtr(vec), version, tile_metric_header.getCPtr(header)), true)
 {
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
 public vector_tile_metricsEnumerator(vector_tile_metrics collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Example #4
0
 public void metrics_for_lane(vector_tile_metrics lane_metrics, uint lane)
 {
     c_csharp_metricsPINVOKE.base_tile_metrics_metrics_for_lane__SWIG_1(swigCPtr, vector_tile_metrics.getCPtr(lane_metrics), lane);
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #5
0
 public void SetRange(int index, vector_tile_metrics values)
 {
     c_csharp_metricsPINVOKE.vector_tile_metrics_SetRange(swigCPtr, index, vector_tile_metrics.getCPtr(values));
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #6
0
        public static vector_tile_metrics Repeat(tile_metric value, int count)
        {
            global::System.IntPtr cPtr = c_csharp_metricsPINVOKE.vector_tile_metrics_Repeat(tile_metric.getCPtr(value), count);
            vector_tile_metrics   ret  = (cPtr == global::System.IntPtr.Zero) ? null : new vector_tile_metrics(cPtr, true);

            if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #7
0
        public vector_tile_metrics GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = c_csharp_metricsPINVOKE.vector_tile_metrics_GetRange(swigCPtr, index, count);
            vector_tile_metrics   ret  = (cPtr == global::System.IntPtr.Zero) ? null : new vector_tile_metrics(cPtr, true);

            if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #8
0
        public vector_tile_metrics metrics()
        {
            vector_tile_metrics ret = new vector_tile_metrics(c_csharp_metricsPINVOKE.base_tile_metrics_metrics(swigCPtr), false);

            return(ret);
        }
Example #9
0
        public vector_tile_metrics metrics_for_cycle(uint cycle)
        {
            vector_tile_metrics ret = new vector_tile_metrics(c_csharp_metricsPINVOKE.base_tile_metrics_metrics_for_cycle(swigCPtr, cycle), true);

            return(ret);
        }
Example #10
0
        public vector_tile_metrics metrics_for_lane(uint lane)
        {
            vector_tile_metrics ret = new vector_tile_metrics(c_csharp_metricsPINVOKE.base_tile_metrics_metrics_for_lane__SWIG_0(swigCPtr, lane), true);

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