示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TriStateMatrix"/> class.
 /// </summary>
 /// <param name="internalArray">The internal array.</param>
 /// <remarks></remarks>
 internal TriStateMatrix(bool[,] internalArray)
 {
     m_InternalArray = internalArray;
     int width = internalArray.GetLength(0);
     m_stateMatrix = new StateMatrix(width);
     m_Width = width;
 }
示例#2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="TriStateMatrix"/> class.
        /// </summary>
        /// <param name="internalArray">The internal array.</param>
        /// <remarks></remarks>
        internal TriStateMatrix(bool[,] internalArray)
        {
            m_InternalArray = internalArray;
            int width = internalArray.GetLength(0);

            m_stateMatrix = new StateMatrix(width);
            m_Width       = width;
        }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TriStateMatrix"/> class.
 /// </summary>
 /// <param name="width">The width.</param>
 /// <remarks></remarks>
 public TriStateMatrix(int width)
 {
     m_stateMatrix   = new StateMatrix(width);
     m_InternalArray = new bool[width, width];
     m_Width         = width;
 }
示例#4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TriStateMatrix"/> class.
 /// </summary>
 /// <param name="width">The width.</param>
 /// <remarks></remarks>
 public TriStateMatrix(int width)
 {
     m_stateMatrix = new StateMatrix(width);
     m_InternalArray = new bool[width,width];
     m_Width = width;
 }