Set a double2 value from the double values.
Internal types used in particular for computing the average and centroid temporal aggregates.