Program Listing for File output.hxx

Return to documentation for file (src/enve/output.hxx)

/*
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *                                                                     *
 * The ENVE project                                                    *
 *                                                                     *
 * Copyright (c) 2020, Davide Stocco and Enrico Bertolazzi.            *
 *                                                                     *
 * The ENVE project and its components are supplied under the terms of *
 * the open source BSD 3-Clause License. The contents of the ENVE      *
 * project and its components may not be copied or disclosed except in *
 * accordance with the terms of the BSD 3-Clause License.              *
 *                                                                     *
 * URL: https://opensource.org/licenses/BSD-3-Clause                   *
 *                                                                     *
 *    Davide Stocco                                                    *
 *    Department of Industrial Engineering                             *
 *    University of Trento                                             *
 *    e-mail: davide.stocco@unitn.it                                   *
 *                                                                     *
 *    Enrico Bertolazzi                                                *
 *    Department of Industrial Engineering                             *
 *    University of Trento                                             *
 *    e-mail: enrico.bertolazzi@unitn.it                               *
 *                                                                     *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*/


#ifndef INCLUDE_ENVE_OUTPUT_HXX
#define INCLUDE_ENVE_OUTPUT_HXX

namespace enve
{

  /*\
   |               _               _
   |    ___  _   _| |_ _ __  _   _| |_
   |   / _ \| | | | __| '_ \| | | | __|
   |  | (_) | |_| | |_| |_) | |_| | |_
   |   \___/ \__,_|\__| .__/ \__,_|\__|
   |                  |_|
  \*/

  struct output {
    acme::point point    = NAN_POINT;
    acme::vec3  normal   = NAN_VEC3;
    acme::real  friction = QUIET_NAN;
    acme::real  depth    = QUIET_NAN;
    acme::real  area     = QUIET_NAN;
    acme::real  volume   = QUIET_NAN;
  }; // struct output

} // namespace enve

#endif