summaryrefslogtreecommitdiff
path: root/src/Coxeter_triangulation/include/gudhi/Coxeter_triangulation/Query_result.h
blob: 5543c2fbecf75fcf6b84f2b2bd0fafdd5398dc60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*    This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT.
 *    See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details.
 *    Author(s):       Siargey Kachanovich
 *
 *    Copyright (C) 2019 Inria
 *
 *    Modification(s):
 *      - YYYY/MM Author: Description of the modification
 */

#ifndef QUERY_RESULT_H_
#define QUERY_RESULT_H_

namespace Gudhi {

namespace coxeter_triangulation {

/** \class Query_result
 *  \brief The result of a query by an oracle such as Implicit_manifold_intersection_oracle.
 *
 *  \tparam Simplex_handle The class of the query simplex.
 *
 *  \ingroup coxeter_triangulation
 */
template <class Simplex_handle>
struct Query_result {
  /** \brief The potentially lower-dimensional face of the query simplex
   *   that contains the intersection point. OBSOLETE: as the snapping is removed. */
  // Simplex_handle face;
  /** \brief The intersection point. */
  Eigen::VectorXd intersection;
  /** \brief True if the query simplex intersects the manifold. */
  bool success;
};

}  // namespace coxeter_triangulation

}  // namespace Gudhi

#endif