PolyFEM
|
#include <BSplineParametrization.hpp>
Public Member Functions | |
BSplineParametrization2D (const Eigen::MatrixXd &control_points, const Eigen::MatrixXd &knots, const Eigen::MatrixXd &V) | |
int | vertex_size () override |
void | reparametrize (const Eigen::MatrixXd &control_points, Eigen::MatrixXd &newV) override |
void | get_parameters (const Eigen::MatrixXd &V, Eigen::MatrixXd &control_points, const bool mesh_changed) override |
void | derivative_wrt_params (const Eigen::VectorXd &grad_boundary, Eigen::VectorXd &grad_control_points) override |
Public Member Functions inherited from polyfem::BSplineParametrization | |
BSplineParametrization (const Eigen::MatrixXd &V) | |
virtual | ~BSplineParametrization ()=default |
Static Public Member Functions | |
static void | gradient (const Eigen::MatrixXd &point, const Eigen::MatrixXd &control_points, const double t_parameter, const double distance, Eigen::MatrixXd &grad) |
static void | eval (const Eigen::MatrixXd &control_points, const double t, Eigen::MatrixXd &val) |
static void | deriv (const Eigen::MatrixXd &control_points, const double t, Eigen::MatrixXd &val) |
Private Attributes | |
std::vector< int > | node_ids_ |
std::map< int, double > | node_id_to_t_ |
const int | dim |
nanospline::BSpline< double, 2, 3 > | curve |
Additional Inherited Members | |
Protected Attributes inherited from polyfem::BSplineParametrization | |
int | num_vertices |
Definition at line 29 of file BSplineParametrization.hpp.
polyfem::BSplineParametrization2D::BSplineParametrization2D | ( | const Eigen::MatrixXd & | control_points, |
const Eigen::MatrixXd & | knots, | ||
const Eigen::MatrixXd & | V | ||
) |
Definition at line 12 of file BSplineParametrization.cpp.
References curve, dim, polyfem::log_and_throw_error(), polyfem::logger(), node_id_to_t_, node_ids_, and V.
|
static |
Definition at line 129 of file BSplineParametrization.cpp.
|
overridevirtual |
Implements polyfem::BSplineParametrization.
Definition at line 93 of file BSplineParametrization.cpp.
References curve, dim, node_id_to_t_, and node_ids_.
|
static |
Definition at line 122 of file BSplineParametrization.cpp.
|
overridevirtual |
Implements polyfem::BSplineParametrization.
Definition at line 64 of file BSplineParametrization.cpp.
References curve, dim, node_id_to_t_, node_ids_, and V.
|
static |
Definition at line 113 of file BSplineParametrization.cpp.
|
overridevirtual |
Implements polyfem::BSplineParametrization.
Definition at line 52 of file BSplineParametrization.cpp.
References curve, dim, node_id_to_t_, and node_ids_.
|
inlineoverridevirtual |
Implements polyfem::BSplineParametrization.
Definition at line 34 of file BSplineParametrization.hpp.
References node_id_to_t_.
|
private |
Definition at line 51 of file BSplineParametrization.hpp.
Referenced by BSplineParametrization2D(), deriv(), derivative_wrt_params(), eval(), get_parameters(), gradient(), and reparametrize().
|
private |
Definition at line 50 of file BSplineParametrization.hpp.
Referenced by BSplineParametrization2D(), derivative_wrt_params(), get_parameters(), and reparametrize().
|
private |
Definition at line 49 of file BSplineParametrization.hpp.
Referenced by BSplineParametrization2D(), derivative_wrt_params(), get_parameters(), reparametrize(), and vertex_size().
|
private |
Definition at line 48 of file BSplineParametrization.hpp.
Referenced by BSplineParametrization2D(), derivative_wrt_params(), get_parameters(), and reparametrize().