using System;
using OpenCvSharp;

namespace OpenCVStudio_v0
{
    /// <summary>
    /// Хранит выпуклые оболочки найденных контуров.
    /// </summary>
    public sealed class ConvexHullData
    {
        public OpenCvSharp. Point[][] Hulls { get; }

        public int Count => Hulls.Length;

        public ConvexHullData(OpenCvSharp.Point[][] hulls)
        {
            Hulls = hulls ?? Array.Empty<OpenCvSharp.Point[]>();
        }
    }
}