def length_squared(point):
    """
    square of length from origin of a point
        Args:
            point (QPointF) the point
        Returns
            square of length
    """
    return point.x()*point.x() + point.y()*point.y()