Boost logo

Boost :

Subject: Re: [boost] Geometry and spatial indexes, my opinion
From: Phil Endecott (spam_from_boost_dev_at_[hidden])
Date: 2008-10-08 17:58:34


Patrick Mihelich wrote:
> I can't offhand think of a use case where the dimensions
> are of heterogeneous type

In GPS data, I store altitude to the nearest metre in an int16_t, and
altitude and longitude in degrees in 32-bit fixed-point types.
Although longitude needs one more bit than latitude I tend to use the
same type for both, so my 2d algorithms are homogeneous. But anything
that also involves altitude needs to be heterogeneous.

Phil.


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