Logo Search packages:      
Sourcecode: inkscape version File versions

NR Namespace Reference


Detailed Description

Implement NR functions and methods


Classes

class  ConvexHull
class  Eigen
class  IPoint
class  IRect
class  IsNot
class  Matrix
class  Maybe
struct  MaybeTraits
struct  MaybeTraits< T & >
struct  Nothing
class  Point
class  Rect
class  rotate
class  scale
class  translate

Typedefs

typedef double Coord
typedef gint32 ICoord

Enumerations

enum  Dim2 { X = 0, Y }

Functions

Point abs (Point const &b)
void assert_close (Matrix const &a, Matrix const &b)
NR::Coord atan2 (Point const p)
Coord cross (Point const &a, Point const &b)
Coord distance (Point const &a, Point const &b)
Coord dot (Point const &a, Point const &b)
Matrix elliptic_quadratic_form (Matrix const &m)
double expansion (Matrix const &m)
Matrix from_basis (const Point x_basis, const Point y_basis, const Point offset=Point(0, 0))
translate get_translation (Matrix const &m)
Matrix identity ()
bool is_unit_vector (Point const &p)
bool is_zero (Point const &p)
Coord L1 (Point const &p)
Coord L2 (Point const &p)
Point Lerp (double const t, Point const a, Point const b)
NR::Coord LInfty (Point const &p)
bool matrix_equalp (Matrix const &m0, Matrix const &m1, NR::Coord const epsilon)
bool operator!= (translate const &a, translate const &b)
bool operator!= (Point const &a, Point const &b)
template<typename T>
bool operator!= (T t, Nothing n)
bool operator!= (Matrix const &a, Matrix const &b)
Point operator* (Point const &v, translate const &t)
translate operator* (translate const &a, translate const &b)
Matrix operator* (translate const &t, Matrix const &m)
scale operator* (scale const &a, scale const &b)
Point operator* (Point const &p, scale const &s)
rotate operator* (rotate const &a, rotate const &b)
Point operator* (Point const &v, rotate const &r)
Point operator* (double const s, Point const &b)
Matrix operator* (Matrix const &m, translate const &t)
Matrix operator* (Matrix const &a, NRMatrix const &b)
Matrix operator* (Matrix const &a, Matrix const &b)
Point operator* (Point const &v, Matrix const &m)
Point operator+ (Point const &a, Point const &b)
Point operator- (Point const &a)
Point operator- (Point const &a, Point const &b)
scale operator/ (scale const &numer, scale const &denom)
rotate operator/ (rotate const &numer, rotate const &denom)
Point operator/ (Point const &b, double const d)
std::ostream & operator<< (std::ostream &out_file, const NR::Rect &in_rect)
std::ostream & operator<< (std::ostream &out_file, const NR::Point &in_pnt)
bool operator== (translate const &a, translate const &b)
bool operator== (Point const &a, Point const &b)
template<typename T>
bool operator== (T t, Nothing n)
bool operator== (Matrix const &a, Matrix const &b)
Point operator^ (Point const &a, Point const &b)
bool point_equalp (Point const &a, Point const &b, double const eps)
Point rot90 (Point const &p)
Matrix transform (Matrix const &m)
bool transform_equalp (Matrix const &m0, Matrix const &m1, NR::Coord const epsilon)
bool translate_equalp (Matrix const &m0, Matrix const &m1, NR::Coord const epsilon)
Point unit_vector (Point const &a)


Generated by  Doxygen 1.6.0   Back to index