MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / normalized

Method normalized

qcustomplot/qcustomplot.cpp:164–169  ·  view source on GitHub ↗

! Returns a normalized version of this vector. The length of the returned vector is equal to 1. \see normalize, length, lengthSquared */

Source from the content-addressed store, hash-verified

162 \see normalize, length, lengthSquared
163*/
164QCPVector2D QCPVector2D::normalized() const
165{
166 QCPVector2D result(mX, mY);
167 result.normalize();
168 return result;
169}
170
171/*! \overload
172

Callers 6

drawMethod · 0.80
processRectSelectionMethod · 0.80
getBarRectMethod · 0.80
selectionHitBoxMethod · 0.80
selectTestMethod · 0.80
anchorPixelPositionMethod · 0.80

Calls 1

normalizeMethod · 0.80

Tested by

no test coverage detected