suanPan
NURBS Class Reference

#include <NURBS.h>

Inheritance diagram for NURBS:
Collaboration diagram for NURBS:

Public Member Functions

vec evaluate_point (double, const field< vec > &) const override
 Algorithm A3.1. More...
 
field< vec > evaluate_point_derivative (double, const field< vec > &, sword=-1) const override
 Algorithm A3.2. More...
 
vec evaluate_shape_function (double, const field< vec > &) const override
 
field< vec > evaluate_shape_function_derivative (double, const field< vec > &, sword=-1) const override
 
 BSpline (vec, uword, field< vec > &&={})
 
 BSpline (const BSpline &)=default
 
 BSpline (BSpline &&)=default
 
- Public Member Functions inherited from BSpline
 BSpline (vec, uword, field< vec > &&={})
 
 BSpline (const BSpline &)=default
 
 BSpline (BSpline &&)=default
 
BSplineoperator= (const BSpline &)=delete
 
BSplineoperator= (BSpline &&)=delete
 
virtual ~BSpline ()=default
 
void set_control_polygon (field< vec > &&)
 
void set_control_polygon (const field< vec > &)
 
const vec & get_knot () const
 
uword get_order () const
 
uword get_number_of_control_points () const
 
uvec get_all_element_span () const
 
uword evaluate_span (double) const
 Algorithm A2.1. More...
 
vec evaluate_basis (double, sword=-1) const
 Algorithm A2.2. More...
 
mat evaluate_basis_derivative (double, sword=-1, sword=-1) const
 Algorithm A2.3. More...
 
vec evaluate_point (double) const
 
field< vec > evaluate_point_derivative (double, sword=-1) const
 
vec evaluate_shape_function (double) const
 
field< vec > evaluate_shape_function_derivative (double, sword=-1) const
 
virtual vec evaluate_point (double, const field< vec > &) const
 Algorithm A3.1. More...
 
virtual field< vec > evaluate_point_derivative (double, const field< vec > &, sword=-1) const
 Algorithm A3.2. More...
 
virtual vec evaluate_shape_function (double, const field< vec > &) const
 
virtual field< vec > evaluate_shape_function_derivative (double, const field< vec > &, sword=-1) const
 

Additional Inherited Members

- Protected Member Functions inherited from NURBSBase
void initialize_binomial (sword) const
 
- Protected Attributes inherited from BSpline
const uword dimension
 
const vec knot
 
field< vec > net
 
const uword order = IGA::compute_order(knot)
 
- Protected Attributes inherited from NURBSBase
mat binomial_mat
 

Member Function Documentation

◆ BSpline() [1/3]

BSpline::BSpline ( BSpline &&  )
default

◆ BSpline() [2/3]

BSpline::BSpline ( const BSpline )
default

◆ BSpline() [3/3]

BSpline::BSpline ( vec  K,
uword  S,
field< vec > &&  N = {} 
)

◆ evaluate_point()

vec NURBS::evaluate_point ( double  u,
const field< vec > &  polygon 
) const
overridevirtual

Algorithm A3.1.

Parameters
uparameter
polygoncontrol net polygon
Returns
vector contains location of point

Reimplemented from BSpline.

Here is the call graph for this function:

◆ evaluate_point_derivative()

field< vec > NURBS::evaluate_point_derivative ( double  u,
const field< vec > &  polygon,
sword  du = -1 
) const
overridevirtual

Algorithm A3.2.

Parameters
uparameter
polygoncontrol net polygon
dudegree
Returns
matrix contains derivatives arranged in the following layout | 0th derivative | 1st derivative | 2nd derivative | ... | | x component | x component | x component | ... | | y component | y component | y component | ... | | ... | ... | ... | ... |

Reimplemented from BSpline.

Here is the call graph for this function:

◆ evaluate_shape_function()

vec NURBS::evaluate_shape_function ( double  u,
const field< vec > &  polygon 
) const
overridevirtual

Reimplemented from BSpline.

Here is the call graph for this function:

◆ evaluate_shape_function_derivative()

field< vec > NURBS::evaluate_shape_function_derivative ( double  u,
const field< vec > &  polygon,
sword  d = -1 
) const
overridevirtual

Reimplemented from BSpline.

Here is the call graph for this function:

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