Emgu.CV.Octree.BuildTree C# (CSharp) Метод

BuildTree() публичный Метод

Build an Oct-Tree from the given points
public BuildTree ( MCvPoint3D32f points, int maxLevels, int minPoints ) : void
points MCvPoint3D32f The points to be inserted into the Oct-Tree
maxLevels int The maximum levels of the Oct-Tree
minPoints int The minimum number of points in each level
Результат void
        public void BuildTree(MCvPoint3D32f[] points, int maxLevels, int minPoints)
        {
            GCHandle handle = GCHandle.Alloc(points, GCHandleType.Pinned);
             CvInvoke.CvOctreeBuildTree(_ptr, handle.AddrOfPinnedObject(), points.Length, maxLevels, minPoints);
             handle.Free();
        }