method
return the symmetric velocity.
(None involves the symmetric with the origin, 0 with the x axis, 1 with the y axis, and 2 with the z axis)
The symmetric of the velocity
if axis is not None and axis < 0 or axis >= dim