Subject: Re: [boost] [units] spatial coordinates, vectors, x, y, z, something like that
From: Mateusz Åoskot (mateusz_at_[hidden])
Date: 2011-11-04 11:34:58
On 4 November 2011 15:28, Janek Kozicki <janek_listy_at_[hidden]> wrote:
> I want to use boost::units to calculate diffraction & interference
> patterns and wave propagation in 3D.
> I need some way to represent points in spatial 3D space with 'length' dimension.
> What do you guys use for that?
> I need them to work with 'frequency' & 'speed' dimensions also.
> Don't tell me that I need to write my own 'vector' class ?
boost::array<YourCoordianteType, 4> p;
YourCoordianteType, YourCoordianteType> p;
-- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk