Ejemplo n.º 1
0
        public static double getClosestBoxInList(double x1, double y1, double x2, double y2, ArPose position, uint maxRange, ArPose readingPos, ArPose targetPose, SWIGTYPE_p_std__listT_ArPoseWithTime_p_t buffer)
        {
            double ret = AriaCSPINVOKE.ArRangeBuffer_getClosestBoxInList(x1, y1, x2, y2, ArPose.getCPtr(position), maxRange, ArPose.getCPtr(readingPos), ArPose.getCPtr(targetPose), SWIGTYPE_p_std__listT_ArPoseWithTime_p_t.getCPtr(buffer));

            if (AriaCSPINVOKE.SWIGPendingException.Pending)
            {
                throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 2
0
 public static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__listT_ArPoseWithTime_p_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Ejemplo n.º 3
0
        public static double getClosestPolarInList(double startAngle, double endAngle, ArPose position, uint maxRange, SWIGTYPE_p_double angle, SWIGTYPE_p_std__listT_ArPoseWithTime_p_t buffer)
        {
            double ret = AriaCSPINVOKE.ArRangeBuffer_getClosestPolarInList(startAngle, endAngle, ArPose.getCPtr(position), maxRange, SWIGTYPE_p_double.getCPtr(angle), SWIGTYPE_p_std__listT_ArPoseWithTime_p_t.getCPtr(buffer));

            if (AriaCSPINVOKE.SWIGPendingException.Pending)
            {
                throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }