Point.py - Extension of QPointF which adds a few missing methods. Copyright 2010 Luke Campagnola Distributed under MIT/X11 license. See license.txt for more information.
- class pyqtgraph.Point.Point(*args)#
Extension of QPointF which adds a few missing methods.
- angle(a, units='degrees')#
Returns the angle in degrees from the vector a to self.
Returns the cross product of a and this Point
Returns the dot product of a and this Point.
Returns the vector length of this Point.
Returns a vector in the same direction with unit length.
Return the projection of this vector onto the vector b