cgv
|
Public Member Functions | |
quadratic_bezier_curve (const PointT &p0, const PointT &p1, const PointT &p2) | |
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 start control point | |
PointT | p1 = { 0 } |
the middle control point | |
PointT | p2 = { 0 } |
the end control point | |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
PointT cgv::math::quadratic_bezier_curve< PointT >::p0 = { 0 } |
PointT cgv::math::quadratic_bezier_curve< PointT >::p1 = { 0 } |
PointT cgv::math::quadratic_bezier_curve< PointT >::p2 = { 0 } |