cgv
Loading...
Searching...
No Matches
cgv::math::cubic_hermite_curve< PointT > Struct Template Reference
Inheritance diagram for cgv::math::cubic_hermite_curve< PointT >:
cgv::math::parametric_curve< cubic_hermite_curve< PointT > >

Public Member Functions

 cubic_hermite_curve (const PointT &p0, const PointT &m0, const PointT &p1, const PointT &m1)
 
 cubic_hermite_curve (const hermite_node< PointT > &n0, const hermite_node< PointT > &n1)
 
template<typename ParamT = float>
PointT evaluate (ParamT t) const
 

Public Attributes

hermite_node< PointT > n0
 the start node
 
hermite_node< PointT > n1
 the end node
 

Detailed Description

template<typename PointT>
struct cgv::math::cubic_hermite_curve< PointT >

Definition at line 18 of file hermite.h.

Constructor & Destructor Documentation

◆ cubic_hermite_curve() [1/3]

template<typename PointT >
cgv::math::cubic_hermite_curve< PointT >::cubic_hermite_curve ( )
inline

Definition at line 24 of file hermite.h.

◆ cubic_hermite_curve() [2/3]

template<typename PointT >
cgv::math::cubic_hermite_curve< PointT >::cubic_hermite_curve ( const PointT &  p0,
const PointT &  m0,
const PointT &  p1,
const PointT &  m1 
)
inline

Definition at line 25 of file hermite.h.

◆ cubic_hermite_curve() [3/3]

template<typename PointT >
cgv::math::cubic_hermite_curve< PointT >::cubic_hermite_curve ( const hermite_node< PointT > &  n0,
const hermite_node< PointT > &  n1 
)
inline

Definition at line 26 of file hermite.h.

Member Function Documentation

◆ evaluate()

template<typename PointT >
template<typename ParamT = float>
PointT cgv::math::cubic_hermite_curve< PointT >::evaluate ( ParamT  t) const
inline

Definition at line 29 of file hermite.h.

Member Data Documentation

◆ n0

template<typename PointT >
hermite_node<PointT> cgv::math::cubic_hermite_curve< PointT >::n0

the start node

Definition at line 20 of file hermite.h.

◆ n1

template<typename PointT >
hermite_node<PointT> cgv::math::cubic_hermite_curve< PointT >::n1

the end node

Definition at line 22 of file hermite.h.


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