Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
nr-3dutils.h File Reference

Go to the source code of this file.

Classes

struct  NR::Fvector
 a type of 3 gdouble components vectors More...
 

Namespaces

namespace  NR
 

Functions

static const Fvector NR::EYE_VECTOR (0, 0, 1)
 The eye vector.
 
gdouble NR::norm (const Fvector &v)
 returns the euclidean norm of the vector v
 
void NR::normalize_vector (Fvector &v)
 Normalizes a vector.
 
gdouble NR::scalar_product (const Fvector &a, const Fvector &b)
 Computes the scalar product between two Fvectors.
 
void NR::normalized_sum (Fvector &r, const Fvector &a, const Fvector &b)
 Computes the normalized sum of two Fvectors.
 
void NR::convert_coord (double &x, double &y, double &z, Geom::Affine const &trans)
 Applies the transformation matrix to (x, y, z).