Open3D (C++ API)  0.18.0+252c867
Qhull.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - Open3D: www.open3d.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2023 www.open3d.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include <Eigen/Core>
11 #include <memory>
12 #include <vector>
13 
14 namespace open3d {
15 namespace geometry {
16 
17 class TriangleMesh;
18 class TetraMesh;
19 
20 class Qhull {
21 public:
29  static std::tuple<std::shared_ptr<TriangleMesh>, std::vector<size_t>>
30  ComputeConvexHull(const std::vector<Eigen::Vector3d>& points,
31  bool joggle_inputs = false);
32 
33  static std::tuple<std::shared_ptr<TetraMesh>, std::vector<size_t>>
35  const std::vector<Eigen::Vector3d>& points);
36 };
37 
38 } // namespace geometry
39 } // namespace open3d
Definition: Qhull.h:20
static std::tuple< std::shared_ptr< TriangleMesh >, std::vector< size_t > > ComputeConvexHull(const std::vector< Eigen::Vector3d > &points, bool joggle_inputs=false)
Definition: Qhull.cpp:23
static std::tuple< std::shared_ptr< TetraMesh >, std::vector< size_t > > ComputeDelaunayTetrahedralization(const std::vector< Eigen::Vector3d > &points)
Definition: Qhull.cpp:108
int points
Definition: FilePCD.cpp:54
Definition: PinholeCameraIntrinsic.cpp:16