summaryrefslogtreecommitdiff
path: root/src/Coxeter_triangulation/include/gudhi/Query_result.h
blob: c7384c0b1645426174e40d8fc2b937425ccec53c (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
41
42
/*    This file is part of the Gudhi Library. The Gudhi library
 *    (Geometric Understanding in Higher Dimensions) is a generic C++
 *    library for computational topology.
 *
 *    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