MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::CubicBezierCurve< V > Struct Template Reference

Cubic Bezier curve. More...

#include <MRBezier.h>

Public Types

using VTraits = VectorTraits<V>
 
using T = typename VTraits::BaseType
 

Public Member Functions

getPoint (T t) const
 computes point on the curve from parameter value
 

Static Public Member Functions

static std::array< T, 4 > getWeights (T t)
 computes weights of every control point for given parameter value, the sum of all weights is equal to 1
 

Public Attributes

p [4]
 4 control points
 

Static Public Attributes

static constexpr int elements = VTraits::size
 

Detailed Description

template<typename V>
struct MR::CubicBezierCurve< V >

Cubic Bezier curve.


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