QUGaR 0.0.4
Loading...
Searching...
No Matches
bezier_tp_utils.hpp File Reference

Declaration of tensor-product Bezier utils. More...

Include dependency graph for bezier_tp_utils.hpp:

Go to the source code of this file.

Namespaces

namespace  qugar
 QUGaR's main namespace.
 
namespace  qugar::impl
 

Functions

template<typename T >
void qugar::impl::evaluate_Bernstein_value (const T &point, const int order, std::vector< T > &values)
 Evaluates the Bernstein polynomials of the given order.
 
template<typename T >
void qugar::impl::evaluate_Bernstein (const T &point, const int order, int der, std::vector< T > &values)
 Evaluates the Bernstein polynomials of the given order (or its derivative).
 
template<int dim, int range>
std::shared_ptr< BezierTP< dim, range > > qugar::impl::Bezier_product (const BezierTP< dim, range > &lhs, const BezierTP< dim, range > &rhs)
 Product of two Beziers.
 
template<int dim, int range, int dim2>
std::shared_ptr< BezierTP< dim, range > > qugar::impl::Bezier_composition (const BezierTP< dim2, range > &lhs, const BezierTP< dim, dim2 > &rhs)
 Computes the composition of two Beziers as rhs(lhs)
 

Detailed Description

Declaration of tensor-product Bezier utils.

Author
Pablo Antolin (pablo.nosp@m..ant.nosp@m.olin@.nosp@m.epfl.nosp@m..ch)
Date
2025-01-21