libigl v2.5.0
Loading...
Searching...
No Matches
smooth_corner_adjacency.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) 2024 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_SMOOTH_CORNER_ADJACENCY_H
9#define IGL_SMOOTH_CORNER_ADJACENCY_H
10
11#include <Eigen/Core>
12#include "igl_inline.h"
13
14namespace igl
15{
26 template <
27 typename DerivedV,
28 typename DerivedF,
29 typename DerivedCI,
30 typename DerivedCC>
32 const Eigen::MatrixBase<DerivedV> & V,
33 const Eigen::MatrixBase<DerivedF> & F,
34 const double corner_threshold_radians,
35 Eigen::PlainObjectBase<DerivedCI> & CI,
36 Eigen::PlainObjectBase<DerivedCC> & CC);
46 template <
47 typename DerivedFV,
48 typename DerivedFN,
49 typename DerivedCI,
50 typename DerivedCC>
52 const Eigen::MatrixBase<DerivedFV> & FV,
53 const Eigen::MatrixBase<DerivedFN> & FN,
54 Eigen::PlainObjectBase<DerivedCI> & CI,
55 Eigen::PlainObjectBase<DerivedCC> & CC);
56}
57
58#ifndef IGL_STATIC_LIBRARY
59# include "smooth_corner_adjacency.cpp"
60#endif
61
62#endif
Definition AABB.h:18
void smooth_corner_adjacency(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const double corner_threshold_radians, Eigen::PlainObjectBase< DerivedCI > &CI, Eigen::PlainObjectBase< DerivedCC > &CC)
Determine the corner-to-face adjacency relationship that can be used for computing crease-aware per-c...