libigl
v2.5.0
Loading...
Searching...
No Matches
line_mesh_intersection.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) 2013 Daniele Panozzo <daniele.panozzo@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_EMBREE_LINE_MESH_INTERSECTION_H
9
#define IGL_EMBREE_LINE_MESH_INTERSECTION_H
10
#include "../igl_inline.h"
11
12
#include <Eigen/Dense>
13
#include <Eigen/Sparse>
14
#include <vector>
15
16
namespace
igl
17
{
18
namespace
embree
19
{
35
template
<
typename
ScalarMatrix,
typename
IndexMatrix>
36
IGL_INLINE
ScalarMatrix
line_mesh_intersection
37
(
38
const
ScalarMatrix & V_source,
39
const
ScalarMatrix & N_source,
40
const
ScalarMatrix & V_target,
41
const
IndexMatrix & F_target
42
);
43
}
44
}
45
#ifndef IGL_STATIC_LIBRARY
46
# include "line_mesh_intersection.cpp"
47
#endif
48
49
#endif
IGL_INLINE
#define IGL_INLINE
Definition
igl_inline.h:15
igl::embree::line_mesh_intersection
ScalarMatrix line_mesh_intersection(const ScalarMatrix &V_source, const ScalarMatrix &N_source, const ScalarMatrix &V_target, const IndexMatrix &F_target)
Project the point cloud V_source onto the triangle mesh V_target,F_target.
igl
Definition
AABB.h:17
include
igl
embree
line_mesh_intersection.h
Generated by
1.9.8