%% verifyTrajectory
% given a set of trajectories, checks whether
% they all fulfill the state constraints, and
% start and end inside the terminal region
%
%% Syntax
%
% <html>
%        <div class="syntax">
% verifyTrajectory(T, trajectories) <br>
% verifyTrajectory(T, trajectories, tol) <br>
%        </div>
% </html>
%
%% Description
% Given a set of trajectories (for example given as the output of
% simulateRandom), checks whether they all fulfill the
% state/input/output constraints, and start and end inside the
% terminal region.
%
%% Input Arguments
%
%
% <html>
% <table cellspacing="0" cellpadding="4" width="" border="1" frame="box" rules="none" class="">
% <tbody valign="top">
%    <tr bgcolor="#F2F2F2">
%    <td>
%        <p class="table">
%            trajectories
%        </p>
%    </td>
%    <td>
%        <p class="table">
%            cell array of structs as generated by simulate.m
%        </p>
%    </td>
%    </tr>
%    <tr bgcolor="#F2F2F2">
%    <td>
%        <p class="table">
%            tol
%        </p>
%    </td>
%    <td>
%        <p class="table">
%            tolerance for containment
%            (class: non-negative double)
%        </p>
%    </td>
%    </tr>
% </tbody>
% </table>
% </html>
%
%% Output Arguments
% ---
%
%% See Also
% <simulatehelp.html |simulate|>, <simulateRandomhelp.html |simulateRandom|>
%

%%
% <html>
%   <hr>
%   <p class="copy">&copy; 2018-2026 I6 Technische Universit&auml;t M&uuml;nchen
%        <tt class="minicdot">&#149;</tt>
%        <a href="https://tumcps.github.io/AROC/">Website</a>
%        <tt class="minicdot">&#149;</tt>
%        <a href="file:txts/LICENSE.txt">License</a>
%   </p>
% <div>
% <table>
%  <tr>
%   <td style="background-color:#ffffff; border:0; width:25%; vertical-align:middle; text-align:center">
%             <img src="img/logoAroc.png" alt="logoAroc" height="40px">
%      </td>
%   <td style="background-color:#ffffff; border:0; width:25%; vertical-align:middle; text-align:center">
%      <img src="img/logoCora.png" alt="logoCora" height="40px"></td>
%   <td style="background-color:#ffffff; border:0; width:25%; vertical-align:middle; text-align:center">
%      <img src="img/logoChair.png" alt="logoChair" height="40px"></td>
%   <td style="background-color:#ffffff; border:0; width:25%; vertical-align:middle; text-align:center">
%      <img src="img/logoTum.png" alt="logoTum" height="40px"></td>
%  </tr>
% </table>
% </div>
% </html>
