Enforce some symmetry in the naming of the built-in coordinate types:
Rename Coord to Coor4D
Introduce Coor3D
Symmetric implementations of CoordinateSet for all cases of coordinate types (Coor32, Coor2D, Coor3D, Coor4D) and containers (arrays, slices and Vecs)
Blanket implementations of CoordinateSet for all tuples (T, f64, f64) and (T, f64) where T: CoordinateSet. This makes it possible to augment 2D and 3D CoordinateSets with fixed values for height and epoch.
Also, the impl blocks for the CoordinateTuple types are no longer controlled by the CoordinateTuple trait. That eliminates the need to force all dimensionalities to accept a set of 4 numbers in the constructor methods.
Enforce some symmetry in the naming of the built-in coordinate types:
Coord
toCoor4D
Coor3D
CoordinateSet
for all cases of coordinate types (Coor32, Coor2D, Coor3D, Coor4D
) and containers (arrays, slices andVec
s)CoordinateSet
for all tuples(T, f64, f64)
and(T, f64)
whereT: CoordinateSet
. This makes it possible to augment 2D and 3DCoordinateSet
s with fixed values for height and epoch.Also, the
impl
blocks for theCoordinateTuple
types are no longer controlled by theCoordinateTuple
trait. That eliminates the need to force all dimensionalities to accept a set of 4 numbers in the constructor methods.