nurbs::NurbsBase2D Struct Reference

#include <MeshFlatteningNurbs.h>

Public Member Functions

void computeFirstDerivatives ()
 
void computeSecondDerivatives ()
 
spMat getDuMatrix (Eigen::Matrix< double, Eigen::Dynamic, 2 > U)
 
Eigen::VectorXd getDuVector (Eigen::Vector2d u)
 
spMat getDvMatrix (Eigen::Matrix< double, Eigen::Dynamic, 2 > U)
 
Eigen::VectorXd getDvVector (Eigen::Vector2d u)
 
spMat getInfluenceMatrix (Eigen::Matrix< double, Eigen::Dynamic, 2 > U)
 
Eigen::VectorXd getInfluenceVector (Eigen::Vector2d u)
 
Eigen::Matrix< double, Eigen::Dynamic, 2 > getUVMesh (int num_u_points, int num_v_points)
 
std::tuple< NurbsBase2D, Eigen::MatrixXd > interpolateUBS (Eigen::Matrix< double, Eigen::Dynamic, 3 > poles, int degree_u, int degree_v, int num_u_poles, int num_v_poles, int num_u_points, int num_v_points)
 
 NurbsBase2D ()
 
 NurbsBase2D (Eigen::VectorXd u_knots, Eigen::VectorXd v_knots, Eigen::VectorXd weights, int degree_u=3, int degree_v=3)
 

Public Attributes

std::vector< std::function< double(double)> > DDu_functions
 
std::vector< std::function< double(double)> > DDv_functions
 
int degree_u
 
int degree_v
 
std::vector< std::function< double(double)> > Du_functions
 
std::vector< std::function< double(double)> > Dv_functions
 
std::vector< std::function< double(double)> > u_functions
 
Eigen::VectorXd u_knots
 
std::vector< std::function< double(double)> > v_functions
 
Eigen::VectorXd v_knots
 
Eigen::VectorXd weights
 

Constructor & Destructor Documentation

◆ NurbsBase2D() [1/2]

nurbs::NurbsBase2D::NurbsBase2D ( )

◆ NurbsBase2D() [2/2]

nurbs::NurbsBase2D::NurbsBase2D ( Eigen::VectorXd  u_knots,
Eigen::VectorXd  v_knots,
Eigen::VectorXd  weights,
int  degree_u = 3,
int  degree_v = 3 
)

Member Function Documentation

◆ computeFirstDerivatives()

void nurbs::NurbsBase2D::computeFirstDerivatives ( )

◆ computeSecondDerivatives()

void nurbs::NurbsBase2D::computeSecondDerivatives ( )

◆ getDuMatrix()

spMat nurbs::NurbsBase2D::getDuMatrix ( Eigen::Matrix< double, Eigen::Dynamic, 2 >  U)

◆ getDuVector()

Eigen::VectorXd nurbs::NurbsBase2D::getDuVector ( Eigen::Vector2d  u)

References Du_functions, u_functions, and v_functions.

Referenced by getDuMatrix().

◆ getDvMatrix()

spMat nurbs::NurbsBase2D::getDvMatrix ( Eigen::Matrix< double, Eigen::Dynamic, 2 >  U)

◆ getDvVector()

Eigen::VectorXd nurbs::NurbsBase2D::getDvVector ( Eigen::Vector2d  u)

References Dv_functions, u_functions, and v_functions.

Referenced by getDvMatrix().

◆ getInfluenceMatrix()

spMat nurbs::NurbsBase2D::getInfluenceMatrix ( Eigen::Matrix< double, Eigen::Dynamic, 2 >  U)

◆ getInfluenceVector()

Eigen::VectorXd nurbs::NurbsBase2D::getInfluenceVector ( Eigen::Vector2d  u)

References u_functions, and v_functions.

Referenced by getInfluenceMatrix().

◆ getUVMesh()

Eigen::Matrix< double, Eigen::Dynamic, 2 > nurbs::NurbsBase2D::getUVMesh ( int  num_u_points,
int  num_v_points 
)

References u_knots, and v_knots.

Referenced by interpolateUBS().

◆ interpolateUBS()

std::tuple< NurbsBase2D, Eigen::MatrixXd > nurbs::NurbsBase2D::interpolateUBS ( Eigen::Matrix< double, Eigen::Dynamic, 3 >  poles,
int  degree_u,
int  degree_v,
int  num_u_poles,
int  num_v_poles,
int  num_u_points,
int  num_v_points 
)

Member Data Documentation

◆ DDu_functions

std::vector<std::function<double(double)> > nurbs::NurbsBase2D::DDu_functions

◆ DDv_functions

std::vector<std::function<double(double)> > nurbs::NurbsBase2D::DDv_functions

◆ degree_u

int nurbs::NurbsBase2D::degree_u

◆ degree_v

int nurbs::NurbsBase2D::degree_v

◆ Du_functions

std::vector<std::function<double(double)> > nurbs::NurbsBase2D::Du_functions

◆ Dv_functions

std::vector<std::function<double(double)> > nurbs::NurbsBase2D::Dv_functions

◆ u_functions

std::vector<std::function<double(double)> > nurbs::NurbsBase2D::u_functions

◆ u_knots

◆ v_functions

std::vector<std::function<double(double)> > nurbs::NurbsBase2D::v_functions

◆ v_knots

◆ weights

Eigen::VectorXd nurbs::NurbsBase2D::weights

Referenced by interpolateUBS(), and NurbsBase2D().


The documentation for this struct was generated from the following files: