19 May
2010
19 May
'10
7:19 p.m.
This version serves about as well, doesn't use [units], and uses very little of [geometry]. terry
I don't know what the main purpose of Boost.Geometry is... Boost.Units is intended to ensure compile-time dimensional correctness. It is probably only useful if your code is likely to have mixed use of vectors/points having different length metrics. The code posted here has no idea if the distances are in microns or furlongs and will happily mix the two without any warning. Matthias