コード例 #1
0
        public virtual FrameworkReturnCode transform(Point2DfArray inputPoints, Transform2Df transformation, Point2DfArray outputPoints)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_geomPINVOKE.I2DTransform_transform(swigCPtr, Point2DfArray.getCPtr(inputPoints), Transform2Df.getCPtr(transformation), Point2DfArray.getCPtr(outputPoints));

            if (solar_api_geomPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_geomPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #2
0
        public virtual bool decompose(Transform2Df F, Transform3DfList decomposedPoses)
        {
            bool ret = solar_api_solver_posePINVOKE.I2Dto3DTransformDecomposer_decompose(swigCPtr, Transform2Df.getCPtr(F), Transform3DfList.getCPtr(decomposedPoses));

            if (solar_api_solver_posePINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_solver_posePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #3
0
ファイル: I2DTransformFinder.cs プロジェクト: Staskkk/VRPhone
        public virtual RetCode find(Point2DfArray srcPoints, Point2DfArray dstPoints, Transform2Df fundamental)
        {
            RetCode ret = (RetCode)solar_api_solver_posePINVOKE.I2DTransformFinder_find(swigCPtr, Point2DfArray.getCPtr(srcPoints), Point2DfArray.getCPtr(dstPoints), Transform2Df.getCPtr(fundamental));

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