libigl v2.5.0
Loading...
Searching...
No Matches
orient3d.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) 2019 Qingnan Zhou <qnzhou@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#pragma once
9#ifndef IGL_PREDICATES_ORIENT3D_H
10#define IGL_PREDICATES_ORIENT3D_H
11
12#include "../igl_inline.h"
13#include <Eigen/Core>
14#include "../Orientation.h"
15
16namespace igl {
17 namespace predicates {
29 template<typename Vector3D>
31 const Eigen::MatrixBase<Vector3D>& pa,
32 const Eigen::MatrixBase<Vector3D>& pb,
33 const Eigen::MatrixBase<Vector3D>& pc,
34 const Eigen::MatrixBase<Vector3D>& pd);
44 template
45 <typename DerivedA,
46 typename DerivedB,
47 typename DerivedC,
48 typename DerivedD,
49 typename DerivedR>
51 const Eigen::MatrixBase<DerivedA>& A,
52 const Eigen::MatrixBase<DerivedB>& B,
53 const Eigen::MatrixBase<DerivedC>& C,
54 const Eigen::MatrixBase<DerivedD>& D,
55 Eigen::PlainObjectBase<DerivedR>& R);
56 }
57}
58
59#ifndef IGL_STATIC_LIBRARY
60#include "orient3d.cpp"
61#endif
62
63#endif
64
#define IGL_INLINE
Definition igl_inline.h:15
Orientation orient3d(const Eigen::MatrixBase< Vector3D > &pa, const Eigen::MatrixBase< Vector3D > &pb, const Eigen::MatrixBase< Vector3D > &pc, const Eigen::MatrixBase< Vector3D > &pd)
Compute the orientation of the tetrahedron formed by pa, pb, pc, pd.
Definition AABB.h:18
Orientation
Types of orientations and other predicate results.
Definition Orientation.h:20