示例#1
0
文件: PointSource.cs 项目: caller/OMC
        public virtual PointIterator createIterator(Bounds bounds, double fraction, PointInfo pointInfo, ProgressDelegate arg3)
        {
            IntPtr cPtr = LidarDSDKPINVOKE.PointSource_createIterator(swigCPtr, Bounds.getCPtr(bounds), fraction, PointInfo.getCPtr(pointInfo), ProgressDelegate.getCPtr(arg3));

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

            if (cPtr != IntPtr.Zero)
            {
                ret = new PointIterator(cPtr, true);
                ret.setProgressDelegateRef(arg3);
            }
            return(ret);
        }
示例#2
0
 public static HandleRef getCPtr(PointIterator obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }