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) 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_INSPHERE_H
10#define IGL_PREDICATES_INSPHERE_H
11
12#include "../igl_inline.h"
13#include <Eigen/Core>
14#include "../Orientation.h"
15
16namespace igl {
17 namespace predicates {
30 template<typename Vector3D>
32 const Eigen::MatrixBase<Vector3D>& pa,
33 const Eigen::MatrixBase<Vector3D>& pb,
34 const Eigen::MatrixBase<Vector3D>& pc,
35 const Eigen::MatrixBase<Vector3D>& pd,
36 const Eigen::MatrixBase<Vector3D>& pe);
37 }
38}
39
40#ifndef IGL_STATIC_LIBRARY
41#include "insphere.cpp"
42#endif
43
44#endif
45
46
#define IGL_INLINE
Definition igl_inline.h:15
Orientation insphere(const Eigen::MatrixBase< Vector3D > &pa, const Eigen::MatrixBase< Vector3D > &pb, const Eigen::MatrixBase< Vector3D > &pc, const Eigen::MatrixBase< Vector3D > &pd, const Eigen::MatrixBase< Vector3D > &pe)
Decide whether a point is inside/outside/on a sphere.
Definition AABB.h:18
Orientation
Types of orientations and other predicate results.
Definition Orientation.h:20