Пример #1
0
            // Methods

            public Cv.Point3f At(uint pos)
            {
                Cv.Exception exception = new Cv.Exception();
                Cv.Point3f   element   = new Cv.Point3f(au_std_vectorPoint3f_at(CppPtr, pos, exception.CppPtr), Utility.DeleteResponsibility.False);
                exception.Check();
                return(element);
            }
Пример #2
0
            public unsafe Cv.Point3f[] Data()
            {
                IntPtr *dataPtr = au_std_vectorPoint3f_data(CppPtr);
                uint    size    = Size();

                Cv.Point3f[] data = new Cv.Point3f[size];
                for (int i = 0; i < size; i++)
                {
                    data[i] = new Cv.Point3f(dataPtr[i], Utility.DeleteResponsibility.False);
                }

                return(data);
            }