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) 2016 Qingan 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
9#ifndef IGL_COPYLEFT_CGAL_ORIENT_3D_H
10#define IGL_COPYLEFT_CGAL_ORIENT_3D_H
11
12#include "../../igl_inline.h"
13
14namespace igl
15{
16 namespace copyleft
17 {
18 namespace cgal
19 {
29 template <typename Scalar>
31 const Scalar pa[3],
32 const Scalar pb[3],
33 const Scalar pc[3],
34 const Scalar pd[3]);
35 }
36 }
37}
38
39#ifndef IGL_STATIC_LIBRARY
40# include "orient3D.cpp"
41#endif
42#endif
#define IGL_INLINE
Definition igl_inline.h:15
short orient3D(const Scalar pa[3], const Scalar pb[3], const Scalar pc[3], const Scalar pd[3])
Tests whether a point is above, on, or below a plane.
Definition AABB.h:17