libigl
v2.5.0
Loading...
Searching...
No Matches
orient2D.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_2D_H
10
#define IGL_COPYLEFT_CGAL_ORIENT_2D_H
11
12
#include "../../igl_inline.h"
13
14
namespace
igl
15
{
16
namespace
copyleft
17
{
18
namespace
cgal
19
{
28
template
<
typename
Scalar>
29
IGL_INLINE
short
orient2D
(
30
const
Scalar *pa,
31
const
Scalar *pb,
32
const
Scalar *pc);
33
}
34
}
35
}
36
37
#ifndef IGL_STATIC_LIBRARY
38
# include "orient2D.cpp"
39
#endif
40
#endif
IGL_INLINE
#define IGL_INLINE
Definition
igl_inline.h:15
igl::copyleft::cgal::orient2D
short orient2D(const Scalar *pa, const Scalar *pb, const Scalar *pc)
Tests whether a point is above, on, or below a line.
igl
Definition
AABB.h:17
include
igl
copyleft
cgal
orient2D.h
Generated by
1.9.8