Beispiel #1
0
 public static void convert(ChannelData dst, uint dstOffset, ChannelData src, uint srcOffset, double offset, double scale, uint length)
 {
     LidarDSDKPINVOKE.ChannelData_convert__SWIG_1(ChannelData.getCPtr(dst), dstOffset, ChannelData.getCPtr(src), srcOffset, offset, scale, length);
     if (LidarDSDKPINVOKE.SWIGPendingException.Pending)
     {
         throw LidarDSDKPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public static void copy(ChannelData dst, uint dstOffset, ChannelData src, uint srcOffset, uint length)
 {
     LidarDSDKPINVOKE.ChannelData_copy(ChannelData.getCPtr(dst), dstOffset, ChannelData.getCPtr(src), srcOffset, length);
     if (LidarDSDKPINVOKE.SWIGPendingException.Pending)
     {
         throw LidarDSDKPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #3
0
        public ChannelData getChannel(uint idx)
        {
            IntPtr cPtr = LidarDSDKPINVOKE.PointData_getChannel__SWIG_0(swigCPtr, idx);

            if (LidarDSDKPINVOKE.SWIGPendingException.Pending)
            {
                throw LidarDSDKPINVOKE.SWIGPendingException.Retrieve();
            }
            ChannelData ret = null;

            if (cPtr != IntPtr.Zero)
            {
                ret = new ChannelData(cPtr, false);
                ret.setOwnerObject(this);
            }
            return(ret);
        }
Beispiel #4
0
 public static HandleRef getCPtr(ChannelData obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }