Inkscape
Vector Graphics Editor
|
Function that interpolates linearly between two values. More...
#include <linear.h>
Public Types | |
typedef Coord | output_type |
Public Member Functions | |
Linear () | |
Linear (Coord aa, Coord b) | |
Linear (Coord aa) | |
Coord | operator[] (unsigned i) const |
Coord & | operator[] (unsigned i) |
bool | isZero (Coord eps=EPSILON) const |
bool | isConstant (Coord eps=EPSILON) const |
bool | isFinite () const |
Coord | at0 () const |
Coord & | at0 () |
Coord | at1 () const |
Coord & | at1 () |
Coord | valueAt (Coord t) const |
Coord | operator() (Coord t) const |
std::vector< Coord > | valueAndDerivatives (Coord t, unsigned n) |
SBasis | toSBasis () const |
OptInterval | bounds_exact () const |
OptInterval | bounds_fast () const |
OptInterval | bounds_local (double u, double v) const |
double | tri () const |
double | hat () const |
Linear & | operator+= (Linear const &other) |
Linear & | operator-= (Linear const &other) |
Linear & | operator+= (Coord x) |
Linear & | operator-= (Coord x) |
Linear & | operator*= (Coord x) |
Linear & | operator/= (Coord x) |
Linear | operator- () const |
bool | operator== (Linear const &other) const |
Public Attributes | |
Coord | a [2] |
typedef Coord Geom::Linear::output_type |
|
inline |
Definition at line 77 of file linear.h.
References a.
Referenced by Geom::Piecewise< T >::unitVector().
|
inline |
Definition at line 79 of file linear.h.
References a.
Referenced by Geom::Piecewise< T >::unitVector().
|
inline |
|
inline |
Definition at line 99 of file linear.h.
References bounds_exact().
|
inline |
Definition at line 74 of file linear.h.
References a, and Geom::are_near().
Definition at line 73 of file linear.h.
References a, and Geom::are_near().
Referenced by Geom::reciprocal().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 258 of file sbasis.h.
References Geom::SBasis::SBasis().
|
inline |
Definition at line 102 of file linear.h.
References a.
Referenced by Geom::reciprocal(), and Geom::sin().
Definition at line 82 of file linear.h.
References a, and Geom::lerp().
Referenced by bounds_local(), operator()(), Geom::portion(), and valueAndDerivatives().
Coord Geom::Linear::a[2] |
Definition at line 57 of file linear.h.
Referenced by at0(), at0(), at1(), at1(), bounds_exact(), hat(), isConstant(), isFinite(), isZero(), Linear(), Linear(), Linear(), operator*=(), operator+=(), operator+=(), operator-(), operator-=(), operator-=(), operator/=(), operator==(), operator[](), operator[](), tri(), valueAndDerivatives(), and valueAt().