Exemplo n.º 1
0
 public point2d(point2d val) : this(c_csharp_metricsPINVOKE.new_point2d__SWIG_2(point2d.getCPtr(val)), true)
 {
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public extended_tile_metric(uint lane, uint tile, float occupied, point2d upper_left) : this(c_csharp_metricsPINVOKE.new_extended_tile_metric__SWIG_2(lane, tile, occupied, point2d.getCPtr(upper_left)), true)
 {
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
 public void set(uint lane, uint tile, float occupied, point2d upper_left)
 {
     c_csharp_metricsPINVOKE.extended_tile_metric_set__SWIG_0(swigCPtr, lane, tile, occupied, point2d.getCPtr(upper_left));
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(point2d obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 5
0
        public point2d upper_left()
        {
            point2d ret = new point2d(c_csharp_metricsPINVOKE.extended_tile_metric_upper_left(swigCPtr), false);

            return(ret);
        }