Boost logo

Boost :

From: Martin Bonner (Martin.Bonner_at_[hidden])
Date: 2008-01-16 13:09:40


From: Barend Gehrels
> Phil Endecott wrote:
>> Barend Gehrels wrote:
>>> Or he can implement his own point type. So I think it
>>> approaches your "arbitrary structs".
>>
>> Well not if I have lat and long in my legacy code instead of x and y,

>> for example. I'm not certain how useful this is, but the GTL
>> proponents were very enthusiastic about it.
>
> Yes you can. You can define a point class like this [snip ...]

The problem surely is that lat+long are coordinates in a non-euclidean
geometry. Pythagorus's theorum is not true, two straight line segments
can have TWO points of intersection - I just don't see how it can
/begin/ to work.

-- 
Martin Bonner

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk