libigl v2.5.0
Loading...
Searching...
No Matches
principal_curvature.h File Reference
#include <Eigen/Geometry>
#include <Eigen/Dense>
#include <vector>
#include "igl_inline.h"
#include "principal_curvature.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename DerivedV , typename DerivedF , typename DerivedPD1 , typename DerivedPD2 , typename DerivedPV1 , typename DerivedPV2 >
void igl::principal_curvature (const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, Eigen::PlainObjectBase< DerivedPD1 > &PD1, Eigen::PlainObjectBase< DerivedPD2 > &PD2, Eigen::PlainObjectBase< DerivedPV1 > &PV1, Eigen::PlainObjectBase< DerivedPV2 > &PV2, unsigned radius=5, bool useKring=true)
 Compute the principal curvature directions and magnitude of the given triangle mesh DerivedV derived from vertex positions matrix type: i.e.
 
template<typename DerivedV , typename DerivedF , typename DerivedPD1 , typename DerivedPD2 , typename DerivedPV1 , typename DerivedPV2 , typename Index >
void igl::principal_curvature (const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, Eigen::PlainObjectBase< DerivedPD1 > &PD1, Eigen::PlainObjectBase< DerivedPD2 > &PD2, Eigen::PlainObjectBase< DerivedPV1 > &PV1, Eigen::PlainObjectBase< DerivedPV2 > &PV2, std::vector< Index > &bad_vertices, unsigned radius=5, bool useKring=true)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.