
16 Jan
2008
16 Jan
'08
6:09 p.m.
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