CvPoint3::Unitize()
- Defined in
- CvPoint.h, line 69
- Class
- CvPoint3
- Not a hook point
- written in a header
Code
69 inline float Unitize()70 {71 float length = Length();72 if(length != 0)73 {74 x /= length;75 y /= length;76 z /= length;77 }78 return length;79 }