Generalized Differentiation for Moving Objects