First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered Feb 10 '13

berak gravatar image

as of 2.4.2, it seems to work with all sorts of points here, so an upgrade might help.

in the meantime, you can calc your own norm:

Point3f p(17,1,8);
//double l = norm(p);
double l = sqrt( p.x*p.x + p.y*p.y + p.z*p.z );