cgv
|
Public Member Functions | |
cubic_bezier_curve (const PointT &p0, const PointT &p1, const PointT &p2, const PointT &p3) | |
template<typename ParamT = float> | |
PointT | evaluate (ParamT t) const |
template<typename ParamT = float> | |
PointT | derivative (ParamT t) const |
std::pair< PointT, PointT > | axis_aligned_bounding_box () const |
Public Attributes | |
PointT | p0 = { 0 } |
the first control point | |
PointT | p1 = { 0 } |
the second control point | |
PointT | p2 = { 0 } |
the third control point | |
PointT | p3 = { 0 } |
the fourth control point | |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
PointT cgv::math::cubic_bezier_curve< PointT >::p0 = { 0 } |
PointT cgv::math::cubic_bezier_curve< PointT >::p1 = { 0 } |
PointT cgv::math::cubic_bezier_curve< PointT >::p2 = { 0 } |
PointT cgv::math::cubic_bezier_curve< PointT >::p3 = { 0 } |