libigl v2.5.0
Loading...
Searching...
No Matches
oriented_bounding_box.h
Go to the documentation of this file.
1// This file is part of libigl, a simple c++ geometry processing library.
2//
3// Copyright (C) 2025 Alec Jacobson <alecjacobson@gmail.com>
4//
5// This Source Code Form is subject to the terms of the Mozilla Public License
6// v. 2.0. If a copy of the MPL was not distributed with this file, You can
7// obtain one at http://mozilla.org/MPL/2.0/
8
9#ifndef IGL_COPYLEFT_CGAL_ORIENTED_BOUNDING_BOX_H
10#define IGL_COPYLEFT_CGAL_ORIENTED_BOUNDING_BOX_H
11#include "../../igl_inline.h"
12#include <Eigen/Core>
13#include <Eigen/Geometry>
14#include <vector>
15namespace igl
16{
17 namespace copyleft
18 {
19 namespace cgal
20 {
28 template <typename DerivedP, typename DerivedR>
30 const Eigen::MatrixBase<DerivedP>& P,
31 Eigen::PlainObjectBase<DerivedR> & R);
32 }
33 }
34}
35
36#ifndef IGL_STATIC_LIBRARY
37#include "oriented_bounding_box.cpp"
38#endif
39#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition assign.h:19
void oriented_bounding_box(const Eigen::MatrixBase< DerivedP > &P, Eigen::PlainObjectBase< DerivedR > &R)
Given a set of points compute the rotation transformation of them such that their axis-aligned boundi...
Definition assign.h:17
Definition AABB.h:18