Ray-Affine Functions: A General Dual Form to Describe Curves, Surfaces, and Volumes