PolyFEM
|
#include <InterpolatedFunction.hpp>
Public Member Functions | |
InterpolatedFunction2d () | |
InterpolatedFunction2d (const Eigen::MatrixXd &fun, const Eigen::MatrixXd &pts, const Eigen::MatrixXi &tris) | |
void | init (const Eigen::MatrixXd &fun, const Eigen::MatrixXd &pts, const Eigen::MatrixXi &tris) |
Eigen::MatrixXd | interpolate (const Eigen::MatrixXd &pts) const |
Private Attributes | |
igl::AABB< Eigen::MatrixXd, 2 > | tree_ |
Eigen::MatrixXd | fun_ |
Eigen::MatrixXd | pts_ |
Eigen::MatrixXi | tris_ |
Definition at line 11 of file InterpolatedFunction.hpp.
|
inline |
Definition at line 14 of file InterpolatedFunction.hpp.
polyfem::utils::InterpolatedFunction2d::InterpolatedFunction2d | ( | const Eigen::MatrixXd & | fun, |
const Eigen::MatrixXd & | pts, | ||
const Eigen::MatrixXi & | tris | ||
) |
Definition at line 12 of file InterpolatedFunction.cpp.
References init().
void polyfem::utils::InterpolatedFunction2d::init | ( | const Eigen::MatrixXd & | fun, |
const Eigen::MatrixXd & | pts, | ||
const Eigen::MatrixXi & | tris | ||
) |
Definition at line 17 of file InterpolatedFunction.cpp.
References fun_, pts_, tree_, and tris_.
Referenced by polyfem::problem::PointBasedTensorProblem::BCValue::init(), and InterpolatedFunction2d().
Eigen::MatrixXd polyfem::utils::InterpolatedFunction2d::interpolate | ( | const Eigen::MatrixXd & | pts | ) | const |
|
private |
Definition at line 22 of file InterpolatedFunction.hpp.
Referenced by init(), and interpolate().
|
private |
Definition at line 23 of file InterpolatedFunction.hpp.
Referenced by init(), and interpolate().
|
private |
Definition at line 21 of file InterpolatedFunction.hpp.
Referenced by init(), and interpolate().
|
private |
Definition at line 24 of file InterpolatedFunction.hpp.
Referenced by init(), and interpolate().