WARPXM v1.10.0
Loading...
Searching...
No Matches
BsplineEvaluator2D Class Reference

The elements needed to evaluate the 2D B-spline. More...

#include <BsplineEvaluator2D.h>

Detailed Description

The elements needed to evaluate the 2D B-spline.

e.g. knot vectors, coefficients and degree of basis polynomials, and the points at which to evaluate the spline value.

Public Member Functions

 BsplineEvaluator2D (const std::string &filename)
 
void eval_spline_2d (const std::vector< real > &x, const std::vector< real > &y, std::vector< std::vector< real > > &spline_value)
 Evaluate 2D B-spline values at (x, y), given the knot vectors and coefficients stored in the class BsplineEvaluator2D previously.
 

Constructor & Destructor Documentation

◆ BsplineEvaluator2D()

BsplineEvaluator2D::BsplineEvaluator2D ( const std::string &  filename)
inline

Member Function Documentation

◆ eval_spline_2d()

void BsplineEvaluator2D::eval_spline_2d ( const std::vector< real > &  x,
const std::vector< real > &  y,
std::vector< std::vector< real > > &  spline_value 
)
inline

Evaluate 2D B-spline values at (x, y), given the knot vectors and coefficients stored in the class BsplineEvaluator2D previously.

Parameters
xThe vector of points at which to evaluate it in x.
yThe vector of points at which to evalutate it in y.
Returns
The 2D B-spline values at the given points.

The documentation for this class was generated from the following file: