libigl v2.5.0
Loading...
Searching...
No Matches
signed_distance_isosurface.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) 2014 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_SIGNED_DISTANCE_ISOSURFACE_H
9#define IGL_COPYLEFT_CGAL_SIGNED_DISTANCE_ISOSURFACE_H
10#include "../../igl_inline.h"
11#include "../../signed_distance.h"
12#include <Eigen/Core>
13namespace igl
14{
15 namespace copyleft
16 {
17 namespace cgal
18 {
35 const Eigen::MatrixXd & IV,
36 const Eigen::MatrixXi & IF,
37 const double level,
38 const double angle_bound,
39 const double radius_bound,
40 const double distance_bound,
41 const SignedDistanceType sign_type,
42 Eigen::MatrixXd & V,
43 Eigen::MatrixXi & F);
44 }
45 }
46}
47
48#ifndef IGL_STATIC_LIBRARY
49# include "signed_distance_isosurface.cpp"
50#endif
51
52#endif
53
#define IGL_INLINE
Definition igl_inline.h:15
bool signed_distance_isosurface(const Eigen::MatrixXd &IV, const Eigen::MatrixXi &IF, const double level, const double angle_bound, const double radius_bound, const double distance_bound, const SignedDistanceType sign_type, Eigen::MatrixXd &V, Eigen::MatrixXi &F)
Compute the contour of an iso-level of the signed distance field to a given mesh.
Definition AABB.h:17
SignedDistanceType
Types of signing a distance field.
Definition signed_distance.h:21