Closed jfirebaugh closed 8 years ago
cc @artemp @springmeyer
@jfirebaugh - Yes, good call and I already had to do it in https://github.com/mapnik/mapnik/blob/geometry-refactor/include/mapnik/geometry/point.hpp#L31.
I'd like to keep future developer happy - why don't we shorten name to be coord_type
to avoid extra typing ?
Since it's something that you're likely reading much more often then typing, I think it's better to use the full word here. It's only one more character than container_type
which we're not abbreviating.
👍
It would be useful if all geometry types had a member type identifying the
T
template parameter.point
currently usesvalue_type
for this, but that name is already taken for the types that inherit fromvector
such asline_string
andmulti_*
. Let's usecoordinate_type
instead.