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

Function dot

qcustomplot/qcustomplot.h:415–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413 QCPVector2D normalized() const;
414 QCPVector2D perpendicular() const { return QCPVector2D(-mY, mX); }
415 double dot(const QCPVector2D &vec) const { return mX*vec.mX+mY*vec.mY; }
416 double distanceSquaredToLine(const QCPVector2D &start, const QCPVector2D &end) const;
417 double distanceSquaredToLine(const QLineF &line) const;
418 double distanceToStraightLine(const QCPVector2D &base, const QCPVector2D &direction) const;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected