libigl v2.5.0
Loading...
Searching...
No Matches
point_solid_signed_squared_distance.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 Alec Jacobson <alecjacobson@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#ifndef IGL_COPYLEFT_CGAL_POINT_SOLID_SIGNED_SQUARED_DISTANCE_H
9#define IGL_COPYLEFT_CGAL_POINT_SOLID_SIGNED_SQUARED_DISTANCE_H
10#include "../../igl_inline.h"
11#include <Eigen/Core>
12
13namespace igl
14{
15 namespace copyleft
16 {
17 namespace cgal
18 {
28 template <
29 typename DerivedQ,
30 typename DerivedVB,
31 typename DerivedFB,
32 typename DerivedD>
34 const Eigen::PlainObjectBase<DerivedQ> & Q,
35 const Eigen::PlainObjectBase<DerivedVB> & VB,
36 const Eigen::PlainObjectBase<DerivedFB> & FB,
37 Eigen::PlainObjectBase<DerivedD> & D);
38 }
39 }
40}
41
42#ifndef IGL_STATIC_LIBRARY
43# include "point_solid_signed_squared_distance.cpp"
44#endif
45
46#endif
#define IGL_INLINE
Definition igl_inline.h:15
void point_solid_signed_squared_distance(const Eigen::PlainObjectBase< DerivedQ > &Q, const Eigen::PlainObjectBase< DerivedVB > &VB, const Eigen::PlainObjectBase< DerivedFB > &FB, Eigen::PlainObjectBase< DerivedD > &D)
Given a set of points (Q) and the boundary mesh (VB,FB) of a solid (as defined in [Zhou et al.
Definition AABB.h:17