Esempio n. 1
0
        //
        // C++: static Ptr_Plot2d cv::plot::Plot2d::create(Mat data)
        //

        /**
         * Creates Plot2d object
         *
         * param data \(1xN\) or \(Nx1\) matrix containing \(Y\) values of points to plot. \(X\) values
         * will be equal to indexes of correspondind elements in data matrix.
         * return automatically generated
         */
        public static Plot2d create(Mat data)
        {
            if (data != null)
            {
                data.ThrowIfDisposed();
            }

            return(Plot2d.__fromPtr__(plot_Plot2d_create_10(data.nativeObj)));
        }
Esempio n. 2
0
        //
        // C++: static Ptr_Plot2d cv::plot::Plot2d::create(Mat dataX, Mat dataY)
        //

        /**
         * Creates Plot2d object
         *
         * param dataX \(1xN\) or \(Nx1\) matrix \(X\) values of points to plot.
         * param dataY \(1xN\) or \(Nx1\) matrix containing \(Y\) values of points to plot.
         * return automatically generated
         */
        public static Plot2d create(Mat dataX, Mat dataY)
        {
            if (dataX != null)
            {
                dataX.ThrowIfDisposed();
            }
            if (dataY != null)
            {
                dataY.ThrowIfDisposed();
            }

            return(Plot2d.__fromPtr__(plot_Plot2d_create_11(dataX.nativeObj, dataY.nativeObj)));
        }
Esempio n. 3
0
        //
        // C++: static Ptr_Plot2d cv::plot::Plot2d::create(Mat data)
        //

        //javadoc: Plot2d::create(data)
        public static Plot2d create(Mat data)
        {
            if (data != null)
            {
                data.ThrowIfDisposed();
            }
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            Plot2d retVal = Plot2d.__fromPtr__(plot_Plot2d_create_10(data.nativeObj));

            return(retVal);
#else
            return(null);
#endif
        }