libigl v2.5.0
Loading...
Searching...
No Matches
incircle.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_INCIRCLE_H
10#define IGL_PREDICATES_INCIRCLE_H
11
12#include "../igl_inline.h"
13#include <Eigen/Core>
14#include "../Orientation.h"
15
16namespace igl {
17 namespace predicates {
29 template<typename Vector2D>
31 const Eigen::MatrixBase<Vector2D>& pa,
32 const Eigen::MatrixBase<Vector2D>& pb,
33 const Eigen::MatrixBase<Vector2D>& pc,
34 const Eigen::MatrixBase<Vector2D>& pd);
35 }
36}
37
38#ifndef IGL_STATIC_LIBRARY
39#include "incircle.cpp"
40#endif
41
42#endif
43
#define IGL_INLINE
Definition igl_inline.h:15
Orientation incircle(const Eigen::MatrixBase< Vector2D > &pa, const Eigen::MatrixBase< Vector2D > &pb, const Eigen::MatrixBase< Vector2D > &pc, const Eigen::MatrixBase< Vector2D > &pd)
Decide whether a point is inside/outside/on a circle.
Definition AABB.h:18
Orientation
Types of orientations and other predicate results.
Definition Orientation.h:20