#include <vector.h>
Static Public Member Functions |
static const Vector | zero () |
Detailed Description
Member Typedef Documentation
Constructor & Destructor Documentation
synfig::Vector::Vector |
( |
| ) |
|
|
inline |
Member Function Documentation
bool synfig::Vector::is_valid |
( |
| ) |
const |
|
inline |
bool synfig::Vector::is_nan_or_inf |
( |
| ) |
const |
|
inline |
value_type& synfig::Vector::operator[] |
( |
const int & |
i | ) |
|
|
inline |
const value_type& synfig::Vector::operator[] |
( |
const int & |
i | ) |
const |
|
inline |
const Vector& synfig::Vector::operator+= |
( |
const Vector & |
rhs | ) |
|
|
inline |
const Vector& synfig::Vector::operator-= |
( |
const Vector & |
rhs | ) |
|
|
inline |
Vector synfig::Vector::operator+ |
( |
const Vector & |
rhs | ) |
const |
|
inline |
Vector synfig::Vector::operator- |
( |
const Vector & |
rhs | ) |
const |
|
inline |
Vector synfig::Vector::operator- |
( |
| ) |
const |
|
inline |
bool synfig::Vector::operator== |
( |
const Vector & |
rhs | ) |
const |
|
inline |
bool synfig::Vector::operator!= |
( |
const Vector & |
rhs | ) |
const |
|
inline |
Returns the magnitude of the vector.
References mag_squared().
Referenced by std::abs(), cairo_renddesc_untransform(), calculate_distance(), synfig::ValueNode_BLine::get_blinepoint(), synfig::ValueNode_Range::get_inverse(), synfig::ValueNode_Scale::get_inverse(), Halftone::mask(), synfig::ValueNode_DotProduct::operator()(), synfig::ValueNode_BLineCalcTangent::operator()(), synfig::ValueNode_Dynamic::operator()(), synfig::Oscillator::operator()(), radial_interpolation(), synfig::Transformation::set_matrix(), sphtrans(), and Outline::sync().
Vector synfig::Vector::norm |
( |
| ) |
const |
|
inline |
Vector synfig::Vector::perp |
( |
| ) |
const |
|
inline |
Angle synfig::Vector::angle |
( |
| ) |
const |
|
inline |
bool synfig::Vector::is_equal_to |
( |
const Vector & |
rhs | ) |
const |
|
inline |
static const Vector synfig::Vector::zero |
( |
| ) |
|
|
inlinestatic |
Vector synfig::Vector::multiply_coords |
( |
const Vector & |
rhs | ) |
const |
|
inline |
Vector synfig::Vector::divide_coords |
( |
const Vector & |
rhs | ) |
const |
|
inline |
Vector synfig::Vector::one_divide_coords |
( |
| ) |
const |
|
inline |
Vector synfig::Vector::rotate |
( |
const Angle & |
rhs | ) |
const |
|
inline |
The documentation for this class was generated from the following file: