OEGeom3DSetLength

template<class T>
void OEGeom3DSetLength(T *x, T len)

Sets the length (magnitude) of the three-element vector x to the specified value len.