libigl v2.5.0
Loading...
Searching...
No Matches
insphere.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_INSPHERE_H
10#define IGL_COPYLEFT_CGAL_INSPHERE_H
11
12#include "../../igl_inline.h"
13
14namespace igl
15{
16 namespace copyleft
17 {
18 namespace cgal
19 {
31 template <typename Scalar>
33 const Scalar pa[3],
34 const Scalar pb[3],
35 const Scalar pc[3],
36 const Scalar pd[3],
37 const Scalar pe[3]);
38 }
39 }
40}
41
42#ifndef IGL_STATIC_LIBRARY
43# include "insphere.cpp"
44#endif
45#endif
#define IGL_INLINE
Definition igl_inline.h:15
short insphere(const Scalar pa[3], const Scalar pb[3], const Scalar pc[3], const Scalar pd[3], const Scalar pe[3])
Test whether point is in a given sphere.
Definition AABB.h:17